/* --- Base Styles --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
  --primary: #5ec0c4;
  --secondary: #f097a3;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  color: var(--slate-800);
  background-color: var(--white);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: all 0.3s ease;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-py {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .md-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

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

/* --- Components --- */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title { font-size: 2.5rem; }
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  height: 0.25rem;
  background-color: var(--primary);
  border-radius: 9999px;
}

/* --- Navigation --- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
}

#navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

#navbar:not(.scrolled) {
  background-color: transparent;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: none;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
}

#navbar.scrolled .nav-link {
  color: var(--slate-600);
}

#navbar.scrolled .nav-link:hover {
  color: var(--primary);
}

#navbar:not(.scrolled) .nav-link {
  color: var(--slate-700);
}

#navbar:not(.scrolled) .nav-link:hover {
  color: var(--primary);
}

#menu-toggle {
  display: block;
  color: white;
}

#navbar.scrolled #menu-toggle {
  color: var(--slate-900);
}

@media (min-width: 768px) {
  #menu-toggle { display: none; }
}

/* --- Mobile Menu --- */
#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background-color: var(--white);
  padding-top: 6rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  transition: all 0.3s ease;
}

#mobile-menu.hidden {
  display: none;
}

#mobile-menu.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-800);
  border-bottom: 1px solid var(--slate-100);
  padding-bottom: 1rem;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 248, 240, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 42rem;
  color: var(--slate-900);
  margin-top: 3rem;
}

.hero-title {
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title { font-size: 4.5rem; }
}

.hero-title span {
  color: var(--secondary);
  position: relative;
  display: inline-block;
}

.hero-desc {
  font-size: 1rem;
  margin-bottom: 2.5rem;
  color: var(--slate-600);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .hero-desc { font-size: 1.25rem; }
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  font-size: 1.2rem;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 10px 15px -3px rgba(94, 192, 196, 0.3);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-outline {
    background-color:rgba(255, 255, 255, 0.4);
    color: var(--primary);
    border: 1px solid var(--primary);
}

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

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--slate-900);
  opacity: 0.5;
  display: none;
}

@media (min-width: 768px) {
  .scroll-indicator { display: block; }
}

.mouse {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid currentColor;
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}

.wheel {
  width: 0.25rem;
  height: 0.5rem;
  background-color: currentColor;
  border-radius: 9999px;
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* --- Sections --- */
.bg-slate-50 { background-color: var(--slate-50); }
.bg-white { background-color: var(--white); }

.relative { position: relative; }
.relative-z10 { position: relative; z-index: 10; }
.relative-overflow-hidden { position: relative; overflow: hidden; }

.flex-row-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
}

@media (min-width: 768px) {
  .flex-row-center { flex-direction: row; }
}

.flex-1 { flex: 1; }

.about-img-wrapper {
  position: relative;
}

.about-img {
  border-radius: 3rem;
  box-shadow: 10px 10px 50px -10px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 10;
}

.blob {
  position: absolute;
  filter: blur(40px);
  border-radius: 50%;
  z-index: 1;
  opacity: 0.4;
  animation: float 10s infinite alternate ease-in-out;
}

.blob-hero-1 {
  width: 300px;
  height: 300px;
  background: var(--primary);
  top: -50px;
  right: -50px;
  animation-delay: 0s;
}

.blob-hero-2 {
  width: 250px;
  height: 250px;
  background: #4cc9f0;
  bottom: 10%;
  left: -50px;
  animation-delay: -2s;
}

.blob-hero-3 {
  width: 200px;
  height: 200px;
  background: var(--secondary);
  top: 40%;
  right: 15%;
  animation-delay: -5s;
}

.about-content h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.text-primary { color: var(--primary); }

.about-lead {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--slate-700);
  margin-bottom: 1.5rem;
}

.about-text {
  color: var(--slate-600);
  margin-bottom: 2rem;
}

/* --- Philosophy --- */
.philosophy-card {
  border-radius: 1.5rem;
  background-color: var(--secondary);
  color: var(--white);
  overflow: hidden;
  transition: all 0.3s ease;
}

.philosophy-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.philosophy-img {
  height: 16rem;
  overflow: hidden;
}

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

.philosophy-card:hover .philosophy-img img {
  transform: scale(1.1);
}

.philosophy-body {
  padding: 2rem;
  position: relative;
}

.philosophy-num {
  font-size: 4.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.4);
  position: absolute;
  top: -0.8rem;
  right: 3rem;
  letter-spacing: -0.05em;
  user-select: none;
}

.philosophy-body h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 10;
}

.philosophy-body p {
  opacity: 0.9;
  position: relative;
  z-index: 10;
  border-top: 1px solid #ecb8be;
  padding-top: 18px;
}

/* --- Services --- */
.service-card {
  padding: 2rem;
  background-color: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: 1rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.service-card svg {
  color: var(--primary);
  margin-bottom: 1.5rem;
  width: 48px;
  height: 48px;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

.service-card p {
  color: var(--slate-600);
  margin-bottom: 1.5rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  background-color: var(--slate-100);
  border-radius: 9999px;
  color: var(--slate-500);
}

/* --- Recruit --- */
.recruit-banner {
  background-color: var(--secondary);
  border-radius: 3rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(94, 192, 196, 0.2);
}

.recruit-grid {
  display: grid;
}

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

.recruit-content {
  padding: 2rem;
  color: var(--white);
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .recruit-content { padding: 5rem; }
}

.recruit-content h2 {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .recruit-content h2 { font-size: 3rem; }
}

.recruit-content p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.recruit-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.recruit-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 1rem;
  backdrop-filter: blur(4px);
  font-weight: 700;
}

.btn-white {
    margin-top: 2rem;
    background-color: var(--white);
    color: var(--secondary);
    width: 100%;
    
    display: flex;
    justify-content: center;
}

.btn-white:hover {
  background-color: var(--slate-50);
}

.recruit-img {
  height: 100%;
  min-height: 400px;
  position: relative;
}

.recruit-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recruit-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgb(196 94 120 / 20%), transparent);
}

@media (min-width: 1024px) {
  .recruit-img-overlay { background: linear-gradient(to right, rgba(196 94 120 / 20%), transparent); }
}

/* --- Company --- */
.company-card {
  max-width: 64rem;
  margin: 0 auto;
  background-color: var(--white);
  border-radius: 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid var(--slate-100);
  display: grid;
}

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

.company-sidebar {
  background-color: var(--primary);
  padding: 3rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.company-sidebar img {
  width: 80%;
  height: auto;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
}

.company-sidebar h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.company-sidebar p {
  color: var(--slate-50);
  font-size: 0.875rem;
}

.company-info {
  padding: 2rem;
}

@media (min-width: 768px) {
  .company-info { grid-column: span 2; padding: 3rem; }
}

.info-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--slate-50);
  margin-bottom: 1.5rem;
}

.info-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.info-item li {
  margin-left: 1.4em;
  text-indent: -1.4em;
}

.info-icon {
  margin-top: 0.25rem;
  color: var(--primary);
}

.info-label {
  font-size: 1rem;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.info-value {
  color: var(--slate-800);
  font-weight: 500;
  font-size: 1.1rem;
}

.info-value ul {
  list-style: disc;
  list-style-position: inside;
}

/* --- Contact --- */
.contact-wrapper {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .contact-wrapper { flex-direction: row; }
}

.contact-info-section {
  flex: 1;
}

.contact-info-section h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.contact-info-section p {
  color: var(--slate-600);
  margin-bottom: 3rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.method-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.method-icon-phone { background-color: rgba(94, 192, 196, 0.1); color: var(--primary); }
.method-icon-mail { background-color: rgba(240, 151, 163, 0.1); color: var(--secondary); }

.contact-method:hover .method-icon-phone { background-color: var(--primary); color: var(--white); }
.contact-method:hover .method-icon-mail { background-color: var(--secondary); color: var(--white); }

.method-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-400);
  margin-bottom: 0.25rem;
}

.method-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-800);
}

.contact-form-section {
  flex: 1;
}

.form-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--slate-100);
}

@media (min-width: 768px) {
  .form-card { padding: 2.5rem; }
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .form-row { grid-template-columns: repeat(2, 1fr); }
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 0.5rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 0.75rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(94, 192, 196, 0.1);
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  background-color: var(--secondary);
  color: var(--white);
  border-radius: 0.75rem;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(94, 192, 196, 0.2);
}

/* --- Footer --- */
footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 3rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-content { flex-direction: row; }
}

.footer-logo img {
  height: 2rem;
  filter: brightness(0) invert(1);
}

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

@media (min-width: 768px) {
  .footer-links { display: flex; gap: 2rem; }
}

.footer-link {
  font-size: 0.875rem;
  color: var(--white);
}

.footer-link:hover {
  color: var(--white);
}

.copyright {
  font-size: 0.875rem;
  color: var(--white);
}

.blob-services {
  top: 0;
  right: 0;
  width: 24rem;
  height: 24rem;
  background-color: rgba(94, 192, 196, 0.05);
  transform: translate(50%, -50%);
}

.blob-recruit {
  top: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translate(50%, -50%);
}

.contact-bg-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: var(--slate-50);
  z-index: -10;
}

/* --- Utility Classes --- */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-8 { gap: 2rem; }
.transition-all { transition: all 0.3s ease; }
.brightness-0 { filter: brightness(0); }
.invert { filter: invert(1); }
.h-10 { height: 2.5rem; }
.h-8 { height: 2rem; }
.hidden { display: none; }

@media (max-width: 767px) {
	.section-py {
    padding-top: 4rem;
    padding-bottom: 4rem;
}
}
/* Form and recruitment additions */
:focus-visible {outline:3px solid #285e61;outline-offset:4px;}
section[id] {scroll-margin-top:110px;}
.form-trap {position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden;}
.form-note {font-size:.875rem;color:#475569;margin:1rem 0;line-height:1.8;}
.consent-label {display:flex;gap:.65rem;align-items:flex-start;font-size:.875rem;line-height:1.7;}
.consent-label input {margin-top:.3rem;flex-shrink:0;}
.required-mark {font-size:.7rem;color:#854451;margin-left:.4rem;}
.form-status {margin:1rem 0;color:#285e61;white-space:pre-line;}
.form-status[data-error="true"] {color:#a22f39;}
.btn:disabled {opacity:.55;cursor:wait;}
.btn-submit,.btn-primary {color:#ffffff;}
.method-icon {flex-shrink:0;}
.method-value {overflow-wrap:anywhere;}
.footer-content,.footer-links {flex-wrap:wrap;}
.recruit-page #navbar {background:rgba(255,255,255,.96);}
.recruit-page-hero {padding:150px 0 65px;background:linear-gradient(120deg,#effafa,#fff4f6);}
.recruit-page-grid {display:grid;grid-template-columns:1.1fr 1fr;gap:4rem;align-items:center;}
.recruit-page-hero h1 {font-size:clamp(2.2rem,4.5vw,4rem);line-height:1.4;margin:1rem 0 1.5rem;}
.recruit-page-hero p {line-height:1.9;margin-bottom:1.7rem;}
.recruit-page-hero img {width:100%;height:390px;object-fit:cover;border-radius:2rem;}
.eyebrow {font-size:.85rem;font-weight:bold;letter-spacing:.12em;color:#326e72;}
.requirements-container {max-width:960px;}
.requirements-intro {margin-bottom:2rem;line-height:1.9;}
.job-details {background:white;border-radius:1.5rem;padding:1rem 2rem;margin-bottom:1.5rem;}
.job-details>div {display:grid;grid-template-columns:190px 1fr;gap:1.5rem;padding:1.5rem 0;border-bottom:1px solid #e2e8f0;}
.job-details>div:last-child {border-bottom:0;}
.job-details dt {font-weight:bold;color:#326e72;}
.job-details dd {line-height:1.9;}
@media(max-width:1023px){.nav-links{display:none;}#menu-toggle{display:block;}}
@media(max-width:767px){.recruit-page-grid{grid-template-columns:1fr;gap:2rem;}.recruit-page-hero img{height:240px;}.job-details>div{grid-template-columns:1fr;gap:.5rem;}.job-details{padding:1rem 1.25rem;}.method-value{font-size:1.15rem;}.contact-method{gap:1rem;}.form-card{padding:1.25rem;}.footer-content{align-items:flex-start;}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto;}*,*::before,*::after{animation:none!important;transition:none!important;}}
