* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--color-scrollbar, rgba(0, 0, 0, 0.2)) transparent;
}
body,
html,
#root {
  height: 100%;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-size: 18px;
  color: #2A2D84;
  line-height: 1.6; 
}
a {
  text-decoration: none;
  color: #2A2D84;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}
.show-pc {display: inline-block;}
.show-tablet {display: none;}
.show-sp {display: none}

/* Utility Classes */

/* Text Utilities */
.text-xs { font-size: 12px; }
.text-sm { font-size: 14px; }
.text-base { font-size: 16px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 20px; }
.text-2xl { font-size: 24px; }
.text-3xl { font-size: 30px; }
.text-4xl { font-size: 32px; }
.text-10xl { font-size: 64px; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.font-normal { font-weight: normal; }
.font-bold { font-weight: bold; }

.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-normal { line-height: 1.6; }
.leading-relaxed { line-height: 2; }

.tracking-normal { letter-spacing: normal; }
.tracking-wide { letter-spacing: 5px; }

.text-primary { color: #2A2D84; }
.text-white { color: #fff; }
.text-accent { color: #9D9EC6; }

/* Layout Utilities */
.flex { display: flex; }
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none; }

.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }

.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }

.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }

.flex-grow { flex-grow: 1; }
.flex-shrink-0 { flex-shrink: 0; }

.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 20px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.gap-12 { gap: 48px; }
.gap-16 { gap: 64px; }

/* Margin Utilities */
.m-0 { margin: 0; }
.m-auto { margin: 0 auto; }

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mt-16 { margin-top: 64px; }
.mt-18 { margin-top: 72px; }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-16 { margin-bottom: 64px; }

/* Padding Utilities */
.p-0 { padding: 0; }
.p-4 { padding: 16px; }
.p-6 { padding: 24px; }
.p-8 { padding: 32px; }
.p-10 { padding: 40px; }
.p-20 { padding: 80px; }

.pt-10 { padding-top: 40px; }
.pt-16 { padding-top: 64px; }
.pt-20 { padding-top: 80px; }
.pt-22 { padding-top: 90px; }

.pb-16 { padding-bottom: 64px; }

/* Width & Height Utilities */
.w-full { width: 100%; }
.w-half { width: 50%; }
.w-auto { width: auto; }

.h-full { height: 100%; }
.h-auto { height: auto; }
.h-200 { height: 800px; }

.max-w-xs { max-width: 320px; }
.max-w-sm { max-width: 528px; }
.max-w-4xl { max-width: 900px; }

/* Position Utilities */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }

.top-0 { top: 0; }
.left-0 { left: 0; }
.z-1 { z-index: 1; }
.z-10 { z-index: 10; }
.z-100 { z-index: 100; }

/* Border & Shadow Utilities */
.border { border: 1px solid #BDBED9; }
.rounded { border-radius: 8px; }
.shadow { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -2px rgba(0, 0, 0, 0.05); }

/* Background Utilities */
.bg-white { background-color: #fff; }
.bg-primary { background-color: #2A2D84; }

.font-mincho {
  font-family: 'Shippori Mincho', serif;
}
.font-en {
  font-family: 'Jost', sans-serif;
}

.button {
  display: flex;
  background-color: #2A2D84;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 16px;
  justify-content: center;
}

/* Header */
header {
  font-size: 16px;
  position: fixed;
  top: 0; 
  width: 100%;
  left: 0;
  z-index: 100;
  height: 90px;
  background-color: #fff;
}

.header-wrapper {
  display: flex;
  gap: 20px;
  padding: 24px 80px;
  margin: 0 auto;
  align-items: center;
}
header .logo {
  width: 310px;
}
header nav {
  flex-grow: 1;
}

header nav ul {
  display: flex;
  gap: 32px;
  justify-content: center;
}

/* ハンバーガーメニュー - デフォルトは非表示 */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
}

.hamburger-icon,
.close-icon {
  transition: opacity 0.3s ease;
}

.hamburger .close-icon {
  position: absolute;
  top: 8px;
  left: 8px;
  opacity: 0;
}

.hamburger.active .hamburger-icon {
  opacity: 0;
}

.hamburger.active .close-icon {
  opacity: 1;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: calc(100vh - 80px);
  background-color: #fff;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 99;
}

.nav-mobile.active {
  transform: translateX(0);
}

.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 40px 20px;
  width: 100%;
  justify-content: start;
}

.nav-mobile li {
  padding: 16px 0;
  width: 100%;
}

.nav-mobile li:last-child {
  margin-top: 20px;
}

.nav-mobile a {
  display: block;
  font-size: 18px;
  width: 100%;
}

body.menu-open {
  overflow: hidden;
}

/* Main */
main {
  padding-top: calc(90px);
  padding-bottom: 64px;
  background-image: url(./assets/image/line-1.svg), url(./assets/image/line-2.svg), url(./assets/image/line-3.svg);
  background-position: center top 590px, center top 1040px, center top 2000px;
  background-size: 1440px auto, 1440px auto, 1440px auto;
  background-repeat: no-repeat, no-repeat, no-repeat;
}
section {
  max-width: calc((1280px + 160px));
  margin: 0 auto;
  padding: 0 80px;
}
h2 {
  text-align: center;
  margin-bottom: 64px;
  display: flex;
  flex-direction: column;
  font-weight: 500;
}
h2 .sub-text {
  font-weight: normal;
  letter-spacing: 5px;
  font-size: 20px;
}
h2 .main-text {
  font-size: 30px;
}

/* First Section */
/* Key Visual Section */
.content-key-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url(./assets/image/1.svg);
  background-position: center bottom;
  background-size: 1280px auto;
  background-repeat: no-repeat;
  padding-top: 40px;
  height: 800px;
}

.content-key-visual p {
  font-size: 32px;
  position: relative;
  z-index: 10;
}
.content-career {
  display: flex;
  gap: 64px;
  justify-content: space-between;
  padding-top: 64px;
  padding-bottom: 64px;
  margin-top: 72px;
}

.content-career .text-1 {
  font-size: 30px;
  flex-shrink: 0;
}

.content-career .text-2 {
  flex-grow: 1;
  line-height: 2;
  max-width: 528px;
}
.content-hoge {
  text-align: center;
  background-image: url(./assets/image/2-bg.svg);
  background-position: center center;
  height: 930px;
  display: flex;
  justify-content: center;
  align-items: center;

}
.content-hoge .img-4 {
  max-width: 900px;
  width: 100%;
  height: auto;
}

/* Feature Section */
.feature-list {
  display: flex;
  gap: 48px;
}

.feature-list li {
  width: 33.3%;
  text-align: center;
  border: 1px solid #BDBED9;
  background-color: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

.feature-list li .large {
  font-size: 22px;
  margin-bottom: 2px;
}
.feature-list li .small {
  font-size: 14px;
  color: #9D9EC6;
}

/* Theme Section */
.theme-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  margin-bottom: 64px;
  border: 1px solid #BDBED9;
  border-radius: 8px;
}

.theme-list li:first-child {
  grid-column: 1 / -1; /* 1つ目は全幅 */
}

.theme-list li {
  text-align: center;
  padding: 32px 24px;
  border-bottom: 1px solid #BDBED9;
}
.theme-list li:nth-child(2),
.theme-list li:nth-child(4) {
  border-right: 1px solid #BDBED9;
}

.theme-list li:nth-child(4),
.theme-list li:nth-child(5) {
  border-bottom: none;
}

.theme-list li p:first-child {
  font-size: 30px;
  margin-bottom: 8px;
}

.theme-list li p:nth-child(2) {
  font-size: 16px;
  margin-bottom: 24px;
  color: #9D9EC6;
}

.theme-list li img {
  width: auto;
  height: 300px;
}

.content-theme iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  border: none;
  display: block;
  margin: 0 auto;
}

/* Vision Section */
.vision-content {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}

.vision-image {
  max-width: 50%;
  flex-shrink: 0;
}

.vision-text {
  flex-grow: 1;
  line-height: 2;
}

/* Pricing Section */
.pricing-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.pricing-left {
  text-align: center;
  width: 50%;
  font-size: 24px;
}

.pricing-right {
  width: 50%;
}

.pricing-amount {
  font-size: 64px;
  color: #2A2D84;
  margin-bottom: 16px;
}

.pricing-note {
  font-size: 16px;
  color: #9D9EC6;
}

/* Solution Section */
.solution-list {
  display: flex;
  gap: 48px;
  justify-content: center;
}

.solution-list li {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #BDBED9;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  padding: 24px;
}

.solution-list li img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.solution-list li p {
  color: #9D9EC6;
  margin: 8px 0;
}

.solution-list li a {
  color: #40E0D0;
}

.solution-list li a:hover {
  text-decoration: underline;
}
.content-career,
.content-feature,
.content-theme,
.content-vision,
.content-priceing,
.content-solution {
  margin-top: 180px;
}

.content-hoge {
  margin-top: 100px;
}
/* Footer */
footer {
  text-align: center;
  padding: 32px;
}

footer img {
  width: 130px;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .show-tablet {display: inline-block;}
  .show-pc {display: none;}
  .show-sp {display: none;}

  /* Main */
  main {
    background-size: 1024px auto, 1024px auto, 1024px auto;
    background-position: center top 590px, center top 1040px, center top 1960px;
  }

  section {
    padding: 0 40px;
  }

  /* Text size adjustments */
  body {
    font-size: 17px;
  }

  h2 .sub-text {
    font-size: 18px;
  }
  h2 .main-text {
    font-size: 26px;
  }

  /* Header */
  .header-wrapper {
    padding: 24px 40px;
  }
  
  header .logo {
    width: auto;
  }

  header nav ul {
    gap: 24px;
  }

  /* Key Visual */
  .content-key-visual {
    /* height: 720px;
    background-size: 1024px auto; */
    background-position: center bottom;
  }

  .content-key-visual p {
    font-size: 28px;
  }

  /* Career Section */
  .content-career {
    gap: 48px;
  }

  .content-career .text-1 {
    font-size: 26px;
  }

  /* Feature Section */
  .feature-list {
    gap: 32px;
  }

  .feature-list li {
    padding: 20px;
  }

  .feature-list li .large {
    font-size: 20px;
  }

  /* Theme Section */
  .theme-list li p:first-child {
    font-size: 26px;
  }

  .theme-list li img {
    height: 280px;
  }

  /* Vision Section */
  .vision-content {
    gap: 48px;
  }

  /* Pricing Section */
  .pricing-amount {
    font-size: 56px;
  }

  .pricing-left {
    font-size: 22px;
  }

  /* Solution Section */
  .solution-list {
    gap: 32px;
  }

  /* Spacing adjustments */
  .content-career,
  .content-feature,
  .content-theme,
  .content-vision,
  .content-priceing,
  .content-solution {
    margin-top: 150px;
  }

  .content-hoge {
    margin-top: 80px;
  }
}

@media (max-width: 768px) {
  main {
    background-position: center top 450px, center top 820px, center top 1440px;
  }
  /* Text size adjustments */
  body {
    font-size: 16px;
  }

  /* Main */
  section {
    padding: 0 20px;
  }

  h2 {
    margin-bottom: 64px;
  }
  
  h2 .sub-text {
    font-size: 20px;
  }
  h2 .main-text {
    font-size: 22px;
  }
  
  .show-pc {display: none;}
  .show-tablet {display: inline-block;}
  .show-sp {display: inline-block;}

  /* Header */
  .header-wrapper {
    padding: 24px 16px;
    justify-content: space-between;
  }
  header{
    height: 80px;
  }
  header .logo {
    width: auto;
  }
  header .logo  img{
    width: 80px;
  }
  main {
    padding-top: calc(80px);
    padding-bottom: 64px;
}
  
  .nav-desktop {
    display: none;
  }
  
  .header-wrapper > .button,
  .header-wrapper > a[href]:not(.logo) {
    display: none;
  }
  
  .hamburger,
  .nav-mobile {
    display: flex;
  }
  
  
  
  /* Key Visual */
  .content-key-visual {
    padding-top: 20px;
    background-position: center bottom -80px;
    background-image: url(./assets/image/1-sp.svg);
    background-size: 510px auto;
    background-position: center top;
    height: calc(640px);
  }
  
  .content-key-visual .img-1 {
    width: 180px;
    margin-top: 20px;
  }
  
  .content-key-visual .img-2 {
    width: 290px;
  }
  
  .content-key-visual p {
    font-size: 24px;
    text-align: center;
    padding: 0 20px;
  }
  
  /* Career Section */
  .content-career {
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  
  .content-career .text-1 {
    text-align: center;
    font-size: 24px;
  }
  
  .content-career .text-2 {
    max-width: 100%;
    font-size: 16px;
  }
  
  /* Feature Section */
  .feature-list {
    flex-direction: column;
    gap: 24px;
  }
  
  .feature-list li {
    width: 100%;
    padding: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  }
  
  .feature-list li .large {
    font-size: 20px;
  }

  .feature-list li .small {
    font-size: 16px;
  }
  
  /* Theme Section */
  .theme-list {
    grid-template-columns: 1fr;
    margin-bottom: 40px;
  }
  
  .theme-list li {
    border-right: none !important;
    padding: 24px 16px;
  }
  
  .theme-list li p:first-child {
    font-size: 20px;
  }
  
  .theme-list li img {
    height: 270px;
  }
  
  /* Vision Section */
  .vision-content {
    flex-direction: column;
    gap: 32px;
  }
  
  .vision-image {
    width: 100%;
    max-width: 100%;
    max-height: 270px;
  }
  
  .text-3xl {
    font-size: 24px;
  }
  
  /* Pricing Section */
  .pricing-wrapper {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }
  
  .pricing-left {
    width: 100%;
    font-size: 20px;
  }
  
  .pricing-right {
    width: 100%;
  }
  
  .pricing-amount {
    font-size: 48px;
  }
  
  .pricing-note {
    font-size: 14px;
  }
  
  /* Solution Section */
  .solution-list {
    flex-direction: column;
    gap: 32px;
  }
  
  /* Spacing adjustments */
  .content-career {
    margin: 10px;
  }
  .content-feature,
  .content-theme,
  .content-vision,
  .content-priceing,
  .content-solution {
    margin-top: 120px;
  }
  
  .content-hoge {
    margin-top: 120px;
    padding: 0;
    background-size: 570px auto;
    height: 600px;
  }
  .text-fuga {text-align: center;}
  
  
}