/* 共通項目 */
* {
  box-sizing: border-box;
}

h1 {
  font-size: clamp(16px, calc(20.12px + 1.036vw), 40px);
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  color: #231815;
  display: block;
  letter-spacing: 1.5px;
}

h2 {
  font-size: clamp(16px, calc(16.12px + 1.036vw), 28px);
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  color: #231815;
  display: block;
  letter-spacing: 1.5px;
}

h3 {
  font-size: clamp(16px, calc(15.03px + 0.259vw), 20px);
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  color: #231815;
  display: block;
  letter-spacing: 1.5px;
}

h4 {
  font-size: clamp(14px, calc(15.03px + 0.259vw), 16px);
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  color: #231815;
  display: block;
  letter-spacing: 1.5px;
}

p {
  font-size: clamp(12px, calc(11.03px + 0.259vw), 14px);
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 400;
  color: #231815;
  display: block;
  letter-spacing: 1.5px;
}

span {
  font-size: clamp(12px, calc(11.03px + 0.259vw), 14px);
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  color: #231815;
  display: block;
  letter-spacing: 1.5px;
}

img {
  height: 100%;
  width: 100%;
}

.orange {
  color: #ffab66;
}

body {
  max-width: 1920px;
}

/* ここからヘッダー */

body {
  position: relative;
  background-color: #fcf2de;
}

/* ------------------ */
/* サイドメニュー */
/* ------------------ */

.side_menu {
  position: fixed;
  top: 0;
  left: 3.125%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  z-index: 100;
}

@media (max-width: 1000px) {
  .side_menu {
    display: none;
  }
}

/* ------------------ */
/* メイン */
/* ------------------ */

.main_contents {
  margin-left: 260px;
}

/* ------------------ */
/* header */
/* ------------------ */
.header_migi {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.header_inner {
  width: 140px;
  height: fit-content;
  background: #7db89a;
  border-radius: 0 0 50px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  box-shadow: 0 0 2px #000;
}

.header_logo {
  width: 80px;
  height: auto;
  margin-top: 20px;
}

.header_nav {
  flex: 1;
  display: flex;
  align-items: center;
}

.header_nav_list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.header_nav_item a {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #f6f7f8;
  line-height: 1;
  letter-spacing: 1.5px;
}

.header_copy {
  margin-bottom: 20px;
  font-size: 10px;
  color: #231815;
  white-space: nowrap;
}

.header_beginner_btn {
  width: 120px;
  height: 120px;
  margin-top: 40px;
  border-radius: 50%;
  background: #ffab66;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  color: #f6f7f8;
  box-shadow: 0 0 2px #000;
}

/* ヘッダーここまで */

/* スマホヘッダーここから */

.sp_header {
  display: none;
}

@media(max-width:1000px) {
  .sp_header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: #7db89a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 9999;
    box-shadow: 0 0 4px rgba(0, 0, 0, .2);
  }

}

.sp_header_logo {
  width: 40px;
  flex-shrink: 0;
}

.sp_header_logo img {
  width: 100%;
  display: block;
}

.sp_beginner_btn {
  width: 180px;
  height: 34px;
  border-radius: 999px;
  background: #ffab66;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 14px;
  color: #fff;
  font-weight: 500;
  transition: .3s;
}

.sp_beginner_btn:hover {
  opacity: .8;
}

#menu_btn {
  display: none;
}

/* ハンバーガー */

.hamburger {
  width: 32px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  z-index: 10001;
  flex-shrink: 0;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 10px;
  transition: .3s;
}

#menu_btn:checked+.hamburger span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

#menu_btn:checked+.hamburger span:nth-child(2) {
  opacity: 0;
}

#menu_btn:checked+.hamburger span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.sp_nav {
  position: fixed;
  top: 50px;
  left: -100%;
  width: 100%;
  height: calc(100vh - 50px);
  background: #7db89a;
  transition: .4s;
  z-index: 9990;
}

#menu_btn:checked+.hamburger+.sp_nav {
  left: 0;
}

.sp_nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  height: 100%;
}

.sp_nav li a {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 24px;
  color: #fff;
  letter-spacing: .08em;
}

@media(min-width:1001px) {
  .sp_header {
    display: none;
  }

}

/* スマホヘッダーここまで */

/* 汎用ボタン */
.button_link {
  width: 200px;
  height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8px 0 20px;
  background-color: #ffab66;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.button_text {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  color: #3d2a20;
  letter-spacing: 1px;
}

@media (max-width: 1000px) {
  .button_text {
    font-size: 12px;
  }
}

.button_arrow {
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ff7a00;
  border-radius: 50%;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #f6f7f8;
  flex-shrink: 0;
}

@media (max-width: 1000px) {
  .button_arrow {
    width: 20px;
    height: 20px;
  }
}

.header_nav_item.active a {
  color: #ffab66;
  font-weight: 700;
}

.header_nav_item a {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 20px;
  font-weight: 400;

  color: #f6f7f8;
  line-height: 1;
  letter-spacing: 1.5px;

  transition: all 0.3s ease;
}

.header_nav_item a:hover {
  color: #ffab66;

  transform: translateY(-3px);

  opacity: 0.9;
}

.header_beginner_btn {
  transition: all 0.35s ease;
}

.header_beginner_btn:hover {
  transform: translateY(-6px) scale(1.05);

  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.button_link {
  transition: all 0.35s ease;
}

.button_link:hover {
  transform: translateY(-4px);

  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);

  background-color: #ffb87d;
}

.button_link:hover .button_arrow {
  transform: translateX(4px);
}

.button_arrow {
  transition: all 0.3s ease;
}

.header_nav_item a {
  position: relative;
  transition: color 0.3s ease;
}

.header_nav_item a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #ffab66;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.header_nav_item a:hover::after,
.header_nav_item.active a::after {
  width: 100%;
}

.header_nav_item.active a {
  color: #ffab66;
}

/* ここまで汎用ボタン */

/* ここからフッター */
.footer {}

.footer_inner {
  position: relative;
  overflow: hidden;
}

.footer_tree {
  position: absolute;
  height: 100vh;
  bottom: 10px;
  right: 0;
  z-index: 2;
  display: none;
}

.footer_top {}

.footer_person_left {
  position: absolute;
  width: 230px;
  bottom: -55%;
  left: -100px;
}

@media (max-width: 1000px) {
  .footer_person_left {
    width: 90px;
    bottom: -35%;
    left: 0px;
  }
}

.footer_person_right {
  position: absolute;
  width: 250px;
  bottom: -55%;
  right: -100px;
}

@media (max-width: 1000px) {
  .footer_person_right {
    width: 100px;
    bottom: -35%;
    right: 0px;
  }
}

.footer_top_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: -20px;
}

.footer_bird {
  width: 400px;
  height: auto;
  display: block;
  margin-bottom: -7px;
  z-index: 2;
}

@media (max-width: 1000px) {
  .footer_bird {
    width: 300px;
  }
}

.footer_bird_img {}

.footer_bbox {
  width: fit-content;
  height: fit-content;
  padding: 30px;
  background-color: #a27c57;
  border-radius: 50px;
  position: relative;
}

@media (max-width: 1000px) {
  .footer_bbox {
    padding: 10px;
    border-radius: 30px;
    margin-right: 20px;
    margin-left: 20px;
  }
}

.footer_box {
  width: 900px;
  background-color: #fffdee;
  display: flex;
  justify-content: space-around;
  padding: 40px;
  border-radius: 30px;
}

@media (max-width: 1000px) {
  .footer_box {
    flex-direction: column;
    gap: 20px;
    width: fit-content;
    height: auto;
    padding: 20px;
    border-radius: 20px;
  }
}

.footer_top_inner_text {
  display: flex;
  flex-direction: column;
  width: 50%;
  gap: 40px;
}

@media (max-width: 1000px) {
  .footer_top_inner_text {
    width: 100%;
  }
}

.footer_ttl {
  gap: 10px;
}

.footer_contact {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #ffab66;
  display: block;
  letter-spacing: 1px;
}

.footer_title {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 28px;
  font-weight: 500;
  color: #231815;
  display: block;
  letter-spacing: 1px;
}

.footer_text {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #231815;
  display: block;
  letter-spacing: 1px;
}

@media (max-width: 1000px) {
  .footer_contact {
    font-size: 12px;
  }

  .footer_title {
    font-size: 20px;
  }

  .footer_text {
    font-size: 12px;
  }
}

.footer_btn_group {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

@media (max-width: 1000px) {
  .footer_btn_group {
    gap: 10px;
    align-items: center;
  }
}

.footer_asi {
  width: 500px;
  display: block;
}

@media (max-width: 1000px) {
  .footer_asi {
    width: 300px;
  }
}

.footer_bottom {
  width: 100%;
  height: auto;
  padding: 40px 240px;
  background-color: #7db89a;
}

@media (max-width: 1000px) {
  .footer_bottom {
    padding: 20px;
  }
}

.footer_bottom_inner {}

.footer_company {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer_company_box {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer_logo {
  width: 55px;
  height: 45px;
  display: block;
}

.footer_company_name {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #231815;
  display: block;
  letter-spacing: 1px;
}

.footer_company_box2 {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer_address {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #231815;
  display: block;
  letter-spacing: 1px;
}

.footer_mail {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #231815;
  display: block;
  letter-spacing: 1px;
}

.footer_tel {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #231815;
  display: block;
  letter-spacing: 1px;
}

.footer_tyuui {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #231815;
  display: block;
  letter-spacing: 1px;
}

@media (max-width: 1000px) {
  .footer_logo {
    width: 40px;
    display: block;
  }

  .footer_company_name {
    font-size: 20px;
  }

  .footer_mail {
    font-size: 12px;
  }

  .footer_tel {
    font-size: 12px;
  }

  .footer_tyuui {
    font-size: 10px;
  }
}

/* 上から降るはっぱたち */
/*=========================================
葉っぱアニメーション
=========================================*/

.leaf_container {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.leaf {
  position: absolute;
  top: -150px;
  width: 40px;
  height: auto;
  will-change: transform;
  animation-name: leafFall;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}

@keyframes leafFall {
  0% {
    transform: translate(0px, 0px) rotate(0deg);
  }

  20% {
    transform: translate(-30px, 20vh) rotate(70deg);
  }

  40% {
    transform: translate(40px, 40vh) rotate(150deg);
  }

  60% {
    transform: translate(-20px, 60vh) rotate(230deg);
  }

  80% {
    transform: translate(35px, 80vh) rotate(310deg);
  }

  100% {
    transform: translate(-10px, 110vh) rotate(380deg);
  }
}