/*
font clump
@include clamp_fontsize(16, 20, 375, 1440, );
@include clamp_fontsize(min size, max size, min width, maxiwdth);
*/
@media screen and (max-width: 767px) {
  #toppage {
    background: #EEF7DC;
  }
}

#toppage #bnr {
  z-index: 1;
  position: relative;
  padding-top: 10px;
}
@media screen and (max-width: 767px) {
  #toppage #bnr {
    padding-top: 20px;
  }
}
#toppage #bnr .bnr-anc {
  display: block;
}
#toppage #bnr .bnr-anc:hover {
  opacity: .8;
}
#toppage #bnr .bnr-pic {
  display: block;
}
#toppage #bnr .bnr-pic > img {
  display: block;
  width: 100%;
  height: auto;
}
#toppage #bnr .innertxt{
	margin-top:10px;
	font-weight:bold;
	font-size:140%;
	color:#22841E;
	border-bottom:solid 1px #22841E;
}
#toppage #bnr .innertxt:hover{
	border:none;
}
@media screen and (max-width: 767px) {
  #toppage #bnr .innertxt{
    font-size:100%;
  }
}
#toppage #bg {
  background: #EEF7DC url(../image/top/header-bg.svg) no-repeat center top;
  background-size: 100% auto;
  position: relative;
  margin-top: -20px;
}
@media screen and (max-width: 767px) {
  #toppage #bg {
    background: none;
    margin-top: 0;
  }
}
#toppage #visual {
  padding-top: 80px;
  max-width: 1366px;
  margin: 0 auto 160px;
}
@media screen and (max-width: 767px) {
  #toppage #visual {
    padding-top: 0;
    margin-bottom: 80px;
  }
}
#toppage #visual .layout {
  display: flex;
}
#toppage #visual .layout .text {
  width: 38%;
  padding-left: 3%;
}
@media screen and (max-width: 767px) {
  #toppage #visual .layout .text {
    width: 100%;
    padding-left: 0;
  }
}
#toppage #visual .layout .text p {
  padding-left: 30px;
  margin-bottom: 25px;
}
@media screen and (max-width: 767px) {
  #toppage #visual .layout .text p {
    padding: 0 5%;
  }
}
#toppage #visual .layout .text .btns {
  position: absolute;
  padding-left: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}
@media screen and (max-width: 767px) {
  #toppage #visual .layout .text .btns {
    position: static;
    padding-left: 0;
  }
}
#toppage #visual .layout .text .btns li {
  width: calc(50% - 15px);
  min-width: 210px;
}
@media screen and (max-width: 767px) {
  #toppage #visual .layout .text .btns li {
    width: 250px;
    min-width: 0;
  }
}
#toppage #visual .layout .text .btns li a span {
  margin-right: 5px;
}
#toppage #visual .layout .image {
  width: 62%;
  padding-right: 1%;
}
#toppage h2 {
  position: relative;
  text-align: center;
  font-size: 4.3rem;
  margin-bottom: 77px;
  padding-bottom: 20px;
}
@media screen and (max-width: 767px) {
  #toppage h2 {
    font-size: 2.6rem;
    padding-bottom: 10px;
    margin-bottom: 30px;
  }
}
#toppage h2::before {
  content: "";
  display: block;
  position: absolute;
  width: 20px;
  height: 8px;
  background-color: #22841E;
  border-radius: 4px 0 0 4px;
  bottom: 0;
  left: 50%;
  transform: translateX(-100%);
}
@media screen and (max-width: 767px) {
  #toppage h2::before {
    height: 5px;
  }
}
#toppage h2::after {
  content: "";
  display: block;
  position: absolute;
  width: 20px;
  height: 8px;
  background-color: #53B134;
  border-radius: 0 4px 4px 0;
  bottom: 0;
  left: 50%;
}
@media screen and (max-width: 767px) {
  #toppage h2::after {
    height: 5px;
  }
}
#toppage #about {
  padding-top: 80px;
  margin-bottom: 130px;
}
@media screen and (max-width: 767px) {
  #toppage #about {
    padding-top: 45px;
    margin-bottom: 60px;
  }
}
#toppage #about .inbox {
  background-color: #fff;
  border-radius: 30px;
  padding: 56px 5%;
}
@media screen and (max-width: 767px) {
  #toppage #about .inbox {
    padding: 23px 5%;
  }
}
#toppage #about .inbox h3 {
  text-align: center;
  font-size: 3.2rem;
  margin-bottom: 30px;
}
@media screen and (max-width: 767px) {
  #toppage #about .inbox h3 {
    font-size: 2.1rem;
    margin-bottom: 20px;
  }
}
#toppage #about .inbox h3 span {
  position: relative;
  background: linear-gradient(transparent 82%, #FFF395 82%);
}
#toppage #about .inbox .lead {
  text-align: center;
  margin-bottom: 50px;
}
@media screen and (max-width: 767px) {
  #toppage #about .inbox .lead {
    text-align: left;
    font-size: 1.5rem;
  }
  #toppage #about .inbox .lead br {
    display: none;
  }
}
#toppage #about .inbox .image {
  margin-bottom: 50px;
}
#toppage #about .inbox .more a {
  width: 210px;
  margin: auto;
}
@media screen and (max-width: 767px) {
  #toppage #about .inbox .more a {
    width: auto;
    max-width: 250px;
  }
}
#toppage #flow {
  margin-bottom: 100px;
}
@media screen and (max-width: 767px) {
  #toppage #flow {
    margin-bottom: 60px;
  }
}
#toppage #flow .lead {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
}
@media screen and (max-width: 767px) {
  #toppage #flow .lead {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
}
#toppage #flow .layout {
  display: flex;
  gap: 7%;
}
@media screen and (max-width: 767px) {
  #toppage #flow .layout {
    display: block;
  }
}
#toppage #flow .layout .inbox {
  position: relative;
  width: 50%;
  background-color: #fff;
  border-radius: 30px;
  padding: 43px 5%;
}
@media screen and (max-width: 767px) {
  #toppage #flow .layout .inbox {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 30px;
  }
}
#toppage #flow .layout .inbox::before {
  content: "";
  display: block;
  position: absolute;
  width: 100px;
  height: 10px;
  border-radius: 5px;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
}
@media screen and (max-width: 767px) {
  #toppage #flow .layout .inbox::before {
    width: 75px;
    height: 5px;
  }
}
#toppage #flow .layout .inbox.box1::before {
  background-color: #22841E;
}
#toppage #flow .layout .inbox.box1 h3 {
  color: #22841E;
}
#toppage #flow .layout .inbox.box2::before {
  background-color: #53B134;
}
#toppage #flow .layout .inbox.box2 h3 {
  color: #53B134;
}
#toppage #flow .layout .inbox .image {
  text-align: center;
}
#toppage #flow .layout .inbox .image img {
  max-width: 187px;
}
@media screen and (max-width: 767px) {
  #toppage #flow .layout .inbox .image img {
    width: 50%;
  }
}
#toppage #flow .layout .inbox h3 {
  font-size: 2.8rem;
  text-align: center;
}
@media screen and (max-width: 767px) {
  #toppage #flow .layout .inbox h3 {
    font-size: 2.1rem;
  }
}
#toppage #flow .layout .inbox p {
  margin-bottom: 25px;
}
@media screen and (max-width: 767px) {
  #toppage #flow .layout .inbox p {
    font-size: 1.5rem;
  }
}
#toppage #flow .layout .inbox .btn {
  width: 210px;
  margin: auto;
}
@media screen and (max-width: 767px) {
  #toppage #flow .layout .inbox .btn {
    width: auto;
    max-width: 250px;
  }
}
#toppage #flow .layout .inbox .btn-gray {
  margin-bottom: 18px;
}
#toppage #flow .next {
  padding-top: 50px;
  text-align: center;
  max-width: 752px;
  margin: auto;
}
@media screen and (max-width: 767px) {
  #toppage #flow .next {
    padding-top: 0px;
  }
}
#toppage #flow .next .arrow {
  margin-bottom: 35px;
}
@media screen and (max-width: 767px) {
  #toppage #flow .next .arrow {
    width: 48px;
    margin: 0 auto 15px;
  }
}
#toppage #flow .next .inbox {
  background-color: #fff;
  border-radius: 30px;
  padding: 43px 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 2rem;
}
@media screen and (max-width: 767px) {
  #toppage #flow .next .inbox {
    padding: 23px 5%;
    font-size: 1.5rem;
    display: block;
  }
}
#toppage #flow .next .inbox span {
  font-weight: bold;
}
@media screen and (max-width: 767px) {
  #toppage #flow .next .inbox span {
    display: block;
    margin-bottom: 15px;
  }
}
#toppage #flow .next .inbox .btn {
  width: 260px;
}
@media screen and (max-width: 767px) {
  #toppage #flow .next .inbox .btn {
    width: 100%;
  }
}
#toppage #matching {
  background-color: #F8FCF0;
  padding: 80px 0 70px;
}
@media screen and (max-width: 767px) {
  #toppage #matching {
    padding: 45px 0;
  }
}
#toppage #matching .slider {
  position: relative;
}
#toppage #matching .slider .box {
  padding: 0 15px;
}
#toppage #matching .slider .box .image {
  overflow: hidden;
}
#toppage #matching .slider .box:nth-child(4n+1) .image {
  border-radius: 100px 30px 30px 30px;
}
#toppage #matching .slider .box:nth-child(4n+2) .image {
  border-radius: 30px 30px 100px 30px;
}
#toppage #matching .slider .box:nth-child(4n+3) .image {
  border-radius: 30px 100px 30px 30px;
}
#toppage #matching .slider .box:nth-child(4n+4) .image {
  border-radius: 30px 30px 30px 100px;
}
#toppage #matching .slider .box .date {
  font-size: 1.4rem;
}
#toppage #matching .slider .box p {
  font-weight: bold;
  color: #22841E;
}
#toppage #matching .slider .slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 66px;
  height: 66px;
  z-index: 1;
  font-size: 0;
  background: url(../image/slider-arrow.svg) no-repeat center center;
  cursor: pointer;
}
#toppage #matching .slider .slick-arrow::before {
  display: none;
}
#toppage #matching .slider .slick-arrow.slick-prev {
  left: 2%;
  transform: translateY(-50%) rotate(180deg);
  transform-origin: center center;
}
#toppage #matching .slider .slick-arrow.slick-next {
  right: 2%;
}
#toppage #news {
  padding: 80px 0;
  background: #fff
}
@media screen and (max-width: 767px) {
  #toppage #news {
    padding: 45px 0;
  }
}
#toppage #news ul {
  border-top: 1px solid #22841E;
  margin-bottom: 68px;
}
@media screen and (max-width: 767px) {
  #toppage #news ul {
    margin-bottom: 30px;
  }
}
#toppage #news ul li {
  border-bottom: 1px solid #22841E;
  padding: 35px 0;
  display: flex;
}
#toppage #news ul li a{
  color:#22841E;
}
#toppage #news ul li a:hover{
  text-decoration: underline;
}
@media screen and (max-width: 767px) {
  #toppage #news ul li {
    display: block;
    padding: 15px 0;
  }
}
#toppage #news ul li .date {
  width: 180px;
  padding-left: 20px;
}
@media screen and (max-width: 767px) {
  #toppage #news ul li .date {
    display: block;
    width: 100%;
    padding-left: 0;
    font-size: 1.5rem;
  }
}
#toppage #news ul li .text {
  flex: 1;
}
@media screen and (max-width: 767px) {
  #toppage #news ul li .text {
    display: block;
    width: 100%;
    font-size: 1.5rem;
  }
}
#toppage #news .btn {
  width: 210px;
  margin: auto;
}
@media screen and (max-width: 767px) {
  #toppage #news .btn {
    width: 100%;
    max-width: 250px;
  }
}



.white-popup {
  position: relative;
  background: #FFF;
  padding: 20px 30px;
  width: auto;
  max-width: 500px;
  margin: 20px auto;
  border-radius: 10px;
}

.mfp-fade.mfp-bg {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

.mfp-fade.mfp-ready.mfp-bg {
  opacity: 0.8;
}

.mfp-fade.mfp-removing.mfp-bg {
  opacity: 0;
}
.my-popup .image{
  text-align: center;
  width:50%;
  max-width:180px;
  margin:0 auto;
}
.my-popup h3{
  color:#22841E;
  font-size: 2.8rem;
  font-weight: bold;
  text-align: center;
}
#my-popup-01 h3,
#my-popup-01 h4{
  color:#22841E;
}
#my-popup-02 h3,
#my-popup-02 h4{
  color:#53B134;
}
#my-popup-01 .exsample {
  border-color: #22841E;
}
#my-popup-01 .exsample h4::after {
  background-color: #22841E;
}
#my-popup-02 .exsample {
  border-color: #53B134;
}
#my-popup-02 .exsample h4::after {
  background-color: #53B134;
}
.my-popup .exsample {
  border-bottom: 1px solid #22841E;
  margin-bottom: 30px;
  margin-top:1em;
}
.my-popup .exsample h4 {
  position: relative;
}
.my-popup .exsample h4 span {
  position: relative;
  z-index: 1;
  display: inline-block;
  background-color: #fff;
}
.my-popup .exsample h4::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 1px;
  top: 50%;
  left: 0;
  background-color: #22841E;
}
.my-popup .exsample p {
  margin-bottom: 10px;
}



#toppage #maintenance {
  padding: 80px 0;
  background: #fff;
  text-align: center;
}
@media screen and (max-width: 767px) {
  #toppage #maintenance {
    padding: 45px 0;
  }
}
#toppage #maintenance  h3 {
  font-size: 2rem;
  margin-bottom: 30px;
}
@media screen and (max-width: 767px) {
  #toppage #maintenance h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
}

#toppage #maintenance .lead {
}
@media screen and (max-width: 767px) {
  #toppage #maintenance .lead {
  }
}

#toppage #maintenance .detail {
  font-size: 1.4rem;
  margin-top: 30px;
}
#toppage #maintenance .detail a{
	color:#22841E;
	text-decoration: underline;
}
#toppage #maintenance .detail a:hover{
  text-decoration: none;
}
@media screen and (max-width: 767px) {
  #toppage #maintenance .detail {
    margin-top: 20px;
  }
}
