:root {
  --primary: #0a2540;
  --secondary: #3490dc;
  --accent: #e2e8f0;
  --white: #ffffff;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
.font-serif {
  font-family: 'Playfair Display', 'Noto Sans JP', serif;
}

/* Component: Subhero Reference */
.subhero {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
}

.subhero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 37, 64, 0.6);
}

.subhero .container {
  position: relative;
  z-index: 1;
}

/* Sections */
section {
  padding: 80px 0;
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
}

/* Alpine.js Cloak */
[x-cloak] {
  display: none !important;
}

/* Material Symbols */
.material-symbols-outlined {
  font-variation-settings:
    'FILL' 0,
    'wght' 300,
    'GRAD' 0,
    'opsz' 24;
  vertical-align: middle;
}

/* Extracted from Templates */
/* From ./parts/about-subhero.html */

.subhero-about {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-image: url('../img/about-subhero-bg.jpg');
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.subhero-about::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 37, 64, 0.85) 0%, rgba(10, 37, 64, 0.6) 100%);
  z-index: 1;
}

.subhero-about .container {
  position: relative;
  z-index: 2;
}

.subhero-about .title-accent {
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.05em;
}

.subhero-about .breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.subhero-about .breadcrumb a {
  transition: color 0.3s ease;
}

.subhero-about .breadcrumb a:hover {
  color: var(--white);
}

/* From ./parts/about-message.html */

.about-message {
  background-color: var(--white);
}
.about-message__container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.about-message__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.about-message__label {
  display: block;
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}
.about-message__title {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: 3rem;
  font-weight: 700;
}
.about-message__text {
  color: #4a5568; /* text-gray-700 */
  line-height: 2.2;
  text-align: left;
  font-size: 1.05rem;
}
@media (min-width: 768px) {
  .about-message__text {
    column-count: 1;
    padding: 0 2rem;
  }
}

/* From ./parts/about-info.html */

.about-info {
  background-color: var(--white);
  position: relative;
}

.about-info .info-container {
  max-width: 900px;
  margin: 0 auto;
}

.about-info .info-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--accent);
}

.about-info .info-row {
  border-bottom: 1px solid var(--accent);
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0;
}

@media (min-width: 768px) {
  .about-info .info-row {
    flex-direction: row;
    padding: 2rem 0;
  }
}

.about-info .info-label {
  font-weight: 700;
  color: var(--primary);
  width: 100%;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .about-info .info-label {
    width: 30%;
    margin-bottom: 0;
    font-size: 1rem;
  }
}

.about-info .info-value {
  flex: 1;
  color: var(--text-main);
  line-height: 1.8;
}

.about-info .map-wrapper {
  margin-top: 4rem;
  filter: grayscale(100%) contrast(1.2) opacity(0.8);
  transition: filter 0.5s ease;
}

.about-info .map-wrapper:hover {
  filter: grayscale(0%) contrast(1) opacity(1);
}

/* From ./parts/contact-subhero.html */

.contact-subhero {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-image: url('../img/contact-subhero-bg.jpg');
  color: #ffffff;
  text-align: center;
}

.contact-subhero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 37, 64, 0.7);
}

.contact-subhero .container {
  position: relative;
  z-index: 1;
}

.contact-subhero h1 {
  font-family: 'Playfair Display', 'Noto Sans JP', serif;
  letter-spacing: -0.02em;
}

.contact-subhero .breadcrumb {
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

/* From ./parts/contact-body.html */

.contact-body {
  background-color: var(--white);
  position: relative;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--accent);
  transition:
    transform 0.3s ease,
    shadow 0.3s ease;
}

.contact-icon-box {
  width: 64px;
  height: 64px;
  background-color: rgba(52, 144, 220, 0.1);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.contact-info-label {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.contact-info-value {
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 700;
}

.cta-button-primary {
  background-color: var(--primary);
  color: var(--white);
  transition: all 0.3s ease;
}

.cta-button-primary:hover {
  background-color: var(--secondary);
  transform: translateY(-2px);
}

.cta-button-secondary {
  border: 2px solid var(--primary);
  color: var(--primary);
  transition: all 0.3s ease;
}

.cta-button-secondary:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* From ./parts/index-hero.html */

.index-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--primary);
}

.index-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.index-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: saturate(0.8) brightness(0.9);
}

.index-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 37, 64, 0.9) 0%, rgba(10, 37, 64, 0.4) 100%);
  z-index: 2;
}

.index-hero__content {
  position: relative;
  z-index: 10;
  width: 100%;
}

.index-hero__badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(52, 144, 220, 0.2);
  border-left: 3px solid var(--secondary);
  color: var(--secondary);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.index-hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.index-hero__title span {
  display: block;
  color: var(--secondary);
}

.index-hero__description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin-bottom: 3rem;
}

.index-hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.index-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 2.5rem;
  border-radius: 9999px;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-decoration: none;
}

.index-hero__btn--primary {
  background-color: var(--secondary);
  color: var(--white);
  box-shadow: 0 10px 20px -5px rgba(52, 144, 220, 0.4);
}

.index-hero__btn--primary:hover {
  background-color: #2779bd;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(52, 144, 220, 0.5);
}

.index-hero__btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  backdrop-filter: blur(4px);
}

.index-hero__btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

/* Scroll Indicator */
.index-hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.6;
}

.index-hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--secondary), transparent);
}

/* From ./parts/index-lead.html */

.index-lead {
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.index-lead::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.index-lead__container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.index-lead__text {
  line-height: 2.2;
  letter-spacing: 0.05em;
  color: var(--primary);
  text-align: justify;
  text-justify: inter-character;
}

.index-lead__accent-bar {
  width: 40px;
  height: 2px;
  background-color: var(--secondary);
  margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .index-lead__text {
    line-height: 1.8;
    text-align: left;
  }
}

/* From ./parts/index-reskilling.html */

.reskilling-section {
  background-color: #f8fafc;
  position: relative;
}

.reskilling-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

@media (min-width: 1024px) {
  .reskilling-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.course-card {
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: #3490dc;
}

.course-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
  transform: scale(1.05);
}

.course-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(10, 37, 64, 0.9);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.course-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.course-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #64748b;
}

.course-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0a2540;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid #f1f5f9;
}

.course-price span {
  font-size: 0.875rem;
  font-weight: 400;
  color: #64748b;
  margin-left: 0.25rem;
}

/* From ./parts/index-services.html */

.index-services {
  background-color: var(--white);
}
.index-services .section-title {
  position: relative;
  padding-bottom: 1.5rem;
}
.index-services .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: var(--secondary);
}
.index-services .service-card {
  /* Reset competing styles from services-body */
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 2.5rem;
  border-bottom: none;
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid var(--accent);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.index-services .service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(10, 37, 64, 0.08);
  border-color: transparent;
}
.index-services .icon-box {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f1f5f9;
  border-radius: 16px;
  color: var(--primary);
  margin-bottom: 1.5rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.index-services .service-card:hover .icon-box {
  background-color: var(--primary);
  color: var(--white);
}

/* From ./parts/index-about-summary.html */

.index-about-summary {
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.index-about-summary .section-label {
  display: inline-block;
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.index-about-summary .about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 768px) {
  .index-about-summary .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.index-about-summary .image-wrapper {
  position: relative;
}

.index-about-summary .image-wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-top: 2px solid var(--secondary);
  border-left: 2px solid var(--secondary);
  z-index: 0;
}

.index-about-summary .image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 20px 20px 0px 0px var(--accent);
  position: relative;
  z-index: 1;
}

.index-about-summary .content-wrapper .company-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.index-about-summary .content-wrapper .description {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.index-about-summary .content-wrapper .info-list {
  border-top: 1px solid var(--accent);
  padding-top: 1.5rem;
}

.index-about-summary .content-wrapper .info-list dl {
  display: flex;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.index-about-summary .content-wrapper .info-list dl dt {
  width: 100px;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}

.index-about-summary .content-wrapper .info-list dl dd {
  color: var(--text-main);
}

.index-about-summary .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
  border-radius: 9999px;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.index-about-summary .btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* From ./parts/index-cta.html */

.index-cta {
  position: relative;
  background-color: var(--primary);
  overflow: hidden;
}

.index-cta__bg-accent {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 40%;
  height: 120%;
  background: radial-gradient(circle, rgba(52, 144, 220, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.index-cta__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.index-cta__title {
  color: var(--white);
  line-height: 1.4;
}

.index-cta__text {
  color: var(--accent);
  opacity: 0.8;
}

.index-cta__button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--white);
  color: var(--primary);
  padding: 1.25rem 3rem;
  border-radius: 9999px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease-out;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.index-cta__button:hover {
  background-color: var(--secondary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 20px 30px -10px rgba(52, 144, 220, 0.4);
}

/* From ./parts/services-subhero.html */

.services-subhero {
  position: relative;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #ffffff;
  text-align: center;
}

.services-subhero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 37, 64, 0.85) 0%, rgba(10, 37, 64, 0.6) 100%);
}

.services-subhero .container {
  position: relative;
  z-index: 1;
}

.services-subhero .title-accent {
  display: block;
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #3490dc;
  margin-bottom: 1rem;
  font-weight: 700;
}

.services-subhero h1 {
  font-family: 'Playfair Display', 'Noto Sans JP', serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .services-subhero {
    height: 350px;
  }
  .services-subhero h1 {
    font-size: 2.25rem;
  }
}

/* From ./parts/services-body.html */

.services-body {
  background-color: #ffffff;
}
.services-body .service-card {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 4rem 0;
  border-bottom: 1px solid #e2e8f0;
  border-radius: 0;
  background: transparent;
}
.services-body .service-card:last-child {
  border-bottom: none;
}
.service-content {
  flex: 1;
}
.service-image {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  aspect-ratio: 16 / 9;
}
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.services-body .service-card:hover .service-image img {
  transform: scale(1.05);
}
.category-tag {
  display: inline-block;
  color: #3490dc;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.service-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: #0a2540;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.service-description {
  color: #64748b;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: #1e293b;
}
.feature-icon {
  color: #3490dc;
  font-size: 1.25rem;
}

@media (min-width: 768px) {
  .services-body .service-card {
    flex-direction: row;
    align-items: center;
    gap: 5rem;
    padding: 6rem 0;
  }
  .services-body .service-card.reverse {
    flex-direction: row-reverse;
  }
  .feature-list {
    grid-template-columns: 1fr 1fr;
  }
}

/* From ./parts/services-reskilling.html */

.reskilling-detail {
  background-color: #f8fafc;
}
.course-card {
  background: #ffffff;
  border-radius: 1rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(10, 37, 64, 0.08);
}
.course-tag {
  display: inline-block;
  padding: 0.25rem 1rem;
  background: rgba(52, 144, 220, 0.1);
  color: #3490dc;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  margin-bottom: 1rem;
}
.course-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  color: #0a2540;
  font-weight: 700;
}
.course-price::after {
  content: '(税込)';
  font-size: 0.875rem;
  margin-left: 0.25rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
}
.curriculum-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f5f9;
}
.curriculum-list li:last-child {
  border-bottom: none;
}
.curriculum-list li .dot {
  width: 6px;
  height: 6px;
  background: #3490dc;
  border-radius: 50%;
}
.method-box {
  background: #0a2540;
  color: #ffffff;
  border-radius: 1.5rem;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.method-box::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(52, 144, 220, 0.1);
  border-radius: 50%;
}
/* 追加: ボタンホバーアニメーション */
.btn-hover-effect {
  transition: all 0.3s ease;
}
.btn-hover-effect:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(52, 144, 220, 0.3);
}

/* From ./parts/index-cta.html */

.index-cta {
  position: relative;
  background-color: var(--primary);
  overflow: hidden;
}

.index-cta__bg-accent {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 40%;
  height: 120%;
  background: radial-gradient(circle, rgba(52, 144, 220, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.index-cta__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.index-cta__title {
  color: var(--white);
  line-height: 1.4;
}

.index-cta__text {
  color: var(--accent);
  opacity: 0.8;
}

.index-cta__button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--white);
  color: var(--primary);
  padding: 1.25rem 3rem;
  border-radius: 9999px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease-out;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.index-cta__button:hover {
  background-color: var(--secondary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 20px 30px -10px rgba(52, 144, 220, 0.4);
}
