@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden; /* 横スクロールを防止 */
}

body {
  background-color: #ffffff;
  overflow-x: hidden; /* 横スクロールを防止 */
  max-width: 100vw; /* ビューポート幅を超えない */
}

body {
  font-family: "MaruFolk R", "MaruFolk DB", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "HGSゴシックE", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #262946;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Ryumin R-KL", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "HGS明朝E", serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1.5rem 0;
  color: #262946;
}

h1 {
  font-size: 3rem;
}
@media (max-width: 1024px) {
  h1 {
    font-size: 2.5rem;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
}

h2 {
  font-size: 2.5rem;
}
@media (max-width: 1024px) {
  h2 {
    font-size: 2rem;
  }
}
@media (max-width: 768px) {
  h2 {
    font-size: 1.75rem;
  }
}

h3 {
  font-size: 2rem;
}
@media (max-width: 1024px) {
  h3 {
    font-size: 1.75rem;
  }
}
@media (max-width: 768px) {
  h3 {
    font-size: 1.5rem;
  }
}

h4 {
  font-size: 1.5rem;
}
@media (max-width: 768px) {
  h4 {
    font-size: 1.25rem;
  }
}

h5 {
  font-size: 1.25rem;
}
@media (max-width: 768px) {
  h5 {
    font-size: 1.125rem;
  }
}

h6 {
  font-size: 1rem;
  font-weight: 600;
}

p {
  margin: 0 0 1.5rem 0;
  line-height: 1.7;
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: #009946;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: rgb(0, 102, 46.6666666667);
}

ul, ol {
  margin: 0 0 1.5rem 0;
  padding-left: 2rem;
}
ul li, ol li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

strong, b {
  font-weight: 700;
  color: #262946;
}

em, i {
  font-style: italic;
}

small {
  font-size: 0.875rem;
  color: #6b7280;
}

blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  border-left: 4px solid #009946;
  background-color: rgba(0, 153, 70, 0.05);
  font-style: italic;
}
blockquote p {
  margin: 0;
}
blockquote cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #6b7280;
  font-style: normal;
}

code {
  font-family: "Courier New", monospace;
  background-color: #f8fafc;
  padding: 0.125rem 0.25rem;
  border-radius: 4px;
  font-size: 0.875rem;
}

pre {
  background-color: #f8fafc;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1.5rem 0;
}
pre code {
  background: none;
  padding: 0;
}

.text-primary {
  color: #009946;
}

.text-secondary {
  color: #1e3a8a;
}

.text-accent {
  color: #f59e0b;
}

.text-light {
  color: #6b7280;
}

.text-dark {
  color: #262946;
}

.font-heading {
  font-family: "Ryumin R-KL", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "HGS明朝E", serif;
}

.font-body {
  font-family: "MaruFolk R", "MaruFolk DB", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "HGSゴシックE", sans-serif;
}

.font-primary {
  font-family: "Noto Sans JP", sans-serif;
}

.d-none {
  display: none !important;
}

.d-block {
  display: block !important;
}

.d-inline {
  display: inline !important;
}

.d-inline-block {
  display: inline-block !important;
}

.d-flex {
  display: flex !important;
}

.d-grid {
  display: grid !important;
}

.flex-row {
  flex-direction: row !important;
}

.flex-column {
  flex-direction: column !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.flex-nowrap {
  flex-wrap: nowrap !important;
}

.justify-start {
  justify-content: flex-start !important;
}

.justify-end {
  justify-content: flex-end !important;
}

.justify-center {
  justify-content: center !important;
}

.justify-between {
  justify-content: space-between !important;
}

.justify-around {
  justify-content: space-around !important;
}

.align-start {
  align-items: flex-start !important;
}

.align-end {
  align-items: flex-end !important;
}

.align-center {
  align-items: center !important;
}

.align-baseline {
  align-items: baseline !important;
}

.align-stretch {
  align-items: stretch !important;
}

.m-0 {
  margin: 0 !important;
}

.m-1 {
  margin: 0.5rem !important;
}

.m-2 {
  margin: 1rem !important;
}

.m-3 {
  margin: 1.5rem !important;
}

.m-4 {
  margin: 2rem !important;
}

.m-5 {
  margin: 3rem !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: 0.5rem !important;
}

.mt-2 {
  margin-top: 1rem !important;
}

.mt-3 {
  margin-top: 1.5rem !important;
}

.mt-4 {
  margin-top: 2rem !important;
}

.mt-5 {
  margin-top: 3rem !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 0.5rem !important;
}

.mb-2 {
  margin-bottom: 1rem !important;
}

.mb-3 {
  margin-bottom: 1.5rem !important;
}

.mb-4 {
  margin-bottom: 2rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.ml-0 {
  margin-left: 0 !important;
}

.ml-1 {
  margin-left: 0.5rem !important;
}

.ml-2 {
  margin-left: 1rem !important;
}

.ml-3 {
  margin-left: 1.5rem !important;
}

.ml-4 {
  margin-left: 2rem !important;
}

.ml-5 {
  margin-left: 3rem !important;
}

.mr-0 {
  margin-right: 0 !important;
}

.mr-1 {
  margin-right: 0.5rem !important;
}

.mr-2 {
  margin-right: 1rem !important;
}

.mr-3 {
  margin-right: 1.5rem !important;
}

.mr-4 {
  margin-right: 2rem !important;
}

.mr-5 {
  margin-right: 3rem !important;
}

.mx-0 {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.mx-1 {
  margin-left: 0.5rem !important;
  margin-right: 0.5rem !important;
}

.mx-2 {
  margin-left: 1rem !important;
  margin-right: 1rem !important;
}

.mx-3 {
  margin-left: 1.5rem !important;
  margin-right: 1.5rem !important;
}

.mx-4 {
  margin-left: 2rem !important;
  margin-right: 2rem !important;
}

.mx-5 {
  margin-left: 3rem !important;
  margin-right: 3rem !important;
}

.my-0 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.my-1 {
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}

.my-2 {
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}

.my-3 {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

.my-4 {
  margin-top: 2rem !important;
  margin-bottom: 2rem !important;
}

.my-5 {
  margin-top: 3rem !important;
  margin-bottom: 3rem !important;
}

.p-0 {
  padding: 0 !important;
}

.p-1 {
  padding: 0.5rem !important;
}

.p-2 {
  padding: 1rem !important;
}

.p-3 {
  padding: 1.5rem !important;
}

.p-4 {
  padding: 2rem !important;
}

.p-5 {
  padding: 3rem !important;
}

.pt-0 {
  padding-top: 0 !important;
}

.pt-1 {
  padding-top: 0.5rem !important;
}

.pt-2 {
  padding-top: 1rem !important;
}

.pt-3 {
  padding-top: 1.5rem !important;
}

.pt-4 {
  padding-top: 2rem !important;
}

.pt-5 {
  padding-top: 3rem !important;
}

.pb-0 {
  padding-bottom: 0 !important;
}

.pb-1 {
  padding-bottom: 0.5rem !important;
}

.pb-2 {
  padding-bottom: 1rem !important;
}

.pb-3 {
  padding-bottom: 1.5rem !important;
}

.pb-4 {
  padding-bottom: 2rem !important;
}

.pb-5 {
  padding-bottom: 3rem !important;
}

.pl-0 {
  padding-left: 0 !important;
}

.pl-1 {
  padding-left: 0.5rem !important;
}

.pl-2 {
  padding-left: 1rem !important;
}

.pl-3 {
  padding-left: 1.5rem !important;
}

.pl-4 {
  padding-left: 2rem !important;
}

.pl-5 {
  padding-left: 3rem !important;
}

.pr-0 {
  padding-right: 0 !important;
}

.pr-1 {
  padding-right: 0.5rem !important;
}

.pr-2 {
  padding-right: 1rem !important;
}

.pr-3 {
  padding-right: 1.5rem !important;
}

.pr-4 {
  padding-right: 2rem !important;
}

.pr-5 {
  padding-right: 3rem !important;
}

.px-0 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.px-1 {
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}

.px-2 {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.px-3 {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

.px-4 {
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}

.px-5 {
  padding-left: 3rem !important;
  padding-right: 3rem !important;
}

.py-0 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.py-1 {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.py-2 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.py-3 {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

.py-4 {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.text-left {
  text-align: left !important;
}

.text-center {
  text-align: center !important;
}

.text-right {
  text-align: right !important;
}

.text-justify {
  text-align: justify !important;
}

.text-uppercase {
  text-transform: uppercase !important;
}

.text-lowercase {
  text-transform: lowercase !important;
}

.text-capitalize {
  text-transform: capitalize !important;
}

.font-weight-light {
  font-weight: 300 !important;
}

.font-weight-normal {
  font-weight: 400 !important;
}

.font-weight-medium {
  font-weight: 500 !important;
}

.font-weight-bold {
  font-weight: 700 !important;
}

.position-relative {
  position: relative !important;
}

.position-absolute {
  position: absolute !important;
}

.position-fixed {
  position: fixed !important;
}

.position-sticky {
  position: sticky !important;
}

.w-100 {
  width: 100% !important;
}

.h-100 {
  height: 100% !important;
}

.container {
  max-width: 1400px;
  margin: 8rem auto auto;
  padding: 0 2rem;
}
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
}

.section {
  padding: 8rem 0;
}
@media (min-width: 1024px) {
  .section {
    padding: 12rem 0;
  }
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-primary {
  background-color: #009946;
  color: white;
}
.btn-primary:hover {
  background-color: rgb(0, 102, 46.6666666667);
  transform: translateY(-2px);
}
.btn-secondary {
  background-color: transparent;
  color: #009946;
  border: 2px solid #009946;
}
.btn-secondary:hover {
  background-color: #009946;
  color: white;
}

.section-header {
  text-align: left;
  margin-bottom: 8rem;
  padding-left: 0;
}

.section-title {
  font-family: "Ryumin R-KL", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "HGS明朝E", serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #009946;
  text-align: left;
}
@media (min-width: 1024px) {
  .section-title {
    font-size: 1.2rem;
  }
}

.section-subtitle {
  font-family: "Heebo", sans-serif;
  font-size: 4rem;
  color: #009946;
  font-weight: bold;
  text-align: left;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  margin-bottom: 3rem;
  line-height: 0.9;
  position: relative;
}
.section-subtitle::before {
  content: attr(data-text);
  position: absolute;
  top: 0.1ch;
  left: 0.1ch;
  color: transparent;
  -webkit-text-stroke: 2px rgba(0, 153, 70, 0.3);
  z-index: -1;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}
.section-subtitle.long-title {
  display: flex;
  flex-direction: column;
}
.section-subtitle.long-title::after {
  content: attr(data-second-word);
  margin-left: 4ch;
  margin-top: -0.1em;
}
.section-subtitle.long-title::before {
  content: attr(data-text) "\a" attr(data-second-word);
  white-space: pre-line;
  line-height: 0.9;
}
@media (min-width: 1024px) {
  .section-subtitle {
    font-size: 6rem;
  }
}
@media (min-width: 1200px) {
  .section-subtitle {
    font-size: 8rem;
  }
}
@media (min-width: 1400px) {
  .section-subtitle {
    font-size: 9.375rem;
  }
}
@media (max-width: 640px) {
  .section-subtitle {
    font-size: 2rem;
    letter-spacing: -0.05em;
    line-height: 1.1;
    margin-bottom: 2rem;
  }
}

.section-subtitle-line {
  font-family: "Heebo", sans-serif;
  font-size: 4rem;
  color: #009946;
  font-weight: bold;
  text-align: left;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  line-height: 0.9;
  position: relative;
  margin: 0;
  margin-left: 1ch;
}
.section-subtitle-line::before {
  content: attr(data-text);
  position: absolute;
  top: 0.1ch;
  left: 0.1ch;
  color: transparent;
  -webkit-text-stroke: 2px rgba(0, 153, 70, 0.3);
  z-index: -1;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}
.section-subtitle-line:first-child {
  margin-left: 0;
}
@media (min-width: 1024px) {
  .section-subtitle-line {
    font-size: 6rem;
  }
}
@media (min-width: 1200px) {
  .section-subtitle-line {
    font-size: 8rem;
  }
}
@media (min-width: 1400px) {
  .section-subtitle-line {
    font-size: 9.375rem;
  }
}
@media (max-width: 640px) {
  .section-subtitle-line {
    font-size: 2rem;
    letter-spacing: -0.05em;
    line-height: 1.1;
    margin-left: 0.5ch;
  }
}

.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background-color: #009946;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}
.scroll-top:hover {
  background-color: rgb(0, 102, 46.6666666667);
  transform: translateY(-2px);
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}
.scroll-top .scroll-top-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f8fafc;
}

::-webkit-scrollbar-thumb {
  background: #009946;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgb(0, 102, 46.6666666667);
}

*:focus {
  outline: 2px solid #009946;
  outline-offset: 2px;
}

::selection {
  background-color: rgba(0, 153, 70, 0.2);
  color: #262946;
}

* {
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}
.btn:hover::before {
  left: 100%;
}
.btn-primary {
  background-color: #009946;
  color: white;
}
.btn-primary:hover {
  background-color: rgb(0, 102, 46.6666666667);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 153, 70, 0.3);
}
.btn-secondary {
  background-color: transparent;
  color: #009946;
  border: 2px solid #009946;
}
.btn-secondary:hover {
  background-color: #009946;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 153, 70, 0.3);
}
.btn-outline {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}
.btn-outline:hover {
  background-color: white;
  color: #262946;
  transform: translateY(-2px);
}

.card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.card-header {
  margin-bottom: 1.5rem;
}
.card-header .card-title {
  font-family: "Ryumin R-KL", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "HGS明朝E", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #262946;
  margin-bottom: 1rem;
}
.card-header .card-subtitle {
  font-size: 1rem;
  color: #6b7280;
}
.card-body .card-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #262946;
  margin-bottom: 1.5rem;
}
.card-footer {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.grid {
  display: grid;
  gap: 2rem;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.section {
  padding: 8rem 0;
}

.hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.hero-content {
  text-align: center;
}
.hero-title {
  font-family: "Ryumin R-KL", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "HGS明朝E", serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #262946;
  margin-bottom: 2rem;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: #262946;
  line-height: 1.8;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media print {
  .header,
  .footer,
  .mobile-menu,
  .scroll-top {
    display: none !important;
  }
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
}
