@charset "UTF-8";

/* ============================================
   Font Import
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;700&display=swap');

/* ============================================
   Color&text Variables
   ============================================ */
:root {
  --color-text: #394037;
  --color-accent-yellow: #FFCB52;
  --color-accent-orange: #FFB452;
  --color-dark-green: #2B5058;
  --color-bg: #F5FFF8;
  --color-white: #fff;
  --color-inactive: #C6C6C6;
  --color-teal: #38CC94;
  --color-border: #ddd;
  --color-required: #e74c3c;
  --color-file-button: #57948F;
  --color-button-bg: #FAFFFC;
  --color-button-bg-header: rgba(255, 255, 255, 0.21);
  --color-header-bg: rgba(170, 170, 170, 0.25);
  --color-shadow: rgba(170, 170, 170, 0.25);
  --color-text-shadow: rgba(0, 0, 0, 0.25);
  --color-green-shadow: rgba(87, 148, 143, 0.25);

  --font-size-nav-link: 14px;
  --font-size-h2: 64px;
  --font-size-h3: 32px;
  --font-size-cta: 28px;

  --font-size-hero-title: 4.37vw;
  --font-size-hero-subtitle: 24px;
  --line-height-hero: 1.4;

  --font-size-not-frontpage-hero-title: 4.6vw;
  --font-size-not-frontpage-hero-title: 4.2vw;

  --font-size-body: 20px;
  --letter-spacing-body: 0.09em;
  --line-height-body: 1.8;

  --font-size-message-quote: 20px;
  --line-height-message-quote: 1.5;

  --font-size-service-item-title: 2.5vw;
  --font-size-service-item-subtitle: 2.3vw;
  --font-size-service-item-description: 20px;

  --font-size-recruit-position-title: 32px;
  --font-size-recruit-position-desc: 23px;
  --line-height-recruit-position: 1.5;

  --font-size-form-label: 22px;
  --font-size-form-control: 20px;
  --font-size-form-file: 20.25px;
  --font-size-checkbox: 20px;
  --font-size-checkbox-large: 24px;
  --font-size-form-info: 20px;

  --font-size-access-location-title: 32px;
  --line-height-access: 1.8;

  --font-size-footer-nav: 0.88rem;
  --font-size-footer-title: 1.31rem;
  --line-height-footer-details: 1.7;
  --font-size-footer-details: 1.15rem;
  --font-size-footer-copyright: 0.85rem;

  --font-size-responsive-768-title: 2.3rem;
  --font-size-responsive-480-title: 2rem;
  --font-size-responsive-768-subtitle: 1.3rem;
  --font-size-responsive-480-subtitle: 1rem;
  --font-size-responsive-480-body: 15px;
  --font-size-responsive-768-cta: 20px;
  --font-size-responsive-480-cta-text: 18px;
  --font-size-responsive-480-message-quote: 15px;
  --font-size-responsive-480-company-label: 17px;
  --font-size-responsive-1100-service-item-title: clamp(16px, 2.18vw, 36px);
  --font-size-responsive-1100-service-item-desc: clamp(12px, 1.82vw, 20px);
  --font-size-responsive-768-recruit-position-title: clamp(12px, 3.2vw, 24px);
  --font-size-responsive-768-recruit-position-desc: clamp(10px, 2.34vw, 18px);
  --font-size-responsive-480-form-label: 17px;
  --font-size-responsive-480-form-control: 15px;
  --font-size-responsive-768-footer-nav: 11px;
  --font-size-responsive-480-footer-title: 11px;
  --font-size-responsive-480-footer-details: 10px;
  --font-size-responsive-480-footer-copyright: 9px;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

* {
  cursor: default !important;
  caret-color: transparent !important;
}

/* Show caret (blinking cursor) in form inputs */
input, textarea, select {
  caret-color: auto !important;
}

body {
  font-family: 'Be Vietnam Pro', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: var(--line-height-body);
}

/* Allow text selection on content */
body, p, span, div, h1, h2, h3, h4, h5, h6, a, li, td, th {
  user-select: auto;
}

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

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

/* Heading styles */
h2 {
  font-weight: bold;
  font-size: var(--font-size-h2);
  letter-spacing: 0.09em;
  line-height: 1;
  text-shadow: 2px 2px 4px var(--color-text-shadow);
  margin-bottom: 0.5rem;
}

h3 {
  font-weight: bold;
  font-size: var(--font-size-h3);
  letter-spacing: 0.09em;
}

/* English text styling */
.text-en {
  font-family: Arial, sans-serif;
  font-style: italic;
}

/* ============================================
   Header Styles
   ============================================ */
#header {
  background-color: var(--color-header-bg);
  padding: 0.88rem 2.75rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 2px 4px var(--color-shadow);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-white);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrapper {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.logo-wrapper:hover {
  opacity: 0.8;
}

.logo {
  height: 41.7px;
  width: auto;
}

#main-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--color-white);
  font-weight: 500;
  font-size: var(--font-size-nav-link);
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  text-shadow: 2px 2px 4px var(--color-text-shadow);
}

.nav-link:hover {
  border-bottom-color: var(--color-accent-yellow);
}

/* 応募するボタン */
.nav-link--button,
.footer-nav__link--button {
  border: 0.5px solid var(--color-accent-yellow);
  padding: 0.4rem 2rem;
  border-radius: 7px;
  color: var(--color-white);
  background-color: var(--color-button-bg-header);
  transition: all 0.3s ease;
}

.nav-link--button:hover,
.footer-nav__link--button:hover {
  border-color: var(--color-accent-yellow);
  background-color: var(--color-accent-orange);
  color: var(--color-white) !important;
}

/* ============================================
   Main Content common Styles
   ============================================ */
.main-content {
  min-height: calc(100vh - 80px);
}

.section {
  width: 100%;
}



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

.not-frontpage .section-hero {
  position: relative;
  height: 40vw;
}

.not-frontpage .hero-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.not-frontpage .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  z-index: 2;
}

.not-frontpage .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -10%);
  text-align: center;
  font-size: var(--font-size-not-frontpage-hero-title);
  color: var(--color-white);
  font-weight: bold;
  text-shadow: 2px 2px 4px var(--color-text-shadow);
  z-index: 3;
}


.section-inner {
  width: auto;
  margin: 0;
  padding: 80px 135px;
}

/* Teal section style - common styles for service, recruit, and access sections */
.section--teal {
  background-color: var(--color-teal);
  color: var(--color-white);
}

/* Body text style - common styles for all body text elements */
.body-text-content {
  font-size: var(--font-size-body);
  letter-spacing: var(--letter-spacing-body);
  line-height: var(--line-height-body);
  color: var(--color-text);
}

/* ============================================
   Section-hero Shared Styles
   ============================================ */

/* Hero image style - common styles for all hero image elements */
.sec-hero__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Hero overlay style - common styles for all hero overlay elements */
.sec-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  z-index: 2;
}

/* Hero title style - common styles for all hero title elements */
.sec-hero-title {
  color: var(--color-white);
  font-weight: bold;
  margin-bottom: 0.5rem;
}

/* Hero subtitle style - common styles for all hero subtitle elements */
.sec-hero-subtitle {
  color: var(--color-white);
  font-size: var(--font-size-hero-subtitle);
  text-shadow: 2px 2px 4px var(--color-text-shadow);
}

/* Hero container style - common styles for all hero container elements */
.sec-hero {
  position: relative;
  width: 100%;
  height: 186px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero content style with image background - absolute positioning */
.sec-hero__content--image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 3;
}

/* Hero content style without image background - flex positioning */
.sec-hero__content--flex {
  text-align: center;
  z-index: 2;
}

/* Hero with background image - modifier for background-based heroes */
.sec-hero--bg-image {
  height: 186px;
}

.sec-hero--bg-image .sec-hero__background {
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.sec-hero--bg-image .sec-hero__overlay {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}

.sec-hero--bg-image .sec-hero__content--image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 3;
}


/* Not frontpage hero styles */
.not-frontpage .sec-hero-title {
  font-size: var(--font-size-not-frontpage-hero-title);
  margin: 5px;
}

.not-frontpage .sec-hero-subtitle {
  line-height: 1;
}

.not-frontpage .sec-hero--bg-image {
  position: relative;
  height: calc(31.25vw + 30px);
  display: flex;
  justify-content: left;
  align-items: start;
}

.not-frontpage .sec-hero--bg-image::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--color-teal);
  right: -30px;
  bottom: -30px;
  z-index: -10;
}

.not-frontpage .sec-hero__background {
  position: relative;
  width: calc(100% - 30px);
  height: 31.25vw;
  top: 0;
  left: 0;
}

.not-frontpage .sec-hero__overlay {
  width: calc(100% - 30px);
  height: 31.25vw;
  top: 0;
  left: 0;
}

.not-frontpage .sec-hero--bg-image .sec-hero__content--image {
  position: absolute;
  top: calc(50% - 15px);
  left: calc(50% - 15px);
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 3;
}


/* ============================================
   CTA Shared Styles
   ============================================ */

/* CTA container style - common styles for service, training, and recruit CTA sections */
.sec-cta {
  text-align: center;
  margin: 3rem 0;
}

/* CTA link style - common styles for service, training, and recruit CTA links */
.sec-cta__link {
  font-size: var(--font-size-cta);
  font-weight: bold;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 1rem 2rem;
  transition: all 0.3s ease;
}

/* CTA link color modifiers - white and yellow variants */
.sec-cta__link--white {
  color: var(--color-white);
}

.sec-cta__link--yellow {
  color: var(--color-accent-yellow);
}

/* CTA link hover arrow animation - common styles for all CTA arrow hover states */
.sec-cta__link:hover .sec-cta__arrow {
  transform: translateX(70px);
}

.sec-cta__text {
  display: inline-block;
  padding: 0 66px;
  text-shadow: 2px 2px 3px var(--color-green-shadow);
}

/* CTA arrow style - common styles for service, training, and recruit CTA arrows */
.sec-cta__arrow {
  height: 18px;
  width: auto;
  align-self: flex-end;
  filter: drop-shadow(2px 2px 3px var(--color-green-shadow));
  transition: transform 0.3s ease;
}

/* CTA arrow color modifiers - white and normal variants */
.sec-cta__arrow--white {
  filter: brightness(300%);
}

/* ============================================
   Text Introduction Section
   ============================================ */

.section-text-intro {
  padding: 80px 135px;
}

.section-text-intro .section-inner {
  padding: 0;
}


/* ============================================
   Footer Styles
   ============================================ */

#footer {
  background: var(--color-dark-green);
  color: var(--color-white);
  padding: 0;
}

.footer-top {
  padding: 29px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-nav__list {
  list-style: none;
  display: flex;
  gap: 2.8rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 5px 0;
}

.footer-nav__item {
  position: relative;
  height: var(--font-size-footer-nav);
  display: flex;
  align-items: center;
}

.footer-nav__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1.6rem;
  width: 1px;
  height: 100%;
  background-color: var(--color-white);
}

.footer-nav__link {
  color: var(--color-white);
  font-size: var(--font-size-footer-nav);
  transition: all 0.3s ease;
  text-shadow: 2px 2px 3px var(--color-text-shadow);
}

.footer-nav__link:hover {
  color: var(--color-accent-yellow);
}

.footer-main {
  display: flex;
  gap: 100px;
  align-items: center;
  justify-content: center;
  padding: 47px 0 25px;
}

.footer-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.footer-logo:hover {
  opacity: 0.8;
}

.footer-logo__image {
  height: 55px;
  width: auto;
}

.footer-company-info__title {
  font-size: var(--font-size-footer-title);
  font-weight: bold;
  margin-bottom: 15px;
}

.footer-company-info__details {
  line-height: var(--line-height-footer-details);
  font-size: var(--font-size-footer-details);
}

.footer-bottom {
  text-align: center;
    padding-bottom: 0.7rem;
}

.footer-copyright {
  font-size: var(--font-size-footer-copyright);
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1100px) {
  .section-text-intro {
    padding: 60px 70px;
  }
  
  .section-inner {
    padding: 60px 6.4vw;
  }

  .sec-section--teal-with-cta .section-inner {
    padding: 0 6.4vw 1px;
  }

}

@media (max-width: 768px) {

  #header {
    padding: 15px 30px;
  }

    .nav-list {
    gap: 1rem;
    font-size: 0.85rem;
  }

  .logo {
    height: auto;
    width: 16.9vw;
  }


  .section-text-intro {
    padding: 35px 30px;
  }

  .sec-hero--bg-image {
    height: 150px;
  }

  .section-inner {
    padding: 35px 30px;
  }


  .sec-cta__link--white, .sec-cta__link--yellow {
    font-size: var(--font-size-responsive-768-cta);
  }

  .sec-cta__arrow {
    height: 14px;
  }


  .footer-top {
    padding: 18px 0;
  }

  .footer-nav__list {
    gap: 5.83vw;
  }

  .footer-nav__link,
  .nav-link {
    font-size: var(--font-size-responsive-768-footer-nav);
  }

  .footer-nav__item:not(:last-child)::after {
    right: -3.3vw;
  }

  .nav-link--button, .footer-nav__link--button {
    padding: 0.4rem 2.6vw;
  }

  .footer-logo__image {
    height: 45px;
  }

  .footer-main {
    padding: 25px 0 15px;
    gap: 30px;
  }

  /* not frontpage */
  .not-frontpage .sec-hero--bg-image {
    height: calc(31.25vw + 20px);
  }

  .not-frontpage .sec-hero--bg-image::before {
    right: -20px;
    bottom: -20px;
  }

  .not-frontpage .sec-hero__background {
    width: calc(100% - 20px);
  }

  .not-frontpage .sec-hero__overlay {
    width: calc(100% - 20px);
  }

  .not-frontpage .sec-hero--bg-image .sec-hero__content--image {
    top: calc(50% - 10px);
    left: calc(50% - 10px);
  }
}

@media (max-width: 480px) {
  #header {
    padding: 12px 10px;
  }
  
  #header .nav-list {
    gap: 0.5rem;
  }

  .nav-link--button {
    padding: 0.4rem 1.6vw;
  }

  .sec-hero--bg-image {
    height: 105px;
  }

  .sec-hero-title {
    font-size: var(--font-size-responsive-480-title);
  }

  .sec-hero-subtitle {
    font-size: var(--font-size-responsive-480-subtitle);
  }

  .section-text-intro,
  .section-inner {
    padding: 20px 8px;
  }

  .body-text-content {
    font-size: var(--font-size-responsive-480-body);
  }

  .sec-section--teal-with-cta .section-inner {
    padding: 0 8px 1px;
  }

  .sec-cta {
    margin: 0 0 2rem 0;
  }

  .sec-cta__link {
    padding: 0;
    font-size: var(--font-size-responsive-480-cta-text);
  }


  .footer-nav__list {
    gap: 4vw;
  }

  .footer-nav__item:not(:last-child)::after {
    right: -2vw;
  }

  .footer-nav__link--button {
    padding: 0.2rem 2.2vw;
  }

  .footer-main {
    gap: 20px;
  }

  .footer-logo__image {
    height: 25px;
  }

  .footer-company-info__title {
    font-size: var(--font-size-responsive-480-footer-title);
    margin-bottom: 10px;
    font-weight: normal;
  }

  .footer-company-info__details {
    font-size: var(--font-size-responsive-480-footer-details);
  }

  .footer-copyright {
    font-size: var(--font-size-responsive-480-footer-copyright);
  }

  /* not frontpage */
  .not-frontpage .sec-hero--bg-image {
    height: calc(31.25vw + 12px);
  }

  .not-frontpage .sec-hero--bg-image::before {
    right: -12px;
    bottom: -12px;
  }

  .not-frontpage .sec-hero__background {
    width: calc(100% - 12px);
  }

  .not-frontpage .sec-hero__overlay {
    width: calc(100% - 12px);
  }

  .not-frontpage .sec-hero--bg-image .sec-hero__content--image {
    top: calc(50% - 6px);
    left: calc(50% - 6px);
  }

}
