html {
  width: 100%;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow: scroll;
}

.section_1 *,
.section_2 *{
  max-width: 2000px;
}

.eng {
  font-family: 'Roboto Condensed', serif;
  font-style: italic;
}

header {
  background-color: #0d3e30;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  width: 150px;
  height: auto;
  margin: auto 0;
}

.mypage_header {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mypage_header a {
  white-space: nowrap;
  text-decoration: none;
  color: #ffffff;
  font-size: 0.65em;
  font-family: 'Noto Sans JP', sans-serif;
  margin-left: 20px;
  transition: all 0.4s;
}

.mypage_header a:hover {
  color: #71c94e;
  border-bottom-width: 3px;
  border-bottom-style: solid;
  border-image-source: linear-gradient(90deg, #0d3e30, #48922b, #0d3e30);
  border-image-slice: 1;
}

.header_menu {
  display: flex;
  justify-content: space-between;
  padding: 1.2vw;
  max-width: 2000px;
  margin: auto;
}

.header_sns {
  display: flex;
  color: #71c94e;
  font-size: 25px;
  margin: auto 20px;
}

.header_sns img {
  min-height: 25px;
  min-width: 25px;
  margin: auto 0 auto 1vw;
}

/* hamburger */
.checkbox {
  display: none;
}

.header_button {
  position: relative;
  background-color: white;
  height: 4rem;
  width: 4rem;
  border-radius: 50%;
  position: fixed;
  bottom: 1vw;
  right: 1vw;
  z-index: 2000;
  box-shadow: 0 1rem 3rem black;
  text-align: center;
  cursor: pointer;
}

.background {
  height: 3rem;
  width: 3rem;
  border-radius: 50%;
  position: fixed;
  bottom: 1.5vw;
  right: 1.5vw;
  background-color: #ffffff;
  z-index: 1000;
  transition: transform 0.8s cubic-bezier(0.86, 0, 0.07, 1);
}

.nav {
  height: 100vh;
  position: fixed;
  top: 0;
  right: -60vw;
  z-index: 1500;
  opacity: 0;
  width: 0;
  transition: all 0.8s;
}

.list {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  list-style: none;
  text-align: center;
  width: 100%;
}

.header_item {
  font-family: 'Noto Sans JP', sans-serif;
  margin: 0 auto;
  color: #0d3e30;
  font-size: 17px;
  max-width: 300px;
  border-bottom-width: 3px;
  border-bottom-style: solid;
  border-image-source: linear-gradient(90deg, #ffffff, #48922b, #ffffff);
  border-image-slice: 1;
}

.img_link img {
  padding-top: 1rem;
}

.sns_sp .img_link {
  text-decoration: none;
}

.link:link,
.link:visited {
  display: inline-block;
  font-size: 17px;
  font-weight: 300;
  padding: 1rem 2rem;
  color: #0d3e30;
  text-decoration: none;
  text-transform: uppercase;
  background-image: linear-gradient(120deg, transparent 0%, transparent 50%, white 50%);
  background-size: 220%;
  transition: all 0.4s;
}

.link:hover,
.link:active {
  color: lightgreen;
  cursor: pointer;
}

/* functionality */
.checkbox:checked ~ .background {
  transform: scale(80);
}

.checkbox:checked ~ .nav {
  opacity: 1;
  width: 100%;
  right: 0;
}

/*  */
/* styling hamb ICON */
.icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.icon,
.icon::before,
.icon::after {
  width: 3rem;
  height: 2px;
  background-color: gray;
  display: inline-block;
}

.icon::before,
.icon::after {
  content: '';
  position: absolute;
  left: 0;
  transition: all 0.2s;
}

.icon::before {
  top: -0.8rem;
}
.icon::after {
  top: 0.8rem;
}

.header_button:hover .icon:before {
  top: -1rem;
}
.header_button:hover .icon::after {
  top: 1rem;
}

.checkbox:checked + .header_button .icon {
  background-color: transparent;
}

.checkbox:checked + .header_button .icon::before {
  top: 0;
  transform: rotate(135deg);
}
.checkbox:checked + .header_button .icon::after {
  top: 0;
  transform: rotate(-135deg);
}

.category {
  display: flex;
  flex-wrap: wrap;
  color: #ffffff;
  padding: 2em 1vw;
  justify-content: center;
  margin: auto;
}

.category a {
  width: 210px;
  height: 100px;
  margin: 30px 1vw;
  background-image: url(../img/category_img.png);
  text-align: center;
  position: relative;
  transition: 0.3s ease-in-out;
}

.category a div {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  color: #ffffff;
  text-decoration: none;
}

.category_1:hover {
  background-image: url(../img/category_img1.png);
}
.category_2:hover {
  background-image: url(../img/category_img2.png);
}
.category_3:hover {
  background-image: url(../img/category_img3.png);
}
.category_4:hover {
  background-image: url(../img/category_img4.png);
}
.category_5:hover {
  background-image: url(../img/category_img5.png);
}
.category_6:hover {
  background-image: url(../img/category_img6.png);
}

/* 表示領域全体 */
div.container1.itmFade_3 {
  position: relative;
  max-width: auto;
  max-height: auto;
  margin: 0 auto;
}

/* 表示領域の「position: relative;」により，領域高さが0になるため，paddingで高さを確保する */
div.container1.itmFade_3::before {
  content: '';
  display: block;
  padding-top: 60%;
}

/* アニメーションの設定 */
div.container1.itmFade_3 div.item {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 100%;
  max-height: 100%;
  opacity: 0;
  animation: itmFade3-chg-itm-anim 15s infinite; /* アニメーション : 下記「@keyframes chg-itm-anim の 0% から 100% まで」を「15秒」で「無限」に繰り返す */
}

div.container1.itmFade_3 div.item img {
  width: 100%;
  height: auto;
  padding: 0 auto;
}

/* 1つ目のアイテム */
div.container1.itmFade_3 div.item:nth-of-type(1) {
  animation-delay: 0s; /* アニメーション(下記「@keyframes chg-itm-anim」)の開始を0秒遅らせる */
}
/* 2つ目のアイテム */
div.container1.itmFade_3 div.item:nth-of-type(2) {
  /**
  * アニメーションの進行(下記「@keyframes chg-itm-anim」)の開始を5秒遅らせる
  * (上記アニメーション全体15秒の1/3，1枚目のアニメーションが33%に到達(フェードアウト開始)した時に2枚目のアニメーション(フェードイン)開始)
  **/
  animation-delay: 5s;
}
/* 3つ目のアイテム */
div.container1.itmFade_3 div.item:nth-of-type(3) {
  /**
   * アニメーションの進行(下記「@keyframes chg-itm-anim」)の開始を10秒遅らせる
   * (上記アニメーション全体15秒の1/3，2枚目のアニメーションが33%に到達(フェードアウト開始)した時に3枚目のアニメーション(フェードイン)開始)
   **/
  animation-delay: 10s;
}

/* アニメーションの進行 */
@keyframes itmFade3-chg-itm-anim {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
    z-index: 3;
  }
  33% {
    opacity: 1;
  }
  /**
           * 画像が3枚のため1枚当たり33%
           * 1枚目->2枚目(33%・不透明から50%・透明)にフェードして切り替える
           * 50%到達(全体アニメーション時間の半分)で前の画像が見えなくなる
           */
  50% {
    opacity: 0;
    z-index: 1;
  }
  100% {
    opacity: 0;
  }
}

.section_1 {
  background-color: #0d3e30;
  padding-bottom: 30px;
}

.section_2 {
  background-color: #ffffff;
  position: relative;
  z-index: 1;
}

.section_2_img {
  position: absolute;
  width: 100vw;
  max-width: 2000px;
  top: 0;
  right: 0;
  z-index: -1;
}

.top_news,
.top_about,
.top_servise {
  display: flex;
  justify-content: center;
  margin: auto;
}

.top_servise {
  padding-top: 8vw;
}


.top_about {
  padding-top: 13vw;
}

.news_content {
  display: flex;
  margin: 2vw auto;
  max-width: 1000px;
  width: 80vw;
  justify-content: center;
}

ul {
  width: fit-content;
}

.news_content li {
  display: flex;
  flex-wrap: wrap;
  padding: 15px;
  color: #ffffff;
  widows: 100vw;
}

.news_pop {
  display: flex;
}

.day {
  width: 80px;
}

.label {
  padding: 2px 5px;
  margin: 0 2vw;
  width: 70px;
  height: fit-content;
  text-align: center;
  white-space: nowrap;
  background-color: #48922b;
}

.text {
  color: #ffffff;
  text-decoration: none;
}

.news_content li{
  border-bottom-width: 2px;
  border-bottom-style: solid;
  border-image-source:  linear-gradient(90deg, #0d3e30, #0d3e30, #0d3e30);
  border-image-slice: 1;
  transition: 0.3s ease-in-out;
}

.news_content li:hover {
  border-image-source: linear-gradient(90deg, #0d3e30, #48922b, #0d3e30);
}

.button_common {
  display: flex;
  justify-content: center;
  margin-bottom: 5vw;
}

.button_common a {
  display: inline-block;
  font-family: 'Roboto Condensed', serif;
  color: #ffffff;
  text-decoration: none;
  background-color: #48922b;
  width: 201px;
  text-align: center;
  padding: 10px 0;
  transition: 0.3s ease-in-out;
}

.button_common a:hover {
  background-color: #006837;
}

.about_content,
.servise_content {
  padding: 40px;
  margin: auto;
}

.text_mein {
  text-align: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 40px;
}

.text_sub {
  width: 45vw;
  font-size: 1.1em;
  margin: 0 auto;
}

.text_center {
  text-align: center;
  width: 100%;
}

.event_content {
  border-width: 2px;
  border-style: solid;
  border-image-source: linear-gradient(60deg, #48922b, #ffffff, #48922b);
  border-image-slice: 1;
  width: 80vw;
  margin: 0 auto;
  margin-bottom: 7vw;
}

.event_content *{
 max-width: 1500px;
}

.event_img {
  padding: 1vw;
  margin: auto;
}

.event_img img{
  width: 78vw;
}

.event_name {
  text-align: center;
  font-size: 2em;
  font-weight: bold;
  border-bottom-width: 3px;
  border-bottom-style: solid;
  border-image-source: linear-gradient(90deg, #ffffff, #48922b, #ffffff);
  border-image-slice: 1;
  width: 60vw;
  margin: 0 auto;
  padding-bottom: 20px;
}

.event_text {
  width: 60vw;
  font-size: 1.1em;
  margin: 20px auto;
}

.button_event {
  display: flex;
  justify-content: center;
  max-width: 1500px;
  margin: 5vw auto;
}

.button_event a {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.1em;
  color: #ffffff;
  text-decoration: none;
  background: linear-gradient(0deg, #234f11, #48922b);
  width: 58vw;
  text-align: center;
  padding: 25px 0;
  position: relative;
}

.button_event a:hover {
  background: linear-gradient(0deg, #1e440f, #397521);
}

.event_arrow {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 0.8em;
  height: 0.8em;
  border: 0.3em solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
}


.button_entry a {
  background: linear-gradient(0deg, #3e330d, #b2932d);
}

.button_entry a:hover {
  background: linear-gradient(0deg, #231c07, #886f1f);
}

footer,
footer a {
  background-color: #0d3e30;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: lighter;
}

.footer_info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 5vw 15vw;
  max-width: 1500px;
  margin: auto;
}

.info_1_1,
.info_2_1 {
  margin-top: 20px;
}

.footer_img {
  padding-bottom: 30px;
  display: flex;
  justify-content: center;
}

.footer_img img {
  margin: 0 auto;
}

.sp {
  display: none;
}

.kari_event{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: -4vw;
  color: red;
}




@media screen and (max-width: 700px) {
  * {
    font-size: 0.9em;
  }

  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  .logo,
  .nav .logo {
    width: 120px;
    height: auto;
    margin: 8px 0;
  }

  .header_sns {
    margin: auto 0;
  }

  .header_button {
    position: relative;
    height: 3rem;
    width: 3rem;
    top: 0;
    right: 0;
    margin-left: 5px;
    background-color: #0d3e30;
    border-width: 2px;
    border-style: solid;
    border-color: #ffffff;
  }

  .background {
    height: 1.8rem;
    width: 1.8rem;
    top: 10px;
    right: 25px;
  }
  .header_button {
    box-shadow: none;
  }

  .checkbox:checked ~ .header_button {
    background-color: #ffffff;
    border-color: #0d3e30;
  }

  .checkbox:checked ~ .header_button .icon::before,
  .checkbox:checked ~ .header_button .icon::after {
    background-color: #0d3e30;
  }

  .icon,
  .icon::before,
  .icon::after {
    width: 2rem;
    background-color: #ffffff;
  }

  .sp_img {
    width: auto;
    height: 3em;
    padding: 0;
  }

  /* 表示領域の「position: relative;」により，領域高さが0になるため，paddingで高さを確保する */
  div.container1.itmFade_3::before {
    padding-top: 180%;
  }

  .category {
    display: none;
  }

  .news_content,
  .top_about,
  .about_content,
  .servise_content,
  .top_servise {
    margin: 0 auto;
    padding: 1em 3vw;
    width: 90vw;
  }

  .top_about,
  .top_servise {
    padding-top: 4em;
  }

  .top_about img {
    margin: auto auto auto 10px;
  }

  .top_news {
    justify-content: space-between;
    margin: auto 5vw;
  }

  .button_news a {
    font-size: 15px;
    width: 150px;
    margin-bottom: 0;
    padding: 10px 0;
  }

  ul {
    padding: 0;
  }

  .day {
    padding-left: 10px;
  }

  .label {
    padding: 2px 5px;
    margin: 0 10px;
  }

  .text_mein {
    font-size: 1.2em;
    margin: 20px 10px;
  }

  .text_sub {
    width: 87vw;
    margin: 20px auto;
  }

  .button_common {
    margin-bottom: 0;
  }
  .event_content {
    width: 90vw;
  }
  .event_img img,
  .event_name {
    width: 88vw;
    font-size: 1.2em;
  }

  .event_name {
    padding-bottom: 10px;
  }

  .event_text {
    width: 83vw;
    font-size: 1em;
  }

  .button_event a {
    padding: 15px;
  }

  .footer_info {
    padding: 2vw 3vw;
  }
  .info_1_1,
  .info_2_1 {
    margin-top: 8px;
  }
  .info_1,
  .info_2 {
    margin: 10px auto 10px 10px;
  }

  .button_entry a{
    font-size: 0.97em;
  }
}
