/*********************************
Variables
*********************************/
:root {
  /* Font */
  --font-family--primary: "Noto Serif JP", sans-serif;

  /* Colors */
  --color-text: #674c46;
  --color-white: #ffffff;
  --color-black: #333;
  --color-yellow: #efd839;
  --color-blue: #0099d9;
  --color--bg: #f5f5f5;
  font-size: 10px;
}

/*********************************
Common
*********************************/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--color--bg);
  font-family: var(--font-family--primary);
  font-weight: 700;
  color: var(--color-text);
  overflow-x: hidden;
}
p {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--color-text);
}
a {
  cursor: pointer;
  text-decoration: none;
}
img {
  width: 100%;
  height: auto;
  overflow: hidden;
  object-fit: cover;
}
/*
	SP,PC表示切り替え
------------------------------ */
.pc {
  display: none;
}

.sp {
  display: block;
}

@media (min-width: 1079.98px) {
  .pc {
    display: block;
  }

  .sp {
    display: none;
  }
}
/* -----------------
        HEADER
----------------- */
.top_header {
  position: relative;
  width: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.08)), url(../img/bg-sp.webp);
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: auto;
}
@media (min-width: 1079.98px) {
  .top_header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.08)), url(../img/bg-pc.webp);
    overflow: hidden;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    clip-path: ellipse(90% 100% at top center);
  }
}

.top_header h1 {
  padding-top: 193px;
  color: var(--color-white);
  text-align: center;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.65);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: 0.72px;
}

.top_header p {
  padding: 36px 0 193px;
  color: var(--color-white);
  text-align: center;
  text-shadow: 0px -1px 4px #000;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 28.4px;
  letter-spacing: 0.48px;
}
.h_logo img{
  max-width: 105px;
}
@media screen and (max-width: 1079.98px) {
  .top_header::after {
    content: none;
  }
}
.bottom_header {
  display: grid;
  justify-items: center;
  padding: 0 20px;
}
.bottom_header--title {
  padding-top: 59px;
}
.bottom_header--title h2 {
  position: relative;
  color: var(--color-text);
  text-align: center;
  font-size: 2.4rem;
  line-height: 40.8px;
  letter-spacing: 0.72px;
  z-index: 1;
}
.bottom_header--title h2 span {
  position: relative;
  z-index: 1;
}
.bottom_header--title h2 span::after {
  position: absolute;
  content: "";
  display: inline-block;
  width: 100%;
  height: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-yellow);
  bottom: 0;
  z-index: -1;
}
.bottom_header--title h2::before,
.bottom_header--title h2::after {
  position: absolute;
  content: "";
  top: 50%;
  transform: translateY(-50%);
}
.bottom_header--title h2::before {
  background: url(../img/svg/h2_decor_left.svg) no-repeat;
  background-size: cover;
  left: -40px;
  width: 40px;
  height: 38.293px;
}
.bottom_header--title h2::after {
  background: url(../img/svg/h2_decor_right.svg) no-repeat;
  background-size: cover;
  right: -40px;
  width: 40px;
  height: 34.273px;
}
.bottom_header .bottom_header--text {
  margin-top: 37px;
  text-align: center;
  text-shadow: 0px 0px 0px #fff;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 31.4px;
  letter-spacing: 0.42px;
}
.nav_item {
  margin: 32px 0 53px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  list-style: none;
  gap: 38px;
}
@media (min-width: 1023px) {
  .nav_item {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}
.nav_item li {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 210px;
  gap: 15px;
}
.nav_item li img {
  max-width: 150px;
  max-height: 120px;
  object-fit: contain;
}
.nav_item li p {
  text-align: center;
  color: var(--color-text);
  /* font-size: 2.2rem; */
  font-weight: 700;
  line-height: 32px;
  letter-spacing: 0.66px;
}
.nav_item li p span {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.42px;
}
@media (max-width: 400px) {
  .bottom_header .bottom_header--text {
    font-size: 1.3rem;
  }
  .nav_item li p span {
    font-size: 1.1rem;
  }
}
@media (min-width: 1079.98px) {
  .top_header h1 {
    padding-top: 197px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.65);
    font-size: 4.8rem;
    line-height: 65.4px;
    letter-spacing: 1.44px;
  }
  .top_header p {
    padding: 29px 0 137px;
    font-size: 1.6rem;
    line-height: 28.4px;
    letter-spacing: 0.48px;
  }
  .bottom_header--title h2 {
    font-size: 4rem;
    line-height: 40.8px;
    letter-spacing: 1.2px;
  }
  .bottom_header--title h2::before {
    width: 81.216px;
    height: 77.751px;
    left: -80px;
  }
  .bottom_header--title h2::after {
    width: 82.307px;
    height: 70.521px;
    right: -80px;
  }
  .bottom_header .bottom_header--text {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 31.4px;
    letter-spacing: 0.48px;
  }
}
/* -----------------
        MAIN
----------------- */
.section01,
.section02,
.section03,
.section04 {
  position: relative;
}
.section01::after,
.section02::after,
.section03::after,
.section04::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0a4d12;
  opacity: 0.47;
  z-index: 1;
}
.section01 {
  background: url(../img/bg_sec01.webp) no-repeat center/cover;
}
.section02 {
  background: url(../img/bg_sec02.webp) no-repeat center/cover;
}
.section03 {
  background: url(../img/bg_sec03.webp) no-repeat center/cover;
}
.section04 {
  background: url(../img/bg_sec04.webp) no-repeat center/cover;
}
.item {
  position: relative;
  padding-top: 83px;
  z-index: 2;
}
.item .item_title {
  position: relative;
  /* padding-bottom: 66px; */
  z-index: 1;
}
.item .item_title::before {
  position: absolute;
  content: "";
  background: url(../img/svg/h3_decor_center.svg) no-repeat;
  background-size: cover;
  width: 98px;
  height: 137px;
  top: -104px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}
.item .item_title::after {
  position: absolute;
  content: "";
  width: 210px;
  height: 15px;
  background-color: #fdf473;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}
.item .item_title h3 {
  position: relative;
  margin: 104px auto 0;
  text-align: center;
  color: var(--color-white);
  font-size: 3rem;
  font-weight: 700;
  line-height: 37px;
  letter-spacing: 0.9px;
  max-width: 400px;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
.item .item_title h3::before,
.item .item_title h3::after {
  position: absolute;
  content: "";
  top: 50%;
  transform: translateY(-50%);
}
.item .item_title h3::before {
  background: url(../img/svg/h3_decor_left.svg) no-repeat;
  background-size: cover;
  left: 20px;
  width: 59.234px;
  height: 52.576px;
}
.item .item_title h3::after {
  background: url(../img/svg/h3_decor_right.svg) no-repeat;
  background-size: cover;
  right: 20px;
  width: 64.177px;
  height: 60.151px;
}
.item .item_title h3 span {
  display: block;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  font-size: 2rem;
  line-height: 37px;
  letter-spacing: 0.6px;
}
/* .item_content {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 80px;
  list-style: none;
  padding: 66px 20px 100px;
}
.item_content li {
  max-width: 500px;
} */
.item_content {
  display: grid;
  grid-template-columns: 1fr; /* mặc định mobile: 1 cột */
  gap: 40px;
  list-style: none;
  padding: 66px 20px 100px;
}

/* Màn hình từ 768px trở lên: hiển thị 2 cột */
@media (min-width: 768px) {
  .item_content {
    grid-template-columns: repeat(2, 1fr);
  }
}

.item_content li {
  width: 100%;
  max-width: 100%; /* cho phép item co giãn theo grid */
}
.item_content .item_content--items,
.item_content--items .items-bottom,
.items-bottom .items-bottom--cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.item_content .item_content--items {
  padding: 24px;
  background: var(--color-white);
  border-radius: 16px;
}
.items-bottom .items-bottom--text h4 {
  color: var(--color-text);
  font-size: 2rem;
  font-weight: 700;
  line-height: 27.225px;
  letter-spacing: 0.6px;
}
.items-bottom .items-bottom--text p {
  margin-top: 16px;
  line-height: 27.225px;
  letter-spacing: 0.48px;
  text-align: left;
}
.items-bottom--cta .btn a {
  display: flex;
  align-items: center;
  color: var(--color-blue);
  text-align: center;
  font-family: "Noto Serif JP";
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 30.2px;
  letter-spacing: 0.48px;
  border-bottom: 2px solid var(--color-blue);
  max-width: fit-content;
}
.items-bottom--cta .btn a:hover{
opacity: 0.5;
}
.items-bottom--cta .btn a::after {
  content: "";
  display: inline-block;
  background: url(../img/svg/arrow_right.svg) no-repeat;
  background-size: cover;
  width: 8px;
  height: 13px;
  margin-left: 8px;
}
.items-bottom--cta .icon {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.items-bottom--cta .icon img {
  width: 60px;
  height: 60px;
}
.section02 .item .item_title::before {
  background: url(../img/svg/h3_decor_center-2.svg) no-repeat;
  background-size: cover;
  width: 155px;
  height: 130px;
  top: -130px;
}
.section02 .item .item_title h3::before,
.section03 .item .item_title h3::before {
  background: url(../img/svg/h3_decor_left-2.svg) no-repeat;
  background-size: cover;
  width: 89.73px;
  height: 79.64px;
  left: 15px;
}
.section02 .item .item_title h3::after,
.section03 .item .item_title h3::after {
  background: url(../img/svg/h3_decor_right-2.svg) no-repeat;
  background-size: cover;
  width: 104.461px;
  height: 90.606px;
  right: 0px;
}
.section03 .item .item_title::before {
  background: url(../img/svg/h3_decor_center-3.svg) no-repeat;
  background-size: cover;
  width: 105px;
  height: 134px;
  top: -134px;
}
.section04 .item .item_title::before {
  background: url(../img/svg/h3_decor_center-4.svg) no-repeat;
  background-size: cover;
  width: 97px;
  height: 134px;
  top: -134px;
}
@media (min-width: 1079.98px) {
  .section01,
  .section02,
  .section03,
  .section04 {
    background-attachment: fixed;
  }
  .section02 .item,
  .section04 .item {
    flex-direction: row;
  }
  .item {
    position: relative;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1180px;
    margin: 0 auto;
    padding: 100px 0 193px;
    gap: 93px;
  }
  .item .item_title {
    height: max-content;
    padding-top: 25px;
    /* position: sticky; */
    /* top: 120px; */
    z-index: 10;
  }
  .section02 .item .item_title {
    padding-top: 40px;
  }
  .section03 .item .item_title {
    padding-top: 60px;
  }
  .section04 .item .item_title {
    padding-top: 55px;
  }
  .item .item_title::before {
    width: 143px;
    height: 200px;
    top: 0;
  }
  .item .item_title::after {
    width: 440px;
    bottom: 0px;
  }
  .item .item_title h3 {
    max-width: 587px;
    font-size: 5rem;
    line-height: 67px;
    letter-spacing: 1.68px;
  }
  .item .item_title h3 span {
    font-size: 3.2rem;
    letter-spacing: 0.96px;
  }
  .item .item_title h3::before {
    width: 89.73px;
    height: 79.64px;
    /* left: -70px; */
  }
  .item .item_title h3::after {
    width: 97.217px;
    height: 85.848px;
    /* right: -70px; */
  }
  .item_content {
    padding: 0;
    /* max-width: 513px; */
  }
  .item_content li {
    max-width: 563px;
  }
  .section02 .item .item_title::before {
    width: 220px;
    height: 180px;
    top: 0;
  }
  .section02 .item .item_title h3::before,
  .section04 .item .item_title h3::before{
    width: 100.73px;
    height: 90.64px;
    left: -70px;
  }
  .section02 .item .item_title h3::after,
  .section04 .item .item_title h3::after{
    width: 107.46px;
    height: 97.605px;
    right: -70px;
  }
  .section02 .item .item_title::after {
    width: 220px;
  }
  .section03 .item .item_title::before {
    width: 143px;
    height: 183px;
    top: 0;
  }
  .section04 .item .item_title::before {
    width: 127px;
    height: 176px;
    top: 0;
  }
}

/* -----------------
        FOOTER
----------------- */
footer {
  overflow: hidden;
}
.footer_top {
  padding: 44px 20px;
  background: #e7fce9;
}
.footer_title {
  padding: 32px;
  border-radius: 28.366px 28.366px 28.366px 28.37px;
  background: var(--color-white);
  max-width: 600px;
  margin: 0 auto;
}
.footer_title .footer_item--title {
  position: relative;
  color: var(--color-text);
  text-align: center;
  font-size: 2.2rem;
  line-height: 32px;
  letter-spacing: 0.66px;
  max-width: 325px;
  margin: 0 auto;
}
.footer_title .footer_item--title::before,
.footer_title .footer_item--title::after {
  position: absolute;
  content: "";
  top: 50%;
  transform: translateY(-50%);
}
.footer_title .footer_item--title::before {
  background: url(../img/svg/h3_decor_left-3.svg);
  background-size: cover;
  width: 64px;
  height: 56.8px;
  left: -25px;
}
.footer_title .footer_item--title::after {
  background: url(../img/svg/h3_decor_right-3.svg);
  background-size: cover;
  width: 64px;
  height: 57px;
  right: -25px;
}

span.item_title {
  background-image: linear-gradient(to top, #efd839 16px, transparent 16px);
  background-repeat: no-repeat;
  background-size: 100% 16px;
  background-position: bottom left;
}

.footer_item--text {
  margin-top: 28px;
  color: var(--color-text);
  text-align: center;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 31.4px;
  letter-spacing: 0.42px;
}
.footer_bottom {
  padding: 54px 20px;
  background-color: #222;
  display: flex;
  flex-direction: column;
  gap: 64px;
  align-items: center;
}
.footer_bottom .footer_btn {
  padding: 24px 30px;
  border: 3px solid var(--color-white);
  border-radius: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  transition: opacity 0.5s ease;
}
.footer_bottom .footer_btn:hover {
  opacity: 0.7;
}
@media screen and (min-width: 399.98px) {
  .footer_bottom .footer_btn {
    padding: 24px 40px;
  }
}

.footer_bottom .footer_btn p {
  position: relative;
  color: var(--color-white);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.7;
}
.footer_bottom .footer_btn p::after {
  position: absolute;
  content: "";
  background: url(../img/svg/arrow_right_small.svg) no-repeat;
  top: 50%;
  transform: translateY(-50%);
  right: -20px;
  width: 12px;
  height: 20px;
}
.footer_bottom .footer_btn p span {
  font-family: Montserrat;
  font-size: 1.2rem;
}
.copyright {
  display: flex;
  height: 52px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: var(--color-white);
}
.copyright p {
  color: var(--color-text);
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
  line-height: 170%; /* 17px */
}

@media screen and (min-width: 1079.98px) {
  .footer_top {
    padding: 82px 0 116px;
  }
  .footer_title {
    max-width: 1080px;
  }
  .footer_title .footer_item--title {
    font-size: 4rem;
    line-height: 54px;
    letter-spacing: 1.2px;
    max-width: 630px;
  }
  .footer_title .footer_item--title::before {
    width: 89.73px;
    height: 79.64px;
    left: -45px;
  }
  .footer_title .footer_item--title::after {
    width: 104.46px;
    height: 92.606px;
    right: -45px;
  }
  .item_title--pc {
    display: block;
    position: relative;
    z-index: 1;
  }
  .item_title--sp {
    display: none;
  }
  .footer_bottom .footer_btn {
    gap: 35px;
  }
  .footer_bottom .footer_btn p {
    padding-right: 35px;
  }
  .footer_bottom .footer_btn p::after {
    right: -10px;
  }
}

.header_nav {
  z-index: 999;
  position: fixed;
  padding: 24px 0;
  width: 100%;
  display: flex;
  justify-content: center;
  font-family: "Noto Sans JP";
}
.h_container {
  display: flex;
  width: 100%;
  max-width: 1080px;
  height: 72px;
  padding: 0px 16px 0px 56px;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  border-radius: 34px;
  backdrop-filter: blur(12px);
  margin: 0 20px;
  transition: all 1s ease;
  position: relative;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.9);
}
.h_logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.h_link__container {
  display: flex;
  justify-content: center;
  align-items: center;

  list-style-type: none;
  font-family: "Noto Sans JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%;
  height: 100%;
  text-align: center;
  font-weight: 500;
  line-height: 120%; /* 19.2px */
}
.h_link__item {
  padding: 0 18px;
  height: 100%;
}
.h_link__item a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: var(--txt_black, #333);
}
.h_link_sp__container {
  display: none;
}
.h_link_sp__container img {
  max-width: 50px;
  height: auto;
}
.h_link_sp__container a {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--color-text);
}
.h_link_sp__container a:hover {
  color: var(--color-blue);
}

.h_link_sp__item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
  cursor: pointer;
  transition: all 1s ease;
}
.h_link_sp__item span {
  display: block;
  font-size: 9.633px;
  font-style: normal;
  font-weight: 700;
  line-height: 46.102px; /* 478.571% */
  letter-spacing: 0.289px;
}
.h_link_sp__item:hover {
  background-color: #e7e7e7;
}
.popup_container {
  background-color: #fff;
  width: 335px;
  border-radius: 24px;
  padding: 24px 20px;
  gap: 16px;
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 88px;
  right: 0px;
}
.rounded {
  border-radius: 24px;
}
/* Nav */
.buttonX {
  width: 47px;
  height: 47px;
  padding: 10px;
  box-sizing: border-box;
  cursor: pointer;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #0099d9;
  border-radius: 50%;
  background: #0099d9;
}
.buttonX span {
  display: block;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.buttonX span:nth-child(1),
.buttonX span:nth-child(2),
.buttonX span:nth-child(3) {
  width: 100%;
}
.buttonX span:nth-child(n + 4) {
  display: none;
}

.buttonX.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}
.buttonX.active span:nth-child(2) {
  display: none;
}
.buttonX.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -7px);
}
/* header-animation */
.h_link__item {
  position: relative;
  transition: 0.75s;
  z-index: 2;
  overflow: hidden;
}
.h_link__item:not(:last-child) {
  height: 100%;
}
.h_link__item:hover a {
  color: var(--color-blue);
  transition: all 0.5s;
}
.h_link__item:hover:after {
  transform: translate3D(0, 0, 0);
  transition: all 0.5s;
}
.hidden {
  opacity: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 1s ease;
}
.popdown {
  z-index: -100;
  padding-bottom: 0;
  opacity: 0;
  max-height: 0;
  overflow: hidden;

  transition: all 1s ease;
}
.show {
  padding: 24px 20px;
  z-index: 1;
  opacity: 1;
  transition: all 1s ease;
}
.h_container.scrolled {
  opacity: 0.6;
  transition: opacity 0.5s ease;
}

.h_container.scrolled:hover {
  opacity: 1;
}
@media screen and (max-width: 1079.98px) {
  .h_container {
    padding: 8px 8px 8px 20px;
    flex-wrap: wrap;
    height: auto;
  }
  .h_link__container {
    display: none;
  }
  .h_menu__btn {
    display: block;
  }
  .popup_container {
    display: none;
  }
  .h_link_sp__container {
    display: block;
    position: fixed;
    top: 0;
    left: -100%;
    width: 70vw;
    height: 100vh;
    background-color: white;
    transition: left 0.5s ease;
    z-index: 999;
    display: flex;
    flex-direction: column;
    list-style-type: none;
    padding-top: 94px;
    gap: 38px;
  }
  .h_link_sp__container.show {
    left: 0;
    font-family: "Noto Serif JP";
    font-size: 15.138px;
    font-style: normal;
    font-weight: 700;
    line-height: 22.019px;
    letter-spacing: 0.454px;
  }
  .h_link_sp__item {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  .h_link_sp__item:hover {
    background-color: #e7e7e7;
  }
  .menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
  }
  .menu-backdrop.show {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s 0s;
    /* margin-top: -24px; */
    padding: 0;
  }
  .h_container.scrolled {
    opacity: unset;
  }
}
.pageTop a {
  width: 80px;
  height: 80px;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  right: 17px;
  bottom: 20px;
  z-index: 10;
  background-color: var(--color-yellow);
  filter: drop-shadow(0px 3px 10px #3D260440);
}

.pageTop a:hover {
  background-color: var(--color-text);
}

.pageTop a img {
  width: 12px;
  transform: rotate(-90deg);
}

@media (max-width: 768px) {
  .pageTop a {
    width: 50px;
    height: 50px;
  }
}
