/* hero */

.hero {
  padding: 1em 0;
  background: linear-gradient(transparent 84%, #dff4e8 84%);
}

.hero .flex {
  gap: 3em;
  justify-content: center;
  flex-direction: row-reverse;
  padding-bottom: 40px;
}

h1 {
  color: #000000;
  font-size: 26px;
  display: inline-block;
  margin: auto;
}

h1 div {
  margin-bottom: 0.8em;
}

.main-title {
  width: 36%;
  display: flex;
  flex-direction: column;
  gap: 1em;
  font-size: 20px;
  margin-top: -1em;
}

.main-image {
  width: 48%;
}

.main-image img {
  border-radius: 28px;
}

.hero-contact {
  text-align: center;
  font-family: "Zen Maru Gothic", serif;
}

.hero-contact-title {
  position: relative;
  background-color: #f88391;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
  padding: 0.25em 1em;
  width: 80%;
  border-radius: 20px;
  font-weight: 500;
  font-size: 18px;
}

.hero-contact-title:before,
.hero-contact-title:after {
  content: "";
  display: inline-block;
  width: 0.6em;
  height: 0.6em;
  background: #fff;
  transform: rotate(45deg);
}

.hero-contact-box {
  background-color: #faeff0;
  margin-top: -1.1em;
  padding: 1em;
  color: #7f735c;
  border-radius: 20px;
  border-bottom: solid #f7dfe1 6px;
}

.hero-contact-box h2 {
  font-size: 20px;
  font-weight: 600;
}

.hero-contact-box h2 strong {
  color: #f88391;
}

.hero-contact-cont {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1em;
}

.hero-telnum {
  font-family: "Lato", sans-serif;
  display: flex;
  align-items: center;
  gap: 0.2em;
  font-size: 30px;
}

.hero-telnum img {
  width: auto;
}
.hero-mail,
.hero-line {
  background-color: #fff;
  padding: 0.8em;
  border-radius: 10px;
  display: flex;
  align-items: center;
  height: 3em;
}

.hero-mail img {
  width: auto;
  height: 26px;
}

.hero-line img {
  width: auto;
  height: 32px;
}

/* slick */
.slick-box {
  background: linear-gradient(transparent 50%, #f2faef 50%);
  margin-top: -40px;
  padding-bottom: 20px;
  z-index: 100;
  position: relative;
  text-align: center;
  font-family: "Zen Maru Gothic", serif;
}

.center-slick {
  background: linear-gradient(
    transparent 20%,
    #58c280 20%,
    #58c280 80%,
    transparent 80%
  );
  background: linear-gradient(
    transparent 16%,
    #74d699 16%,
    #74d699 84%,
    transparent 84%
  );
  /* background: linear-gradient(transparent 8%, #F3FAEF 8%, #F3FAEF 78%, transparent 78%); */
  /* padding-bottom: 20px; */
}

.slick-cont {
  max-width: 1280px;
  margin: auto;
}

.ch-cards {
  background-color: #fff;
  border: solid #dff4e8 2px;
  border-radius: 50%;
  color: #58c280;
  font-weight: 600;
  width: 240px;
  height: 240px;
  margin: auto;
  font-size: 17px;
  transition: 0.5s;
}

.ch-card {
  max-width: 66%;
  margin: auto;
  line-height: 1.5;
}

.ch-recover {
  background-image: linear-gradient(to right, #58c280 4px, transparent 2px);
  background-size: 10px 2px;
  background-repeat: repeat-x;
  background-position: left bottom;
  display: inline-block;
  margin-top: 0;
}

.ch-title {
  min-height: 2.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1em;
  line-height: 1.3;
}

.ch-recover strong {
  font-size: 30px;
}

.slick-slide {
  transform: scale(0.8);
  transition: 0.2s;
}

.slick-current {
  transform: scale(1);
  /* animation: .5s .2s kiran linear; */
}

.slick-current .ch-cards {
  overflow: hidden;
  position: relative;
  background-color: #4bb774;
  color: #fff;
}

.slick-current .ch-cards .ch-recover {
  background-image: linear-gradient(to right, #fff 4px, transparent 2px);
  background-size: 10px 2px;
  background-repeat: repeat-x;
  background-position: left bottom;
}

.slick-current .ch-cards::before {
  background-color: #fff;
  content: "";
  display: block;
  position: absolute;
  top: -100px;
  left: 0;
  width: 30px;
  height: 100%;
  opacity: 0;
  transition: cubic-bezier(0.32, 0, 0.67, 0);
  animation: kiran 1s 0.3s linear;
}

@keyframes kiran {
  0% {
    transform: scale(2) rotate(45deg);
    opacity: 0;
  }
  20% {
    transform: scale(20) rotate(45deg);
    opacity: 0.6;
  }
  40% {
    transform: scale(30) rotate(45deg);
    opacity: 0.4;
  }
  80% {
    transform: scale(45) rotate(45deg);
    opacity: 0.2;
  }
  100% {
    transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}

@keyframes poyon {
  0% {
    transform: scale(1, 1);
  }
  10% {
    transform: scale(1, 1);
  }
  25% {
    transform: scale(1, 0.9);
  }
  40% {
    transform: scale(0.95, 1);
  }
  55% {
    transform: scale(0.98, 1);
  }
  70% {
    transform: scale(1, 1);
  }
  85% {
    transform: scale(0.98, 1);
  }
  100% {
    transform: scale(1, 1);
  }
}

/* section */

section h2 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 1.2em;
  color: #7f735c;
  position: relative;
  padding-bottom: 0.5em;
  font-size: 1.5em;
  font-weight: 500;
}

section:not(.sec1) h2::after {
  content: "";
  background-image: url(img/title_bar.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  width: 100%;
  height: 4px;
  left: 0;
  bottom: 0;
}

section .inner {
  padding: 52px 0;
}

section .flex {
  justify-content: center;
  text-align: center;
  gap: 2em;
}
.white-box {
  border-radius: 26px;
  background: #fff;
  box-shadow: 0px 8px 10px rgba(181, 247, 169, 0.3);
  width: 100%;
  margin: 0.5em auto;
}

/* sec1 */
/* .sec1 .inner {
  margin-top: -30px;
} */

.sec1 h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5a5a5a;
}

section.sec1 h2:before,
section.sec1 h2:after {
  display: inline-block;
  border-top: 1px solid;
  content: "";
  width: 1.5em; /* 線の長さ */
}

.sec1 h2:before {
  margin-right: 1em; /* 文字の右隣 */
}

.sec1 h2:after {
  margin-left: 1em; /* 文字の左隣 */
}

.sec1 .flex {
  align-items: stretch;
}

.sec1 .flex a {
  background-color: #f4f4f4;
  border-radius: 30px;
  padding: 2em 2em 1.6em;
  color: #57c280;
  width: 20%;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  flex-direction: column;
}

.sec1 .flex a .img-icon {
  max-height: 120px;
  width: auto;
  margin: auto;
}

.sec1 .flex a .img-icon img {
  max-height: 120px;
  width: auto;
  margin: auto;
}

/* flows */

.flows {
  text-align: center;
  font-family: "Zen Maru Gothic", serif;
  gap: 5%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flows p {
  background-color: #57c280;
  color: #f2faef;
  position: relative;
  width: 12%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border-radius: 20px 0 0 20px;
  position: relative;
}

.flows p::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 0;
  box-sizing: border-box;
  width: 20px;
  height: 100%;
  border-style: solid;
  border-top: 50px solid transparent;
  border-bottom: 50px solid transparent;
  border-left: 20px solid #57c280;
  border-right: 0;
}

/* chose-cat */

section.chose-cat h2::after {
  background-image: url(img/title_bar_g.svg);
}

.chose-cat .flex {
  flex-wrap: wrap;
  width: 70%;
  margin: 10px auto;
  gap: 2em 2.5em;
}

.chose-cat .flex a {
  width: 16.5%;
  font-size: 18px;
}

.chose-cat a {
  color: #5a5a5a;
  font-size: 18px;
  font-weight: bold;
}

.chose-cat a p {
  margin-top: 1em;
  background-color: #fff;
  border-radius: 50px;
  padding: 0.3em;
  transition: 0.3s;
}

.chose-cat a img {
  border-radius: 50%;
}
.chose-cat .white-box .more {
  text-align: center;
  margin: 3em auto 0;
}

/* support */
.support {
  background-image: url(img/sec_bg.jpg);
  background-size: cover;
  margin: 5em auto 0;
}

.support h2 {
  color: #fff;
}

.support h2:after {
  display: none;
}

.support .flex {
  flex-wrap: wrap;
  align-items: stretch;
}

.support .flex a {
  width: 24%;
  background-color: #fff;
  text-align: center;
  padding: 1.8em;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 1em;
  font-weight: bold;
  font-size: 19px;
}

.support .flex a img {
  max-height: 100px;
  max-width: 80%;
  margin: auto;
  width: auto;
}

.support .flex a p {
  margin: 0;
  line-height: 1.5;
}

/* simulator */
.simulator {
  border-top: solid 3em #ede7db;
  background-color: #f6f1e7;
}

/* front-menu */
section .front-info-box {
  width: 64%;
  padding: 52px 0;
}

section .front-info-box p {
  line-height: 1.6;
}

section .front-menu-list {
  margin: auto;
  text-align: center;
  display: flex;
  justify-content: center;
}

.front-menu-list .grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, 23%);
  justify-content: center;
  grid-gap: 1rem;
}

.front-menu-list a {
  background-color: #58c280;
  border-bottom: solid 4px #2cac5c;
  color: #fff;
  padding: 1em 1.6em;
  border-radius: 14px;
  position: relative;
}

.front-menu-list a::after {
  content: "";
  background-image: url(img/arrow_w.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: 0.4em;
  position: absolute;
  right: 1em;
  top: calc(50% - 0.5em);
}

.front-info-box .more {
  text-align: right;
  margin: 2em 2em 0;
  font-size: 18px;
}

.front-info-box .more a {
  text-decoration: underline;
}

.front-info-box .more .arrow-ico::after {
  background-image: url(img/arrow_g.svg);
}

.front-info-box {
  width: 70%;
  margin: 50px auto;
}

/* post-links */
.g-border {
  width: 100%;
  height: 60px;
  background-color: #dff4e8;
}

.white-sec {
  background-color: #fff;
}

.white-sec h2 {
  color: #5a5a5a;
}

section.white-sec h2:after {
  background-image: url(img/title_bar_g.svg);
}

.post-links a {
}

/* tag-list */

section .tag-list {
  flex-wrap: wrap;
  gap: 1em;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}

.tag-list a {
  color: #57c280;
  background-color: #fafafa;
  border-radius: 80px;
  padding: 0.7em 2em;
  border: solid 1px;
}

/* 記事一覧 */

.post-links {
  padding: 4px 0;
}

.custom-page-list {
  margin: 20px 0 80px;
}

.page-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2em 0;
  border-bottom: 1px dotted #ddd;
  gap: 2em;
}

.page-item p {
  transition: 0.2s;
}

.page-date {
  color: #666;
  font-size: 0.9em;
  min-width: 100px;
}

.page-titles {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
}

.page-title {
  text-decoration: none;
  position: relative;
  text-align: left;
  margin: 0;
}

.page-item:hover p {
  color: #58c280;
}

.page-title .arrow {
  margin-left: 8px;
  color: #999;
  font-weight: bold;
  transition: transform 0.2s;
  font-size: 1.2em;
}

.page-title:hover .arrow {
  transform: translateX(3px);
}

.view-all {
  margin-top: 2em;
  text-align: center;
}

.view-all-button {
  display: inline-block;
  padding: 8px 20px;
  background: #ffffff;
  border: solid #58c289;
  color: #58c289;
  text-decoration: none;
  border-radius: 55px;
  font-size: 0.9em;
}

.view-all-button:hover {
  background: #58c28920;
}

/* * * * * * * * * * * * * * * * * * * *
 ani 
 * * * * * * * * * * * * * * * * * * * */

.sec1 .flex a:hover {
  background-color: #dff4e8;
}

.support .flex a:hover {
  background-color: #def1fd;
}

.more a:hover {
  text-decoration: none;
}

/* .chose-cat a img{
  object-fit: cover;
}

.chose-cat a:hover img{
  zoom: 1.2;
} */

/* .chose-cat a:hover {
  color: #f88391;
} */

.chose-cat a:hover p {
  color: #f88391;
}

.front-menu-list a:hover {
  border: none;
  margin-top: 2px;
  background-color: #68d592;
}

.tag-list a:hover {
  background-color: #d0f5de;
}

/* * * * * * * * * * * * * * * * * * * *
 responsive
 * * * * * * * * * * * * * * * * * * * */

@media screen and (max-width: 1080px) {
  .sec1 .flex a {
    width: 28%;
  }
  .chose-cat .flex {
    width: 84%;
  }
  section .front-info-box {
    width: 68%;
  }
}

@media screen and (max-width: 480px) {
  /* hero */
  .hero {
    background: linear-gradient(-15deg, transparent 60%, #dff4e8 60%);
  }
  .hero .flex {
    flex-direction: column;
    gap: 2em;
    padding-top: 0.5em;
  }

  .hero-contact-box h2 {
    margin-bottom: 0;
  }

  .main-title {
    width: 92%;
    margin: auto;
  }

  .main-image {
    width: 100%;
  }

  h1 {
    font-size: 21px;
  }

  .hero-contact-title {
    width: 96%;
    font-size: 16px;
    /* background-color: #bfb098; */
  }

  .hero-contact-box {
    background-color: #ffe9ec;
    border: none;
    margin-bottom: 20px;
  }

  .hero-contact-cont {
    flex-wrap: wrap;
    gap: 0.4em;
    padding: 1em 0.5em;
  }

  .hero-telnum-btn {
    font-family: "Lato", sans-serif;
    display: flex !important;
    align-items: center;
    gap: 0.2em;
    font-size: 30px;
    width: 100%;
    background-color: #57c280;
    color: #fff;
    border-bottom: solid #43ae78 4px;
    text-align: center;
    justify-content: center;
    border-radius: 12px;
    padding: 0.2em;
    min-height: 2.2em;
  }

  .hero-telnum-btn img {
    width: auto;
  }
  .hero-mail,
  .hero-line {
    flex: 1;
    display: flex;
    justify-content: center;
    border-bottom: solid #eaeaea 4px;
    min-height: 3.4em;
  }

  .slick-dots li button:before {
    font-size: 26px !important;
  }

  .slick-dots li.slick-active button:before {
    color: #5ac280 !important;
  }

  /* section */
  section .inner {
    padding-left: 8%;
    padding-right: 8%;
  }

  section.simulator .inner {
    padding-left: 4%;
    padding-right: 4%;
  }

  section .flex {
    flex-direction: column;
    gap: 2em;
  }

  .sec1 .flex a {
    width: 100%;
  }

  section.flow-sec .inner {
    padding: 4%;
  }

  .flow-sec {
    padding: 40px 0;
  }
  section .flows {
    flex-wrap: wrap;
    gap: 8%;
  }

  .flows p {
    width: 28%;
  }

  .chose-cat .flex {
    width: 100%;
    flex-direction: row;
  }
  .chose-cat .flex a {
    width: 42.5%;
  }

  /* .support .inner {
    padding-left: 2%;
    padding-right: 2%;
  } */
  /* .support .flex {
    flex-direction: row;
    gap: 10px 4%;
  } */

  /* .support .flex a {
    width: 48%;
  } */

  .support .flex a {
    width: 100%;
  }

  section .front-info-box {
    width: 88%;
    padding-left: 0;
    padding-right: 0;
  }

  .front-menu-list .grid {
    grid-template-columns: repeat(auto-fit, 47%);
  }

  .front-menu-list a {
    padding: 1em 2em 1em 0.8em;
    font-size: 0.9em;
  }

  section .tag-list {
    width: 100%;
    gap: 0.6em;
    font-size: 16px;
    flex-direction: row;
  }

  .tag-list a {
    padding: 0.6em 1.6em;
  }

  .page-item {
    flex-direction: column;
    gap: 0.2em;
    align-items: flex-start;
  }
  .page-titles {
    width: 100%;
  }
  .page-title {
    max-width: 94%;
  }
}
