/* style.css */
:root {
  /* Colors */
  --c-primary: #8ec31f;
  --c-accent: #cd4f37;
  --c-secondary: #8ec31f;
  --c-text: #333333;
  --c-text-light: #666666;
  --c-bg: #ffffff;
  --c-bg-light: #f9fcf4;
  --c-white: #ffffff;
  --c-border: #e8e8e8;

  /* Typography */
  --font-family: "M PLUS 2", "Noto Sans JP", sans-serif;
  --fs-base: 16px;
  --lh-base: 1.8;

  /* Spacing */
  --space-xs: 4px;
  --space-s: 8px;
  --space-m: 16px;
  --space-l: 24px;
  --space-xl: 48px;
  --space-xxl: 80px;
  --space-section: 120px;

  /* Misc */
  --header-height: 90px;
  --border-radius: 24px;
  --transition: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

/* Base & Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: var(--fs-base);
}
body {
  font-family: var(--font-family);
  color: var(--c-text);
  background-color: var(--c-bg);
  line-height: var(--lh-base);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-feature-settings: "palt";
}
body.is-menu-open {
  overflow: hidden;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1.4;
}

/* Utility */
.point {
  color: var(--c-primary);
  font-weight: 700;
}
.button {
  display: inline-block;
  background: var(--c-accent);
  color: var(--c-white);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.7em 2.8em 0.9em 2.8em;
  border-radius: 50px;
  border: none;
  transition: var(--transition);
  box-shadow: 0 5px 20px rgba(205, 79, 55, 0.25);
  cursor: pointer;
}
.button:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(205, 79, 55, 0.35);
}
.button.-primary {
  background: var(--c-primary);
  box-shadow: 0 5px 20px rgba(63, 14, 2, 0.3);
}
.button.-secondary {
  background: var(--c-secondary);
  box-shadow: 0 5px 20px rgba(0, 74, 173, 0.25);
}
.button.-secondary:hover {
  box-shadow: 0 10px 25px rgba(0, 74, 173, 0.35);
}

/* オープニング　ハンド対応 */
.opening_container {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  background: #8fc31f;
  width: 100%;
  height: 100dvh;
  transition: 1s;
}
.opening_container.active {
  opacity: 0;
  visibility: hidden;
}

.opening_logo {
  position: absolute;
  /* z-index: 10;*/
  top: 50%;
  left: 50%;
  width: 320px;
  transform: translate(-50%, -50%);
  opacity: 0;
  visibility: hidden;
  transition: 1s;
}

.opening_logo img {
  width: 100%;
  height: auto;
}

.opening_logo.active {
  opacity: 1;
  visibility: visible;
}

.opening_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateY(100%);
  transition: 1s;
}

.opening_bg.green {
  z-index: 2;
  background-color: #8ec31f;
}

.opening_bg.brown {
  z-index: 1;
  background-color: #cd4f37;
}

.opening_bg.active {
  transform: translateY(-100vh);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: background-color 0.3s, box-shadow 0.3s;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}
.header.is-scrolled {
  backdrop-filter: blur(4px);
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); */
}
.header__inner {
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--space-l);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo {
  width: 180px;
  z-index: 1001;
  margin-right: var(--space-l);
}
.header__logo img {
  filter: drop-shadow(#33333357 0px 0px 8px);
}
.header__nav-list {
  display: flex;
  gap: var(--space-xs);
}
.header__nav {
  margin-right: auto;
}
.header__nav-item a {
  color: var(--c-white);
  font-weight: 700;
  padding: var(--space-m) var(--space-s);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  position: relative;
  transition: color 0.3s;
}
.header.is-scrolled .header__nav-item a {
  color: var(--c-white);
  text-shadow: none;
}
.header.is-scrolled .header__nav-item a:hover {
  color: var(--c-primary);
}
.header__nav-item a::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--c-primary);
  transition: width var(--transition);
}
.header__nav-item a:hover::after {
  width: calc(100% - var(--space-m) * 2);
}
.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-m);
}
.hamburger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.hamburger__bar {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--c-white);
  border-radius: 3px;
  position: absolute;
  left: 8px;
  transition: transform 0.3s, opacity 0.3s, top 0.3s;
}
.header.is-scrolled .hamburger__bar {
  background-color: var(--c-white);
}
.hamburger__bar:nth-child(1) {
  top: 13px;
}
.hamburger__bar:nth-child(2) {
  top: 21px;
}
.is-menu-open .hamburger__bar {
  background-color: var(--c-white);
  top: 20px;
}
.is-menu-open .hamburger__bar:nth-child(1) {
  transform: rotate(45deg);
}
.is-menu-open .hamburger__bar:nth-child(2) {
  transform: rotate(-45deg);
}

/* キービジュアル　ハンド対応 */
.hero__title-area {
  display: flex;
  align-items: bottom;
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-s);
  overflow: hidden;
}
.hero__bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: url(../images/kv_bg.png) center center / cover no-repeat;
  animation: heroZoom 10s ease-out forwards;
  animation-delay: 3.5s;
}
@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05);
  }
}
.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  opacity: 0;
  animation: contentFadeIn 1s 3.5s forwards;
  margin-top: auto;
  margin-right: var(--space-m);
}
@keyframes contentFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero__title {
  width: 100%;
  margin-bottom: var(--space-xs);
}
.hero__adoption {
  width: 440px;
  margin-top: auto;
  margin-bottom: var(--space-m);
}
.hero__adoption-text {
  color: var(--c-white);
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  margin-bottom: var(--space-xs);
  text-align: center;
}
.hero__adoption-logos {
  display: flex;
  align-items: center;
  gap: var(--space-m);
  padding: var(--space-m) var(--space-m);
  border-radius: var(--space-m);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
}
.hero__adoption-logos img {
  width: 46%;
  height: auto;
}
/* .hero__scrolldown {
  position: absolute;
  bottom: var(--space-l);
  left: 50%;
  transform: translateX(-50%);
  color: var(--c-white);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  opacity: 0;
  animation: contentFadeIn 1s 4.5s forwards;
}
.hero__scrolldown::after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  background-color: var(--c-white);
  margin: var(--space-s) auto 0;
  animation: scroll-line 2s infinite ease-out;
}
@keyframes scroll-line {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
} */

/* 追加 */
main .character_area {
  background-color: #8ec31f;
  width: 100%;
  border-radius: 0px 0px 54px 54px;
  padding: var(--space-l);
  text-align: center;
  box-sizing: border-box;
}

main .character_area .character_area_inner {
  text-align: center;
}

main .character_area .character_area_inner .txt {
  display: block;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 5px;
}

main .character_area .character_area_inner a {
  display: inline-block;
  text-align: center;
}

/* ループテキストのアニメーション */

.txt_loop_box {
  overflow: hidden;
  width: calc(100vw - 48px);
  height: 217.87px;
  background: url(../images/loop_txt.png) repeat-x;
  background-size: 2506px 217.87px;
  border-radius: 0px 0px 40px 40px;
}

main .character_area .txt_loop_box {
  margin-top: 40px;
}

/* Promo Banner */
.promo-banner {
  background: var(--c-accent);
  color: var(--c-white);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-l);
}
.promo-banner__text {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
}

/* Section */
.section {
  padding: var(--space-section) 0;
}
.section__promo {
  margin-top: var(--space-m);
}
.section.-bg-light {
  background-color: var(--c-bg-light);
}
.section__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-l);
}
.section__container.-wide {
  max-width: 1440px;
}
.section__container.-promo {
  margin-top: calc(-1 * var(--space-section) / 2);
  position: relative;
  z-index: 2;
}
.section__header {
  text-align: left;
  margin-bottom: var(--space-xl);
}
.section__header.-left {
  text-align: left;
}
.section__eng-title {
  color: var(--c-accent);
  font-weight: 700;
  margin-bottom: var(--space-s);
}
.section__title {
  color: var(--c-secondary);
  font-size: clamp(3.8rem, 5vw, 10rem);
  font-weight: 900;
  line-height: 120%;
}
.section__subtitle {
  color: var(--c-text-light);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 400;
  margin-top: var(--space-m);
  font-feature-settings: "palt";
}

/* Feature Section */
.feature-list {
  display: grid;
  gap: var(--space-section);
}
.feature-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(var(--space-l), 5vw, var(--space-xxl));
}
.feature-card.-reverse .feature-card__image-wrapper {
  order: 2;
}
.feature-card__image-wrapper {
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.feature-card__content {
  grid-column: span 1;
}
.feature-card.-reverse .feature-card__content {
  order: 1;
}
.feature-card__number {
  font-family: "Inter", sans-serif;
  color: #8fc31f7e;
  font-size: 4rem;
  font-weight: 900;
  line-height: 130%;
  letter-spacing: 2px;
}
.feature-card__title {
  color: var(--c-text);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--space-m);
}

/* Usage Section */
.usage-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  gap: clamp(var(--space-l), 5vw, var(--space-xxl));
}
.usage-content__text h3 {
  margin-top: -12px;
}
.usage-content__text .txt {
  margin-bottom: var(--space-l);
}
.usage-content__subtitle {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: var(--space-m);
}
.usage-content__image-wrapper {
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Testimonial Section */
.testimonial-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: var(--space-m) 0 calc(var(--space-xl) + var(--space-l));
}
.testimonial-slider .swiper-slide {
  height: auto;
  padding: 0 var(--space-s);
}
.testimonial-card {
  background-color: var(--c-bg-light);
  padding: var(--space-xl);
  border-radius: var(--border-radius);
  border-top: 5px solid var(--c-primary);
  position: relative;
  height: 100%;
}
.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 5px;
  left: var(--space-l);
  font-size: 6rem;
  color: rgba(142, 195, 31, 0.15);
  line-height: 1;
  font-family: serif;
}
.testimonial-card__text {
  position: relative;
  z-index: 1;
}

/* Swiper custom styles */
.swiper-pagination {
  bottom: var(--space-m) !important;
}
.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #ccc;
  opacity: 1;
}
.swiper-pagination-bullet-active {
  background-color: var(--c-primary);
}
.swiper-button-next,
.swiper-button-prev {
  width: 50px;
  height: 50px;
  background-color: var(--c-white);
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--c-secondary) !important;
  transition: var(--transition);
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: var(--c-secondary);
  color: var(--c-white) !important;
}
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.25rem !important;
  font-weight: bold;
}

/* Utilize Section */
.utilize-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  gap: clamp(var(--space-l), 5vw, var(--space-xxl));
}
.utilize-content__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: var(--space-m);
}
.utilize-content p {
  margin-bottom: var(--space-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  background-color: var(--c-primary);
  color: var(--c-white);
  padding-top: var(--space-xl);
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}
.footer__inner__logo {
  width: 320px;
  height: auto;
  margin: 0 auto var(--space-xl);
}
.footer__inner__logo img {
  width: 100%;
  height: auto;
}

.loop-slider {
  overflow: hidden;
  margin-top: var(--space-l);
}
.loop-slider__inner {
  height: 218px;
  background: url(../images/loop_txt.png) repeat-x;
  background-size: 2506px 218px;
  animation: loop 80s linear infinite;
}
@keyframes loop {
  from {
    background-position: 2506px 0;
  }
  to {
    background-position: 0 0;
  }
}
.footer__inner {
  padding: var(--space-xs) 0 var(--space-s) 0;
  text-align: center;
}
.footer__copyright {
  font-size: 0.8rem;
}

/* Animations */
.an-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s var(--transition), transform 1s var(--transition);
}
.an-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sp-only {
  display: none;
}

/* 追加youtube */
.youtube {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 64px;
}
.youtube iframe {
  width: 100%;
  height: 100%;
}

/* Responsive */
@media (max-width: 960px) {
  :root {
    --header-height: 80px;
  }
  .feature-card,
  .feature-card.-reverse,
  .usage-content {
    grid-template-columns: 1fr;
    /* text-align: center; */
  }
  .feature-card.-reverse .feature-card__image-wrapper,
  .usage-content__image-wrapper {
    order: -1;
  }
  .promo-banner {
    flex-direction: column;
    text-align: center;
  }
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
  .header__nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background-color: #0e2306c8;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform var(--transition);
    z-index: 1000;
  }
  .header__nav.is-open {
    transform: translateY(0);
  }
  .header__nav-list {
    flex-direction: column;
    gap: var(--space-l);
  }
  .header__nav-item a {
    font-size: 1.5rem;
    color: #ffffff;
    text-shadow: none;
  }
  .header__actions .button {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .hero {
    height: 100dvh;
  }
  .hero__content {
    margin-right: 0;
  }
  .hero__title-area {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
  }
  .hero__title {
    width: 100%;
  }
  .hero__adoption {
    display: none;
    margin-left: auto;
  }
  .hero__adoption-logos {
    flex-direction: row;
    width: fit-content;
    margin: 0 auto;
  }
  .hero__adoption-logos img {
    max-height: 40px;
  }
  .section__promo {
    padding-top: var(--space-xxl);
    margin-top: 0;
  }
  .promo-banner {
    padding: var(--space-xl) var(--space-l);
  }
  .promo-banner__text {
    font-size: 1.1rem;
  }
  main .character_area .txt_loop_box {
    margin-top: 4px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
    --space-section: 100px;
  }
  .hero__bg-image {
    background: url(../images/kv_bg.png) 43% center / cover no-repeat;
  }
  .utilize-content {
    display: block;
  }
  .usage-content__image-wrapper {
    margin-top: var(--space-xl);
  }
  .footer {
    padding-top: var(--space-l);
  }
  .footer__inner__logo {
    width: 200px;
    margin-bottom: var(--space-s);
  }
  .sp-hidden {
    display: none;
  }
  .sp-only {
    display: block;
  }
}
