:root {
  --main-green: #205B1C;
  --text:
}

body {
  font-size: 16px;
  font-family: "Klee One", serif;
  position: relative;
  z-index: 0;
  min-width: 375px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background-color: #f5f4f0;
  ;
  background-image: url(../img/bg_imgae.webp);
  background-repeat: repeat-y;
  background-position: center -30px;
  background-size: 100% auto;
  opacity: 0.8;
}

/* -------------------------------
Header
------------------------------- */

.header {
  background-color: #fff;
  opacity: 0.9;
  width: 90%;
  min-width: 338px;
  height: 80px;
  position: fixed;
  top: 30px;
  border-radius: 0 50px 50px 0;
  display: grid;
  place-items: center;
  z-index: 100;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-left: 2rem;
  position: relative;
}

.header__logo {
  width: 10%;
  min-width: 200px;
}

.header__nav-list {
  display: flex;
  gap: 2rem;
  font-size: 1rem;
  align-items: center;
}

.header__nav-list li {
  font-weight: bold;
  color: #222222;
}

.header__nav-list li:not(:last-child) a {
  position: relative;
  display: inline-block;
}

.header__nav-list li:not(:last-child) a::after {
  content: "";
  background-color: #205B1C;
  position: absolute;
  width: 0;
  bottom: 0;
  left: 0;
  display: block;
  height: 2px;
  transition: all .5s;
}

/* 現在表示中のページ */
.header__nav-list li:not(:last-child) a.is-current {
  color: var(--main-green);
}

.header__nav-list li:not(:last-child) a.is-current::after {
  width: 100%;
}

@media (hover: hover) and (pointer: fine) {
  .header__nav-list li:not(:last-child) a:hover {
    color: var(--main-green);
  }

  .header__nav-list li:not(:last-child) a:hover::after {
    width: 100%;
  }
}

.header__nav-list li:last-of-type {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background-color: #44902F;
  height: 80px;
  padding: 0 2rem;
  border-radius: 40px;
  transition: all .3s;
}

.header__nav-list li:last-of-type::before {
  content: "";
  display: inline-block;
  background-image: url(../img/contact_icon.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.header__nav-list li:last-of-type:hover {
  background-color: var(--main-green);
}

.hamburger {
  display: none;
}

/* -------------------------------
Hamberger
------------------------------- */
@media (max-width: 1200px) {
  .header__nav-list {
    display: none;
  }

  .hamburger {
    display: block;
    width: 40px;
    height: 30px;
    margin-right: 2rem;
    position: absolute;
    right: 0;
  }

  .hamburger span {
    position: absolute;
    display: block;
    width: 40px;
    height: 3px;
    border-radius: 25px;
    background-color: var(--main-green);
    transition: all .3s ease-in;
  }

  .hamburger span:nth-child(1) {
    top: 0;
  }

  .hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
  }

  .hamburger span:nth-child(3) {
    bottom: 0;
  }

  .hamburger.is-active span:nth-child(1) {
    transform: rotate(-45deg);
    transform-origin: right top;
  }

  .hamburger.is-active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.is-active span:nth-child(3) {
    transform: rotate(45deg);
    transform-origin: right bottom;
  }

  .header {
    padding: 1.32rem 0;
    transition: all .3s;
  }

  .header.is-open {
    height: auto;
    transition: all .3s;
  }

  .header__nav {
    width: 100%;
  }

  .header__nav-list.is-active {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 3rem;
    max-width: 700px;
    text-wrap: nowrap;
    margin: 0 auto;
  }

  .header__nav-list li:last-child {
    grid-column: 1 / 3;
  }

  .header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .header__nav-list li:not(:last-child) a::after {
    display: none;
  }

  .header__nav-list li:not(:last-child) a.is-current {
    color: var(--main-green);
  }


}

/* -------------------------------
TOP Comon
------------------------------- */
section:not(:first-child) {
  width: 100%;
  max-width: 1980px;
  margin: 0 auto 200px auto;
}

/* -------------------------------
TOP FV
------------------------------- */

.fv {
  margin-bottom: 200px;

}

.fv__inner {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.fv__left {
  position: relative;
  width: 30%;
  height: auto;
}

.fv__left__img {
  opacity: .7;
  position: absolute;
  left: -10%;
  top: 15vw;
  z-index: -3;
  object-fit: contain;
}

.fv__copy {
  position: absolute;
  text-wrap: nowrap;
  top: 15vw;
  left: 30%;
  overflow: visible;
}

.fv__right {
  width: 80%;
  z-index: -2;
  overflow: hidden;
}

.fv__lead {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #205B1C;
  padding-bottom: 2rem;
}

.big--text {
  font-size: clamp(3rem, 5vw, 3rem);
}

.fv__text {
  font-size: clamp(1rem, 1.5vw, 3rem);
  line-height: 3rem;
  color: #205B1C;
}


@media (max-width:960px) {

  .fv__inner {
    flex-direction: column-reverse;
    margin-top: 150px;
  }

  .fv__left {
    width: 100%;
    height: 400px;
  }

  .fv__left__img {
    width: 50%;
    max-height: 300px;
    left: -5%;
    top: 50%;
    transform: translateY(-40%);
    opacity: .5;
  }

  .fv__right {
    width: 100%;
    transform: scale(1.2);
    transform-origin: right bottom;
  }

  .fv__copy {
    text-align: center;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .fv__copy::after {
    width: 150%;
    height: 150%;
  }

}

/* ======================================
TOP FV Fade
====================================== */

.home .fv__left__img,
.home .fv__right__img {
  opacity: 0;
  transition:
    opacity 1s ease;
  transition-delay: .3s;
}

.home .fv__copy {
  opacity: 0;
  transition:
    opacity 1s ease 1.3s;
}

.home.is-loaded .fv__right__img,
.home.is-loaded .fv__copy {
  opacity: 1;
}
.home.is-loaded .fv__left__img{
  opacity: .7;
}


/* TOPページ：FV表示完了後にヘッダーを表示 */
.home .header {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}

.home.is-header-visible .header {
  opacity: 0.9;
  visibility: visible;
}

/* -------------------------------
TOP about
------------------------------- */
.about__wrap {
  width: 90%;
  margin: 0 auto;
  background-image: url(../img/top_about_bg.webp);
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  padding: 10rem;
  gap: 2rem;
}

.text__area {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 40%;
  gap: 2rem;
}

.title__wrap {
  position: relative;
}

.section__entitle {
  font-family: "Caveat", cursive;
  font-optical-sizing: auto;
  font-style: normal;
  transform-origin: left top;
  transform: rotate(-10deg);
  font-size: 2rem;
  color: #44902F;
  opacity: 0.8;
  display: inline-block;
  position: absolute;
  top: -1rem;
  left: -2rem;
  padding-right: 1rem;
}

.section__title {
  font-size: 2rem;
  color: var(--main-green);
}

.section__text {
  font-size: 1rem;
  color: #205B1C;
  margin-top: 2rem;
}

.main__button {
  background-color: var(--main-green);
  color: #fff;
  width: 285px;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  position: relative;
  text-align: center;
  display: inline-block;
}

.main__button:before {
  content: '';
  width: 10px;
  height: 10px;
  border: 0;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  right: 3rem;
  bottom: 0;
  margin: auto;
  transition: all .3s ease-in;
}

.main__button:hover:before {
  right: 2.5rem;
}


.about__img {
  width: 40%;
  aspect-ratio: 4 / 3;
}

.about__img img {
  object-fit: contain;
  display: block;
  border-radius: 64% 36% 58% 42% / 46% 54% 40% 60%;

}

@media (max-width:960px) {

  .about__wrap {
    width: 100%;
    flex-direction: column;
    padding: 5rem 0;
    background-size: 150% 100%;
    position: relative;
  }

  .text__area {
    padding: 2rem;
    align-items: center;
    gap: 2rem;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

  .about__img {
    width: auto;
    height: 250px;
    position: absolute;
    top: 12rem;
    left: 50%;
    transform: translateX(-50%);
  }

  .about__wrap .text__area .section__text {
    padding-top: 15rem;
  }

}

/* -------------------------------
TOP service
------------------------------- */

.service__inner {
  width: 90%;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
}

.card {
  width: 33%;
  padding: 3rem 1rem;
  background-image: url(../img/frames.png );
  background-repeat: no-repeat;
  background-size: 100% 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card img {
  width: 90%;
  object-fit: contain;
  border-radius: 20px;
  margin-top: 2rem;
}

.card__text {
  font-size: 1.2rem;
  color: var(--main-green);
  padding: 2rem;
  flex: 1;
}

@media (max-width:960px) {

  .service__inner {
    flex-direction: column;
  }

  .card {
    width: 100%;
  }

  .card img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

}

/* -------------------------------
TOP NEWS
------------------------------- */

.news__inner {
  width: 90%;
  margin: 0 auto;
  max-width: 1980px;
}

.news__title__area {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
}

.news__line {
  flex: 1;
  border-top: 1px dashed #222222;
  margin: 0.6rem 2rem;
}

.news__link {
  color: var(--main-green);
  font-weight: bold;
  position: relative;
  padding-right: 2rem;
}

.news__link::after {
  content: '';
  width: 10px;
  height: 10px;
  border: 0;
  border-top: solid 2px var(--main-green);
  border-right: solid 2px var(--main-green);
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  right: 1rem;
  bottom: 0;
  margin: auto;
  transition: all .3s ease-in;
}

.news__link:hover::after {
  right: .5rem;
}

.news__link.sp {
  display: none;
}

.news__list__wrap {
  display: flex;
}

.news__list {
  width: 60%;
}

.news__list__wrap img {
  width: 40%;
  object-fit: contain;
}

.news__item {
  display: flex;
  gap: 2rem;
  border-bottom: 1px solid #707070;
  padding: 1rem;
}

.news__item {
  display: grid;
  grid-template-columns: 100px auto;
  gap: 8px 16px;
}

.news__item a {
  grid-column: 1 / 3;
}

.news__item a:hover {
  opacity: 0.7;
}

.news__date {
  flex-shrink: 0;
}

.news-category {
  display: block;
  background-color: #E9EEBD;
  color: var(--main-green);
  border-radius: 5px;
  width: 100px;
  text-align: center;
}

.news__title {
  font-size: 1.2rem;
}

.sp_news_img {
  display: none;
}

@media (max-width:960px) {

  .news__line,
  .news__title__area .news__link {
    display: none;
  }

  .news__list__wrap {
    flex-direction: column;
    gap: 2rem;
  }

  .news__list {
    width: 100%;
  }

  .news__link.sp {
    display: block;
  }

  .news__item {
    flex-direction: column;
    gap: 1rem;
  }

  .news__list__wrap img {
    display: none;
  }

  .sp_news_img {
    display: block;
    width: 30%;
  }

  .news__title__area {
    padding-left: 1rem;
  }

  .news__list__wrap .news__link {
    text-align: right;
  }

  .news__item {
    display: grid;
    grid-template-columns: 100px auto;
    gap: 8px 16px;
  }

  .news__date {
    grid-column: 1;
  }

  .news-category {
    grid-column: 2;
  }

  .news__item a {
    grid-column: 1 / -1;
  }
}

/* -------------------------------
Contact
------------------------------- */

.contact {
  background-image: url(../img/contact_img.jpg);
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  height: 400px;
  display: flex;
}

.contact__inner {
  width: 60%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact__msg {
  margin-bottom: 2rem;
  font-size: 1.2rem;

}

.contact__list {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact__tel {
  display: flex;
}

.contact__tel span img {
  height: 3rem;
}

.contact__tel__wrap {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.tel {
  color: var(--main-green);
  font-size: 2.5rem;
  line-height: 2rem;
}

.contact_btn {
  width: 100%;
  padding: 1rem 6rem;
  text-wrap: nowrap;

}

.contact_btn::before {
  right: 2rem;
}

.contact_btn:hover:before {
  right: 1.5rem;
}

.contact__mail {
  margin-top: 1rem;
  position: relative;
}

.contact_btn::after {
  content: "";
  position: absolute;
  left: 5%;
  top: 50%;
  transform: translateY(-40%);
  background-image: url(../img/contact_mail_icon.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 3.5rem;
  height: 3rem;
  z-index: 2;
}

@media (max-width:960px) {

  .contact__msg {
    font-size: 1rem;
    text-align: center;
  }

  .tel {
    font-size: 2rem;
  }

  .sub {
    font-size: 0.8rem;
  }

}



/* -------------------------------
footer
------------------------------- */

footer {
  width: 100%;
  margin-top: 200px;
  overflow: hidden;
}

.footer__top {
  width: 100%;
  background-color: #fff;
  padding: 3rem 0;
}

.footer__inner {
  display: flex;
  width: 70%;
  margin: 0 auto;
  justify-content: space-between;
}

.footer__company img {
  width: 250px;
}

.footer__infomation {
  color: #505050;
  font-size: .8rem;
  line-height: 1.1rem;
  padding-top: 1rem;
  padding-left: 4.2rem;
}

.site__map {
  border-left: 1px solid #707070;
  padding-left: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}

.site__map__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  font-size: 0.8rem;
}

.site__map__list li {
  position: relative;
}

.site__map__list li::after {
  content: "";
  width: 10px;
  height: 10px;
  border: 0;
  border-top: 2px solid var(--main-green);
  border-right: 2px solid var(--main-green);
  position: absolute;
  top: 50%;
  bottom: 0;
  left: -1rem;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: left top;
  transition: all 0.3s ease;
}

.site__map__list li:hover {
  opacity: 0.8;
}

.site__map__list li:hover::after {
  left: -0.6rem;
}

.footer__bottom {
  width: 100%;
  background-color: var(--main-green);
  text-align: center;
  color: #fff;
  font-size: .8rem;
  padding: 2rem 0;
  position: relative;
  overflow: visible;
}

.footer__bottom::after {
  content: "";
  background-image: url(../img/footer_img2.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right bottom;
  width: 25%;
  max-width: 300px;
  height: 300px;
  position: absolute;
  bottom: 0;
  left: 0;
}

.sp_br {
  display: none;
}

@media (max-width:960px) {
  .footer__inner {
    width: 80%;
    gap: 3rem;
    flex-direction: column-reverse;
  }

  .site__map {
    border-left: none;
    border-bottom: 1px solid #707070;
    padding-left: 1.3rem;
    padding-bottom: 3rem;
    align-items: start;
  }

  .footer__company img {
    width: 80%;
    max-width: 200px;

  }

  .footer__infomation {
    text-align: right;
  }

  .footer__bottom {
    text-align: right;
    padding: 1rem 10%;
  }

  .footer__bottom::after {
    width: 35%;
  }

  .sp_br {
    display: unset;
  }

}

/* -------------------------------
lower page common
------------------------------- */

.page__header {
  position: relative;
  margin-bottom: 200px;
}

.page__header img {
  width: 100%;
}

.title__wrap.lowpage__head {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%) scale(1.2);
}

.lowpage__section__title {
  display: block;
  width: max-content;
  font-size: 1.5rem;
  color: var(--main-green);
  border-bottom: 2px solid var(--main-green);
  margin: 0 auto 3rem auto;
}

@media (max-width:960px) {

  .page__header img {
    height: 400px;
    object-fit: cover;
    object-position: center;
  }

  .title__wrap.lowpage__head {
    transform: scale(1);
  }

  .title__wrap.lowpage__head::before {
    content: "";
    position: absolute;

    width: 250%;
    height: 200px;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);

    background:
      radial-gradient(ellipse,
        rgba(255, 255, 255, .9) 0%,
        rgba(255, 255, 255, .8) 40%,
        rgba(255, 255, 255, 0) 75%);

    z-index: -1;
  }


  .page__header {
    margin-bottom: 100px;
    overflow: hidden;
  }

}

/* -------------------------------
about page
------------------------------- */
/* -------------------------------
about message
------------------------------- */

.about__page {
  width: 100%;
  margin-bottom: 200px;
  max-width: 1980px;
}

.about__message__inner {
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-evenly;
}

.about__message__text {
  width: 60%;
  color: var(--main-green);
}

.about__message__lead {
  font-size: 1.4rem;
  font-weight: bolder;
  margin-bottom: 2rem;
}

.about__message__text p {
  margin-bottom: 1rem;
}

.about__message__image {
  width: 30%;
  max-width: 450px;
}

.about__message__image img {
  width: 100%;
  border-radius: 25px;
  margin-bottom: 1rem;
}

.about__sign {
  color: var(--main-green);
  font-size: 1rem;
  margin-left: 1rem;
  text-wrap: nowrap;
}

.about__sign p span {
  font-size: 1.5rem;
  margin-left: 3rem;
}

@media (max-width:960px) {
  .about__message__inner {
    flex-direction: column-reverse;
    gap: 3rem;
  }

  .about__message__text {
    width: 100%;
  }

  .about__message__image {
    width: 100%;
    margin: 0 auto;
    gap: 1rem;
  }

  .about__message__image img {
    width: 80%;
    margin: 0 auto 1rem;
  }

  .about__sign {
    display: block;
    width: 80%;
    margin: 0 auto;
  }
}

/* -------------------------------
about company profile
------------------------------- */
section.company__profile {
  margin-top: 200px;
}

.info-table {
  background-color: #fff;
  width: 90%;
  margin: 0 auto;
  padding: 2rem 5rem;
}

.info-table__row {
  display: flex;
  border-bottom: 1px solid #707070;
  padding: 2rem 0;
}

.info-table__row:last-child {
  border-bottom: none;
}


.info-table__row dt {
  color: var(--main-green);
  font-weight: bold;
  width: 30%;
  padding-left: 4rem;
}

.info-table__row dd {
  width: 70%;
  padding-left: 2rem;
}

@media (max-width:960px) {
  .info-table {
    padding: 2rem 1rem;
  }

  .info-table__row {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1rem;
  }

  .info-table__row dt {
    width: 100%;
    padding: 0 0 1rem 0;
  }

  .info-table__row dd {
    width: 100%;
    padding: 0;
  }



}

/* -------------------------------
about company history
------------------------------- */

.about__history__section {
  position: relative;
  width: 100%;
  padding: 100px 0 120px;
}

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}


/* タイムライン */
.timeline {
  position: relative;
  padding-left: 120px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  width: 4px;
  height: 100%;
  background: var(--main-green);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  padding-bottom: 70px;
}

/* 丸 */
.timeline-item::before {
  content: "";
  position: absolute;
  left: -108px;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--main-green);
  z-index: 2;
}

.timeline-year {
  color: var(--main-green);
  letter-spacing: 0.08em;
  white-space: nowrap;
  font-size: 1.5rem;
  line-height: 24px;
}

.timeline-content {
  color: #505050;
}

.timeline-content p {
  margin-bottom: 10px;
}

.timeline-content strong {
  font-weight: bold;
  color: #222222;
}

/* 最後の点線 */
.timeline-end {
  position: absolute;
  left: 24px;
  bottom: -90px;
  width: 4px;
  height: 90px;
  background-image: linear-gradient(to bottom,
      #205B1C 35%,
      transparent 0%);
  background-position: left;
  background-size: 4px 14px;
  background-repeat: repeat-y;
}

/* レスポンシブ */
@media (max-width: 900px) {
  .timeline {
    padding-left: 70px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .timeline-item::before {
    left: -58px;
  }



  .section-title h2 {
    font-size: 38px;
  }
}

/* -------------------------------
Business page
------------------------------- */
.section__inner {
  width: 90%;
  margin: 0 auto;
  display: flex;
  margin-bottom: 200px;
  align-items: center;
  justify-content: space-between;
}

.msg_wrap {
  width: 40%;
  padding-right: 3rem;
}

.msg_title {
  font-size: clamp(24px, 2.5vw, 35px);
  color: var(--main-green);
  text-wrap: nowrap;
  padding-bottom: 2rem;
}

.section__img {
  width: 55%;
  object-fit: cover;
}

.msg_text {
  color: var(--main-green);
}

.sub__text {
  margin: 0 auto 3rem auto;
  text-align: center;
}

.strong_pointlist_wrap {
  width: 70%;
  margin: 0 auto;
}

.strong_pointlist {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.strong_pointlist_item {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background-color: #fff;
  position: relative;
  color: var(--main-green);
  padding: 2rem;
  gap: 2rem;
}

.strong_pointlist_item::after {
  content: '';
  inset: 0;
  position: absolute;
  background-color: var(--main-green);
  transform: translate(10px, 10px);
  z-index: -1;
}

.point_number {
  font-size: 5rem;
}

.point_title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.point_icon {
  width: 20%;
}

.strong_pointlist_item:nth-child(1)::before {
  content: '';
  width: 150px;
  height: 150px;
  background-image: url(../img/bg_img1.png);
  background-size: 100%;
  background-repeat: no-repeat;
  position: absolute;
  bottom: -60px;
  left: -150px;
  transform-origin: center;
  --base-rotate: -30deg;
  animation: pikupiku 3s infinite;
}

.strong_pointlist_item:nth-child(2)::before {
  content: '';
  width: 150px;
  height: 150px;
  background-image: url(../img/bg_img2.png);
  background-size: 110%;
  background-repeat: no-repeat;
  position: absolute;
  bottom: -85px;
  right: -100px;
  transform-origin: center;
  --base-rotate: 0deg;
  animation: pikupiku 3s infinite;
  animation-delay: 1s;
}

.strong_pointlist_item:nth-child(3)::before {
  content: '';
  width: 150px;
  height: 150px;
  background-image: url(../img/bg_img3.png);
  background-size: 110%;
  background-repeat: no-repeat;
  position: absolute;
  bottom: -80px;
  left: -150px;
  transform-origin: center;
  --base-rotate: -30deg;
  animation: pikupiku 3s infinite;
  animation-delay: 2s;

}

@keyframes pikupiku {

  0%,
  60%,
  100% {
    transform: rotate(var(--base-rotate));
  }

  70% {
    transform: rotate(calc(var(--base-rotate) + 5deg));
  }

  80% {
    transform: rotate(calc(var(--base-rotate) - 3deg));
  }

  90% {
    transform: rotate(calc(var(--base-rotate) + 5deg));
  }

  97% {
    transform: rotate(calc(var(--base-rotate) - 3deg));
  }
}

.workflow {
  width: 100%;
  background-color: #fff;
  padding: 5rem 0;
}

.section__container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.flow__list {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
}

.flow__list_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
}

.flow__list_item:not(:last-child)::after {
  content: '';
  background: var(--main-green);
  height: 2rem;
  width: 1rem;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  position: absolute;
  top: 50%;
  right: -1.5rem;
  transform: translateY(-50%);
}


.flow_number {
  font-size: 1.5rem;
  color: var(--main-green);
  margin-bottom: 1rem;
}

.flow__list_item img {
  height: 5rem;
  object-fit: cover;
  margin-bottom: 2rem;
}

.flow_text_wrap {
  text-align: center;
}

.flow_title {
  color: var(--main-green);
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

@media (max-width:960px) {
  .section__inner {
    flex-direction: column;
  }

  .msg_wrap {
    width: 100%;
    padding: 0 0 2rem 0;
  }

  .msg_title {
    font-size: 1.5rem;
    text-wrap: wrap;
  }

  /* .section__inner img {
    width: 50%;
  } */

  .sub__text {
    padding: 0 2rem;
  }

  .strong_pointlist_wrap {
    width: 80%;
  }

  .point_number {
    font-size: 3rem;
  }

  .strong_pointlist_item {
    display: grid;
    grid-template-columns: 1fr;
    padding: 1rem 1rem 2rem 1rem;
    text-align: center;
    gap: 1rem;
  }

  .strong_pointlist_item :nth-child(1) {
    grid-row: 1;
  }

  .strong_pointlist_item :nth-child(2) {
    grid-row: 3;
  }

  .strong_pointlist_item :nth-child(3) {
    grid-row: 2;
    width: 50%;
    margin: 0 auto;
  }

  .strong_pointlist_item:nth-child(1)::before {
    width: 100px;
    height: 100px;
    left: -50px;
    z-index: 1;
  }

  .strong_pointlist_item:nth-child(2)::before {
    width: 120px;
    height: 100px;
    right: -40px;
    bottom: -50px;
  }

  .strong_pointlist_item:nth-child(3)::before {
    width: 100px;
    height: 100px;
    left: -50px;
  }

  .flow__list {
    flex-direction: column;
    gap: 6rem;
  }

  .flow__list_item {
    display: grid;
    grid-template-columns: 1fr 2fr;
  }

  .flow__list_item :nth-child(1) {
    grid-column: 1 / 3;
    justify-self: center;
  }

  .flow__list_item:not(:last-child)::after {
    top: unset;
    bottom: -4rem;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }

  .flow_text_wrap {
    text-align: left;
    padding-left: 2rem;
  }

  .flow__list_item img {
    margin-bottom: 0;
    justify-self: center;
  }

  .section__img {
    width: 100%;
  }

}

/* -------------------------------
Items page
------------------------------- */
.items-list .section__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem;
  align-items: flex-start;
}

.season__items__wrap {
  height: 40vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 3rem;
  position: relative;
}

.season__items__wrap:nth-child(1)::after {
  content: '';
  width: 90%;
  height: .5px;
  background-color: #505050;
  position: absolute;
  bottom: -2.5rem;
  right: 0;
}

.season__items__wrap:nth-child(2)::after {
  content: '';
  width: .5px;
  height: 90%;
  background-color: #505050;
  position: absolute;
  left: -2.5rem;
  bottom: 0;
}

.season__items__wrap:nth-child(3)::after {
  content: '';
  width: .5px;
  height: 90%;
  background-color: #505050;
  position: absolute;
  right: -2.5rem;
  top: 0;
}

.season__items__wrap:nth-child(4)::after {
  content: '';
  width: 90%;
  height: .5px;
  background-color: #505050;
  position: absolute;
  top: -2.5rem;
  left: 0;
}



.season__items__title {
  display: flex;
  width: 80%;
}

.season {
  width: 100px;
  height: 100px;
  font-size: 3rem;
  font-weight: bold;
  line-height: 90px;
  color: #F7F6ED;
  text-align: center;
  background-size: 100px 100px;
  background-repeat: no-repeat;
}

.season__items__wrap:nth-child(1) .season {
  background-image: url(../img/items_bg1.png);
}

.season__items__wrap:nth-child(2) .season {
  background-image: url(../img/items_bg2.png);
}

.season__items__wrap:nth-child(3) .season {
  background-image: url(../img/items_bg3.png);
}

.season__items__wrap:nth-child(4) .season {
  background-image: url(../img/items_bg4.png);
}

.season__text__wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.season__text {
  font-size: 1.8rem;
}

.season__month {
  padding-left: .4rem;
  border-bottom: 1px solid #222222;
}

.items_text {
  color: #205B1C;
  padding: 2rem;
  width: 80%;
  min-height: 145px;
}

.season__img {
  width: 80%;
  padding: 0 1rem;
}


@media (max-width:960px) {

  .items-list .section__inner {
    grid-template-columns: 1fr;
  }

  .season__items__wrap {
    height: auto;
  }

  .season__items__wrap:nth-child(1)::after {
    right: unset;
  }

  .season__items__wrap:nth-child(2)::after {
    width: 90%;
    height: .5px;
    left: unset;
    bottom: -2.5rem;
  }

  .season__items__wrap:nth-child(3)::after {
    width: 90%;
    height: .5px;
    right: unset;
    bottom: -2.5rem;
    top: unset;
  }

  .season__items__wrap:nth-child(4)::after {
    top: unset;
    bottom: -2.5rem;
    left: unset;
  }

}

/* -------------------------------
recruit page
------------------------------- */

.recruit__msg_wrap {
  display: flex;
  background-image: url(../img/recruit_msg_bg.webp);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 5rem;
  justify-content: space-around;
  gap: 2rem;
}

.recruit__msg_wrap img {
  width: 30%;
  aspect-ratio: 4 / 3;
  border-radius: 30px;
  object-fit: cover;
}

.recruit__text__area {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.recruit__text__area .section__text {
  font-size: 1.2rem;
}

.point__list {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.point__list__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  background-color: #fff;
  border-radius: 25px;
  border: .5px solid #505050;
  gap: 2rem;
  padding: 2rem 3rem;
  width: 25%;
}

.point__icon {
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: var(--main-green);
}

.point__icon img {
  width: 60%;
}

.point__title {
  font-size: 1.5rem;
  color: var(--main-green);
}

.point2__list {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.point2__list__item {
  width: 60%;
  display: flex;
  gap: 3rem;
  padding: 2rem;
  border-bottom: 1px #505050 dotted;
}

.point2__list__item img {
  width: 5%;
  object-fit: contain;
}

.time__line__list {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
}

.time__line__list::before {
  content: "";
  position: absolute;
  top: 45px;
  left: 50%;
  width: 3px;
  height: calc(100% - 190px);
  background-color: var(--main-green);
  translate: -50% 0;
  z-index: 1;
}

.time__line__card:last-child .time__line__icon::after {
  display: none;
}



.time__circle {
  z-index: 2;
}

.time__line__card:last-child .time__line__icon::after {
  display: none;
}

.time__line__card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: center;
}

.time__line__card:not(:first-child) {
  margin-top: -50px;
}

/* 奇数：左側 */
.time__line__card:nth-child(odd) .speechBubble {
  grid-column: 1;
  text-align: right;
}

/* 偶数：右側 */
.time__line__card:nth-child(even) .speechBubble {
  grid-column: 3;
  flex-direction: row-reverse;
}

/* 丸アイコン */
.time__line__icon {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 3;
  height: 100%;
}

.time__circle {
  width: 30px;
  height: 30px;
  border: 3px solid var(--main-green);
  border-radius: 50%;
  background-color: #fff;
  /* 縦線を隠す */
  position: relative;
  box-sizing: border-box;
  top: 30px;
}

/* 内側の丸 */
.time__circle::after {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--main-green);
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}

/* 吹き出し */
.speechBubble {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  padding: 18px 22px;
  border: 1px solid #505050;
  border-radius: 18px;
  background-color: #fff;
  color: #505050;
  line-height: 1.6;
}

.time__line__img {
  height: 160px;
  max-width: 150px;
  object-fit: contain;
  flex-shrink: 0;
}

.time__line__text__wrap {
  flex: 1;
}

.time {
  color: var(--main-green);
}

.time__line__title {
  color: var(--main-green);
  font-size: 1.2rem;
  padding-bottom: 1.5rem;
}

/* 左側カードの三角 */
.time__line__card:nth-child(odd) .speechBubble::before {
  content: "";
  position: absolute;
  top: 33px;
  right: 0;
  border-style: solid;
  border-width: 10px 0 10px 15px;
  border-color: transparent transparent transparent #505050;
  translate: 100% 0;
}

.time__line__card:nth-child(odd) .speechBubble::after {
  content: "";
  position: absolute;
  top: 34.4px;
  right: 0;
  border-style: solid;
  border-width: 8.8px 0 8.8px 13.2px;
  border-color: transparent transparent transparent #fff;
  translate: 100% 0;
}

/* 右側カードの三角 */
.time__line__card:nth-child(even) .speechBubble::before {
  content: "";
  position: absolute;
  top: 33px;
  left: 0;
  border-style: solid;
  border-width: 10px 15px 10px 0;
  border-color: transparent #505050 transparent transparent;
  translate: -100% 0;
}

.time__line__card:nth-child(even) .speechBubble::after {
  content: "";
  position: absolute;
  top: 34.4px;
  left: 0;
  border-style: solid;
  border-width: 8.8px 13.2px 8.8px 0;
  border-color: transparent #fff transparent transparent;
  translate: -100% 0;
}

/* スマホ */
@media (max-width: 960px) {
  .schedule {
    padding: 60px 20px;
  }

  .time__line {
    width: 100%;
  }

  .time__line__list::before {
    left: 15px;
    height: calc(100% - 355px);
  }

  .time__line__card {
    grid-template-columns: 30px 1fr;
    gap: 16px;
    align-items: start;
    margin-bottom: 36px;
  }

  .time__line__icon {
    grid-column: 1;
  }

  .time__line__card:nth-child(odd) .speechBubble,
  .time__line__card:nth-child(even) .speechBubble {
    grid-column: 2;
    translate: 0;
    flex-direction: column;
    text-align: left;
  }

  .speechBubble {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
  }

  .time__line__img {
    width: auto !important;
    max-width: 200px;
    margin: 0 auto;
  }

  .time__line__card:not(:first-child) {
    margin-top: 0;
  }

  .time__line__card:nth-child(odd) .speechBubble::before,
  .time__line__card:nth-child(even) .speechBubble::before {
    left: 0;
    right: auto;
    border-width: 10px 15px 10px 0;
    border-color: transparent #505050 transparent transparent;
    translate: -100%;
  }

  .time__line__card:nth-child(odd) .speechBubble::after,
  .time__line__card:nth-child(even) .speechBubble::after {
    left: 0;
    right: auto;
    border-width: 8.8px 13.2px 8.8px 0;
    border-color: transparent #fff transparent transparent;
    translate: -100%;
  }
}

.benefits__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.benefits__list__item {
  width: calc((100% - 4rem) / 3);
  min-width: 300px;
  aspect-ratio: 1 / 1;
  background-color: #fff;
  border: 1px solid #505050;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 4rem;
  height: auto;
}

.benefits__icon {
  width: 5vw;
  object-fit: scale-down;
}

.benefits__title {
  color: var(--main-green);
  font-size: 1.2rem;
}

.contact__msg.entry {
  margin: 2rem 0;
}

.contact__list.entry {
  width: 300px;
}

@media (max-width: 960px) {
  .recruit__msg_wrap {
    flex-direction: column;
    padding: 3rem;
    background-image: url(../img/recruit_msg_bg_sp.png);
  }

  .recruit__text__area {
    padding: 0 0 2rem 0;
  }

  .recruit__msg_wrap img {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .point__list {
    flex-direction: column;
  }

  .point__list__item {
    width: 100%;
  }

  .point2__list__item {
    padding: 1rem;
    gap: 2rem;
    width: 100%;
  }

  .point2__list__item img {
    width: 20%;
  }

  .point__title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .point__text {
    font-size: .9rem;
  }

  .benefits__list__item {
    gap: 1rem;
  }

  .benefits__icon {
    width: 50px;
  }

}

/* -------------------------------
Privacy page
------------------------------- */

.privacy__text__top {
  width: 90%;
  margin: 0 auto;
}

.privacy__section__inner {
  width: 90%;
  margin: 150px auto;
}

.privacy__list {
  display: flex;
  flex-direction: column;
  gap: 3rem;

}

.privacy__title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--main-green);
  border-bottom: 1px solid var(--main-green);
  display: inline-block;

}

.privacy__text {
  margin: 0 0 1rem 2rem;

}

.privacy__text__list {
  list-style-type: disc;
  margin-left: 4rem;
}

/* -------------------------------
Contact page
------------------------------- */
.contact__text__top {
  width: 90%;
  margin: 0 auto 150px auto;
  text-align: center;
}

.contact__section__inner {
  width: 90%;
  margin: 0 auto;
  padding: 3rem;
  background: #fff;
  border-radius: 36px;
}

.contact__lead {
  text-align: center;
  font-size: 1.2rem;
  color: var(--main-green);
  margin-bottom: 2rem;
}

.contact__form {
  max-width: 1000px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  column-gap: 40px;
  padding: 22px 0;
  border-bottom: 1px dashed #aaa;
}

.form-row:first-child {
  border-top: none;
}

.form-label {
  padding-left: 2rem;
}

.form-label p {
  margin: 4px 0 0;
  font-size: 16px;
  letter-spacing: 0.05em;
}

.required,
.optional {
  display: inline-block;
  min-width: 48px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9rem;
  line-height: 1.2rem;
  text-align: center;
}

.required {
  color: #fff;
  background: var(--main-green);
}

.optional {
  color: var(--main-green);
  background: #fff;
  border: 1px solid var(--main-green);
}

.form-field {
  max-width: 460px;
}

.form-field label {
  display: block;
  margin-bottom: 12px;
  color: #555;
  font-size: 15px;
}

input,
textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #6a9b6a;
  border-radius: 3px;
  background: #fff;
  font-size: 15px;
  font-family: inherit;
  color: #333;
}

input {
  height: 36px;
  padding: 0 14px;
}

textarea {
  height: 150px;
  padding: 12px 14px;
  resize: vertical;
}

input::placeholder {
  color: #aaa;
}

input[type="radio"] {
  width: 15px;
  height: 15px;
  margin-right: 14px;
  accent-color: #1f6420;
  vertical-align: -2px;
}

.form-field--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
}

.form-field--address {
  display: grid;
  gap: 14px;
}

.form-field--address .js-postal-code {
  max-width: 200px;
}

.form-row--address {
  align-items: start;
}

.form-row--textarea {
  align-items: start;
  padding: 22px 0 30px;
}

.form-submit {
  margin-top: 60px;
  text-align: center;
}

.form-submit button {
  position: relative;
  width: 310px;
  height: 60px;
  border: none;
  border-radius: 999px;
  background: #1f6420;
  color: #fff;
  font-size: 17px;
  letter-spacing: 0.12em;
  font-family: inherit;
  cursor: pointer;
}

.form-submit button span {
  position: absolute;
  top: 50%;
  right: 88px;
  width: 16px;
  height: 16px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}

@media (max-width: 768px) {
  .contact {
    padding: 10px;
  }

  .contact__section__inner {
    padding: 48px 20px 40px;
    border-radius: 24px;
  }

  .contact__lead {
    margin-bottom: 36px;
    font-size: 16px;
  }

  .form-row {
    display: block;
    padding: 24px 0;
  }

  .form-label {
    padding-left: 0;
    margin-bottom: 14px;
  }

  .form-field {
    max-width: none;
  }

  .form-field--half {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .form-submit button {
    width: 260px;
  }

  .form-submit button span {
    right: 64px;
  }
}

/* -------------------------------
Contact Form 7 adjustment
------------------------------- */
.wpcf7-form .contact__form {
  max-width: 1000px;
  margin: 0 auto;
}

.wpcf7-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.wpcf7-form .form-field--half .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
}

.wpcf7-form .wpcf7-radio,
.wpcf7-form .wpcf7-acceptance {
  display: block;
}

.wpcf7-list-item {
  display: block;
  margin: 0 0 12px 0;
}

.wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  color: #555;
  font-size: 15px;
}

.wpcf7-form input[type="radio"],
.wpcf7-form input[type="checkbox"] {
  width: 15px;
  height: 15px;
  margin: 0 14px 0 0;
  accent-color: #1f6420;
}

.wpcf7-form .form-submit {
  margin-top: 60px;
  text-align: center;
}

.wpcf7-form .form-submit p {
  margin: 0;
}

.wpcf7-form input[type="submit"] {
  width: 310px;
  height: 60px;
  border: none;
  border-radius: 999px;
  background: #1f6420;
  color: #fff;
  font-size: 17px;
  letter-spacing: 0.12em;
  font-family: inherit;
  cursor: pointer;
}

.wpcf7-form input[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.wpcf7-not-valid-tip {
  display: none;
}

.wpcf7-response-output {
  margin: 32px auto 0;
  padding: 16px 20px;
  max-width: 800px;
  border-radius: 12px;
  font-size: 15px;
  text-align: center;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--main-green);
  box-shadow: 0 0 0 3px rgba(31, 100, 32, 0.15);
}

.form-error {
  display: block;
  margin-top: 8px;
  color: #c0392b;
  font-size: 0.85rem;
  font-weight: 600;
}

input.is-error,
textarea.is-error {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}

/* ---------------------------------------
Contact Form 7 response
--------------------------------------- */

/* 項目別エラーを表示するため、CF7の共通入力エラーは非表示 */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  display: none;
}

/* 送信成功・送信失敗・スパム判定は表示する */
.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  display: block;
}

/* -------------------------------
news page
------------------------------- */

.news__category {
  width: 250px;
  flex-shrink: 0;
  padding-top: 2rem;
}

.news__category__toggle {
  display: none;
}

.news__category__list {
  font-size: 1rem;
}

.news__category__list li {
  margin-bottom: 1rem;
  position: relative;
}

.news__category__list li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -1rem;
  width: .5rem;
  height: 2px;
  background: var(--main-green);
  transform: translateY(-50%);
}

.category__item {
  display: block;
  width: 80%;
  padding: .6rem 2rem;
  border-radius: 10px;
  transition: .3s;
}

.category__item.select {
  background: var(--main-green);
  color: #fff;
}

.category__item:hover {
  opacity: .8;
}

#news__section .news__inner {
  display: flex;
  justify-content: center;
}

#news__section .news__list__wrap {
  flex: 1;
  min-width: 0;
  width: auto;
}

#news__section .news__list {
  width: 100%;
}

#news__section .news__item {
  padding: 2rem 1rem;
}

/* --------------------
   Pagination
-------------------- */

.c-pagenation {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 72%;
  margin: 4rem 5%;
  margin-left: auto;
  color: var(--main-green);
}

.c-pagenation .page-numbers {
  display: grid;
  place-content: center;
  width: 60px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  transition: .2s;
}

.page-numbers.current {
  border: 1px solid var(--main-green);
}

.c-pagenation .page-numbers:not(.current, .dots):hover {
  background: var(--main-green);
  color: #fff;
}

.c-pagenation .dots {
  width: 60px;
  display: grid;
  place-content: center;
}

.next.page-numbers {
  position: relative;
}

.next.page-numbers span {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-top: solid 2px var(--main-green);
  border-right: solid 2px var(--main-green);
  transform: rotate(45deg);
}

.next.page-numbers:hover {
  background: var(--main-green);
}

.next.page-numbers:hover span {
  border-top-color: #fff;
  border-right-color: #fff;
}

.prev.page-numbers {
  position: relative;
}

.prev.page-numbers span {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-bottom: solid 2px var(--main-green);
  border-left: solid 2px var(--main-green);
  transform: rotate(45deg);
}

.prev.page-numbers:hover {
  background: var(--main-green);
}

.prev.page-numbers:hover span {
  border-bottom-color: #fff;
  border-left-color: #fff;
}

@media (max-width:768px) {

  #news__section .news__inner {
    display: block;
  }

  .news__category {
    width: 100%;
    padding-top: 0;
    margin-bottom: 2rem;
    position: relative;
    border: 1px solid var(--main-green);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
  }

  .news__category__toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem 1.2rem;
    border: none;
    background: #fff;
    color: var(--main-green);
    font-size: 1rem;
    cursor: pointer;
  }

  .news__category__toggle::after {
    content: "";
    width: .55rem;
    height: .55rem;
    border-right: 2px solid var(--main-green);
    border-bottom: 2px solid var(--main-green);
    transform: rotate(45deg);
    transition: .3s;
  }

  .news__category.is-open .news__category__toggle::after {
    transform: rotate(225deg);
  }

  .news__category__list {
    display: none;
    position: static;
    width: 100%;
    border: none;
    border-top: 1px solid var(--main-green);
    border-radius: 0;
    background: #fff;
    overflow: hidden;
    font-size: 1rem;
  }

  .news__category.is-open .news__category__list {
    display: block;
  }

  .news__category__list li {
    margin: 0;
  }

  .news__category__list li::before {
    display: none;
  }

  .category__item {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 0;
  }

  .category__item.select {
    background: var(--main-green);
    color: #fff;
  }

  .category__item:hover {
    background: #edf6ef;
    opacity: 1;
  }

  .category__item.select:hover {
    background: var(--main-green);
    color: #fff;
  }

  #news__section .news__list__wrap {
    width: 100%;
  }

  .c-pagenation {
    width: 100%;
    margin: 3rem auto 0;
    gap: 12px;
  }

  .c-pagenation .page-numbers,
  .c-pagenation .dots {
    width: 46px;
  }

}

/* --------------------
   News 投稿ページ
-------------------- */


.breadcrumb {
  margin-bottom: 40px;
  font-size: 14px;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.breadcrumb__item {
  color: var(--main-green);
}

.breadcrumb__item:not(:last-child)::after {
  content: ">";
  margin-left: 8px;
  color: var(--main-green);
}

.breadcrumb__item a {
  color: inherit;
  text-decoration: none;
}

.breadcrumb__item a:hover {
  text-decoration: underline;
}

.news-detail__article {
  margin: 0 auto;
  background-color: rgb(255, 255, 255);
  border-radius: 50px;
  padding: 4rem;
}

.news-detail__meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}

.news-detail__title {
  font-size: 28px;
  line-height: 1.7;
  color: var(--main-green);
  margin-bottom: 40px;
}

.news-detail__content {
  line-height: 2;
}

.news-detail__content p+p {
  margin-top: 1.5em;
}

.news-detail__content h2,
.news-detail__content h3 {
  margin-top: 2em;
  margin-bottom: 1em;
  color: var(--main-green);
}

.news-detail__content a {
  color: var(--main-green);
  text-decoration: underline;
}

.news-detail__back {
  margin-top: 100px;
  text-align: center;
}

@media (max-width: 767px) {
  .news-detail {
    padding: 56px 0 80px;
  }

  .news-detail__article {
    padding: 32px 20px;
    border-radius: 18px;
  }

  .news-detail__meta {
    flex-wrap: wrap;
    gap: 10px;
  }

  .news-detail__title {
    font-size: 22px;
    margin-bottom: 32px;
  }

  .breadcrumb {
    margin-bottom: 28px;
    font-size: 13px;
  }
}

/* ---------------------------------------
 Form validation
--------------------------------------- */

.form-error {
  display: block;
  margin-top: 8px;
  color: #c0392b;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.6;
}

input.is-error,
textarea.is-error,
select.is-error {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}

.form-submit input[type="submit"]:disabled {
  opacity: 0.65;
  cursor: wait;
}

.form-submit input[type="submit"].is-submitting {
  pointer-events: none;
}

/* 独自の項目別エラーを使用するため非表示 */
.wpcf7-not-valid-tip {
  display: none;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  display: none;
}

/* 送信失敗・スパム判定は表示 */
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  display: block;
}

/* ---------------------------------------
 Contact thanks
--------------------------------------- */

.contact-thanks {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 40px;
  border-radius: 24px;
  background: #fff;
  text-align: center;
}

.contact-thanks[hidden] {
  display: none;
}

.contact-thanks__title {
  margin-bottom: 24px;
  color: var(--main-green);
  font-size: 26px;
  line-height: 1.6;
}

.contact-thanks__text {
  margin-bottom: 40px;
  line-height: 2;
}

@media (max-width: 768px) {
  .contact-thanks {
    padding: 48px 20px;
    border-radius: 18px;
  }

  .contact-thanks__title {
    font-size: 21px;
  }
}

/* -------------------------------
404 page
------------------------------- */
.error404__section {
  padding: 100px 0 140px;
}

.error404__content {
  width: min(90%, 900px);
  margin: 0 auto;
  padding: 80px 40px;
  border-radius: 36px;
  background: #fff;
  text-align: center;
}

.error404__number {
  margin-bottom: 16px;
  color: var(--main-green);
  font-family: "Caveat", cursive;
  font-size: clamp(90px, 12vw, 160px);
  font-weight: 600;
  line-height: 0.8;
  opacity: 0.16;
}

.error404__title {
  margin-bottom: 24px;
  color: var(--main-green);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.7;
}

.error404__text {
  color: #555;
  font-size: 16px;
  line-height: 2;
}

.error404__buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
}

.error404__link {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  color: var(--main-green);
  font-size: 15px;
  text-decoration: none;
}

.error404__link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.error404__link:hover::after {
  transform: scaleX(0);
}

@media (max-width: 768px) {
  .error404__section {
    padding: 64px 0 96px;
  }

  .error404__content {
    width: 90%;
    padding: 56px 20px;
    border-radius: 24px;
  }

  .error404__title {
    font-size: 22px;
  }

  .error404__text {
    font-size: 15px;
  }

  .error404__buttons {
    margin-top: 40px;
  }
}