/* Reset + エスキュートイ・デザインシステム */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700;900&display=swap');

:root{
  /* Colors from design */
  --surface-primary: #c60234;
  --surface-white: #ffffff;
  --text-primary: #222222;
  --text-secondary: #555555;
  --border-default: rgba(34,34,34,0.09);

  /* Typography */
  --font-noto: 'Noto Sans JP', sans-serif;
  --font-helvetica: 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --spacing-s: 12px;
  --spacing-m: 16px;
  --spacing-l: 24px;
  --spacing-xl: 40px;
  --spacing-xxl: 64px;
  --spacing-3xl: 104px;

  /* Border radius */
  --radius-m: 16px;
  --radius-l: 24px;
  --radius-full: 9999px;

  /* Focus */
  --focus-color: rgba(198,2,52,0.2);

}

/* Box sizing / remove default spacing */
*,
*::before,
*::after { box-sizing: border-box; }
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td, article, aside,
figure, footer, header, main, nav, section { margin: 0; padding: 0; border: 0; vertical-align: baseline; }

/* HTML / Body */
html { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; height: 100%; }
body {
  min-height: 100%;
  font-family: var(--font-noto);
  font-size: 1rem;
  line-height: 2;
  color: var(--text-secondary);
  background: var(--surface-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  letter-spacing: 0.04em;
  font-feature-settings: "palt";
}

/* Images / media */
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }

/* Lists */
ul, ol { list-style: none; }

/* Tables */
table { border-collapse: collapse; border-spacing: 0; }

/* Links */
a { color: var(--accent); text-decoration: none; background-color: transparent; }
a:hover, a:focus { text-decoration: none; }

/* Form elements */
button, input, select, textarea { font: inherit; color: inherit; background: none; border: none; padding: 0; margin: 0; }
button { cursor: pointer; }
textarea { resize: vertical; }

/* Remove default appearance in WebKit */
button, [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: none; -moz-appearance: none; appearance: none; }

/* Accessible focus */
:focus { outline: none; }
:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--focus-color);
  border-radius: 4px;
}

/* Headings & text */
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.25; margin: 0 0 0.5rem 0; }
p { margin: 0 0 1rem 0; color: var(--text); }

/* Small responsive helpers */
img[alt=""] { filter: none; }

/* Typography Styles */
.kv__title {
  font-weight: 900; /* Black */
  font-size: 3.625rem;
  line-height: 1.4;
  color: var(--surface-white);
  margin: 0;
  max-width: 1200px;
  width: 100%;
}

.section-title__main {
  font-weight: 900; /* Black */
  font-size: 2.5rem;
  line-height: 1;
  color: var(--text-primary);
  margin: 0;
}

.section-title__sub {
  font-weight: 700; /* Bold */
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--surface-primary);
}

.job-item__title {
  font-weight: 700; /* Bold */
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--text-primary);
  margin: 0;
}

/* KV Section */
.kv {
  position: relative;
  height: 560px;
  background: url('../img/kv.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.kv__content {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.header {
  position: relative;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 0 var(--spacing-xl);
}

.header__logo {
  font-weight: 900; /* Black */
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--surface-white);
  margin: 0;
}

.header__cta {
  background: var(--surface-primary);
  color: var(--surface-white);
  font-weight: 700; /* Bold */
  font-size: 1.25rem;
  padding: var(--spacing-m) var(--spacing-xl);
  border-radius: 0 0 0 var(--spacing-l);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 80px;
}

.header__cta:hover {
  opacity: 0.8;
}

.kv__message {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-l);
}

/* Business Section */
.business-section {
  padding: var(--spacing-xxl) var(--spacing-xl);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xxl);
  align-items: center;
}

.business-section__container {
  display: flex;
  gap: var(--spacing-l);
  align-items: flex-start;
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
}

.business-section__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-l);
}

.section-title {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-s);
}

.business-section__description {
  font-weight: 400;
  font-size: 1rem;
  line-height: 2;
  color: var(--text-secondary);
  margin: 0;
}

.business-section__video-container {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.video-frame {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  border-radius: var(--radius-l);
  overflow: hidden;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
}

.video-thumbnail__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-l);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.video-thumbnail:hover .play-button {
  opacity: 0.8;
}

.video-thumbnail.playing .play-button {
  opacity: 0;
  pointer-events: none;
}

.play-button__circle {
  width: 100%;
  height: 100%;
  background: rgba(34, 34, 34, 0.9);
  border-radius: 50%;
}

.play-button__icon {
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-left: 12px solid white;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.video-caption {
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 2;
  color: var(--text-secondary);
  margin: 0;
}

.business-section__images {
  display: flex;
  gap: var(--spacing-l);
  max-width: 1200px;
  width: 100%;
  justify-content: center;
}

.business-image {
  flex: 1;
  border-radius: var(--radius-m);
  overflow: hidden;
}

/* Job Section */
.job-section {
  background: var(--surface-white);
  padding: var(--spacing-xxl) var(--spacing-xl);
  display: flex;
  justify-content: center;
}

.job-section__inner {
  max-width: 1200px;
  width: 100%;
  display: flex;
  gap: var(--spacing-l);
}

.job-section__header {
  width: 282px;
  flex-shrink: 0;
}

.job-list {
  flex: 1;
  border-top: 1px solid var(--border-default);
}

.job-item {
  display: flex;
  gap: var(--spacing-l);
  align-items: flex-start;
  padding: var(--spacing-xl) 0;
  border-bottom: 1px solid var(--border-default);
}

.job-item__image {
  width: 180px;
  height: 180px;
  border-radius: var(--radius-l);
  flex-shrink: 0;
  overflow: hidden;
}

.job-item__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-m);
}

.job-item__description {
  font-weight: 400;
  font-size: 1rem;
  line-height: 2;
  color: var(--text-secondary);
  margin: 0;
}

.job-item__button {
  background: var(--text-primary);
  color: var(--surface-white);
  text-decoration: none;
  border-radius: var(--radius-full);
  padding: var(--spacing-s) var(--spacing-m);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700; /* Bold */
  font-size: 1rem;
  align-self: flex-start;
  min-width: 44px;
  line-height: 1.4;
  justify-content: center;
}

.job-item__button:hover {
  opacity: 0.8;
}

.job-item__button-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Footer */
.footer {
  width: 100%;
  background: var(--text-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 var(--spacing-xl);
}

.footer__top {
  padding: var(--spacing-3xl) 0;
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.footer__info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-l);
  color: var(--surface-white);
}

.footer__logo {
  font-weight: 900; /* Black */
  font-size: 1.5rem;
  line-height: 2rem;
  margin: 0;
}

.footer__address {
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 2;
}

.footer__address p {
  margin: 0;
}

.footer__bottom {
  padding: 0 0 var(--spacing-l);
  max-width: 1200px;
  width: 100%;
}

.footer__copyright {
  font-family: var(--font-helvetica);
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--surface-white);
  margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .kv {
    height: 400px;
  }
  .kv__title {
    font-size: 3rem;
  }

  .business-section {
    padding-left: var(--spacing-l);
    padding-right: var(--spacing-l);
  }

  .business-section__container {
    flex-direction: column;
  }

  .business-section__video-container {
    width: 100%;
  }

  .video-frame {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
  }

  .business-section__images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: var(--spacing-m);
    grid-row-gap: var(--spacing-m);
  }

  .business-section__description br {
    display: none;
  }

  .job-section {
    padding: var(--spacing-xl) var(--spacing-l);
  }

  .job-section__inner {
    flex-direction: column;

  }

  .job-section__header {
    width: 100%;
  }

  .header {
    padding: 0 0 0 var(--spacing-l);
  }

  .footer {
    padding: 0;
  }

  .footer__top,
  .footer__bottom {
    padding-left: var(--spacing-l);
    padding-right: var(--spacing-l);
  }
}

@media (max-width: 768px) {
  .kv {
    height: 320px;
  }

  .header__cta {
    display: none;
  }

  .header__logo {
    font-size: 1rem;
  }

  .kv__title {
    font-size: 2.125rem;
  }

  .section-title__main {
    font-size: 1.75rem;
  }

  .section-title__sub {
    font-size: 1rem;
  }

  .job-item {
    flex-direction: column;
    align-items: center;
  }

  .job-item__button {
    width: 100%;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
}

/* End of file */