/* =========================================
   Hydrocore — style.css
   ========================================= */

/* ----- CSS Variables ----- */
:root {
  --color-primary:      #8B008B;   /* rgba(139,0,139,1) */
  --color-primary-mid:  #a438a4;   /* rgba(164,56,164,1) — dark section button */
  --color-primary-dark: #6f006f;   /* rgba(111,0,111,1)  — visited link */
  --color-accent:       #9900ff;   /* section label text */
  --color-text:         #434343;
  --color-text-dark:    #212121;   /* rgba(33,33,33,1) */
  --color-white:        #ffffff;
  --color-bg:           #ffffff;
  --color-divider:      #d3d3d3;   /* rgba(211,211,211,1) */
  --color-divider-lt:   #ebebeb;   /* rgba(235,235,235,1) */

  --font-serif:  'Times New Roman', Arial, serif;
  --font-jp:     'BIZ UDPGothic', Arial, sans-serif;
  --font-ui:     Lato, Arial, sans-serif;

  --nav-height: 64px;
  --section-max: 960px;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-jp); color: var(--color-text); background: var(--color-bg); line-height: 1; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }


/* =========================================
   NAVIGATION
   ========================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-divider);
  height: var(--nav-height);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
}

/* Logo */
.nav-logo img {
  height: 36px;
  width: auto;
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 13px;
}
.nav-links > li > a {
  display: block;
  padding: 0 14px;
  height: var(--nav-height);
  line-height: var(--nav-height);
  color: var(--color-text);
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-links > li > a:hover {
  color: var(--color-primary);
}

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  background: var(--color-white);
  border: 1px solid var(--color-divider);
  min-width: 160px;
  z-index: 300;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a {
  display: block;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--color-text);
  transition: background 0.15s, color 0.15s;
}
.dropdown li a:hover {
  background: #f7f7f7;
  color: var(--color-primary);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 400;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }


/* =========================================
   HERO
   ========================================= */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-height);
  background-image: linear-gradient(rgba(255,255,255,0.6), rgba(255,255,255,0.6)), url('../images/top_image_3.png');
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-inner {
  padding: 80px 24px;
  max-width: 860px;
  width: 100%;
}

.hero-hc {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--color-text);
  font-size: 96pt;
  line-height: 1;
  margin-bottom: 8px;
}
.hero-catchcopy {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--color-text);
  font-size: 30pt;
  line-height: 1.5;
  margin-bottom: 12px;
}
.hero-en {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--color-text);
  font-size: 14pt;
  line-height: 1.6;
  margin-bottom: 32px;
}
.hero-desc {
  font-family: var(--font-jp);
  font-size: 14pt;
  color: var(--color-text);
  line-height: 1.9;
  margin-bottom: 6px;
}
.hero-desc-en {
  font-family: var(--font-jp);
  font-size: 14pt;
  color: var(--color-text);
  line-height: 1.9;
  margin-bottom: 48px;
}


/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-block;
  padding: 12px 40px;
  font-family: var(--font-jp);
  font-size: 14px;
  cursor: pointer;
  transition: opacity 0.2s;
  border: none;
}
.btn:hover { opacity: 0.82; }
.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
}
.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}
.btn-link {
  background: transparent;
  color: var(--color-primary);
  padding: 0;
  font-size: 13pt;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.btn-link:hover { opacity: 0.75; }


/* =========================================
   SECTION BASE
   ========================================= */
.section {
  padding: 88px 32px;
}
.section-inner {
  max-width: var(--section-max);
  margin: 0 auto;
  text-align: center;
}

.section-label {
  font-family: var(--font-ui);
  font-size: 12pt;
  color: var(--color-accent);
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  display: block;
}
.section-label-sub {
  font-size: 9pt;
  margin-left: 6px;
}

.section-heading {
  font-family: var(--font-jp);
  font-size: 24pt;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.45;
  margin-bottom: 36px;
}

.section-body {
  font-family: var(--font-jp);
  font-size: 13pt;
  color: var(--color-text);
  line-height: 1.95;
  margin-bottom: 18px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.section-body:last-of-type { margin-bottom: 0; }


/* =========================================
   DARK SECTION  (WHY HYDROCORE)
   ========================================= */
.section--dark {
  background: var(--color-primary);
}
.section--dark .section-label {
  color: rgba(255,255,255,0.65);
}
.section--dark .section-heading {
  color: var(--color-white);
}
.section--dark .section-body {
  color: var(--color-white);
}
.section--dark .section-cta {
  margin-top: 40px;
}


/* =========================================
   SECTION: ABOUT
   ========================================= */
.section-about {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-divider);
}
.section-about .section-inner {
  padding: 0;
  text-align: left;
  max-width: 760px;
}
.section-about .section-body {
  margin-left: 0;
  margin-right: 0;
}


/* =========================================
   SECTION: WHY
   ========================================= */
.section-why {
  background: var(--color-white);
}
.section-why .section-inner {
  max-width: 760px;
  text-align: left;
}
.section-why .section-body {
  margin-left: 0;
  margin-right: 0;
}
.section-why .section-cta {
  margin-top: 40px;
}


/* =========================================
   OUR VALUE + OUR EXPERIENCES: 横2列
   ========================================= */
.section-value-experiences {
  background: var(--color-white);
  border-top: 1px solid var(--color-divider-lt);
}
.value-experiences-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  max-width: 760px;
  margin: 0 auto;
}
.value-col,
.experiences-col {
  text-align: left;
}
.value-col .section-body,
.experiences-col .section-body {
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
}
.experiences-col {
  border-left: 1px solid var(--color-divider-lt);
  padding-left: 48px;
}
.experiences-cta {
  margin-top: 32px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.team-photo {
  overflow: hidden;
}
.team-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.team-photo img:hover {
  transform: scale(1.03);
}


/* =========================================
   SECTION: OUR SERVICES
   ========================================= */
.section-services {
  background: var(--color-white);
  border-top: 1px solid var(--color-divider-lt);
  padding-top: 40px;
  padding-bottom: 40px;
}
.section-services .section-inner {
  max-width: 760px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 64px;
  margin-top: 48px;
  text-align: left;
}
.service-card__img {
  width: 100%;
  display: block;
  margin-bottom: 20px;
}

.service-card__title {
  font-family: var(--font-jp);
  font-size: 15pt;
  font-weight: 400;
  color: var(--color-text-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-divider);
}
.service-card__body {
  font-family: var(--font-jp);
  font-size: 12pt;
  color: var(--color-text);
  line-height: 1.9;
}


/* =========================================
   SECTION: OUR CLIENTS
   ========================================= */
.section-clients {
  background-image: linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.5)), url('../images/top_image_5.png');
  background-size: cover;
  background-position: center;
  padding-top: 56px;
  padding-bottom: 56px;
}
.section-clients .section-inner {
  text-align: left;
  max-width: 760px;
}
.section-clients .section-label {
  color: var(--color-accent);
}
.clients-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}
.clients-list li {
  font-family: var(--font-jp);
  font-size: 13pt;
  color: var(--color-text);
  line-height: 1.4;
}


/* =========================================
   BACKGROUND BREAK（トップページ装飾区切り）
   ========================================= */
.top-break {
  height: 260px;
  background-image: url('../images/top/top-break-bg.jpg');
  background-size: cover;
  background-position: center;
  background-color: var(--color-primary);
}


/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background-color: #2b2b2b;
  color: var(--color-white);
  padding: 40px 40px 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1280px;
  margin: 0 auto;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  gap: 48px;
}

.footer-brand {
  flex-shrink: 0;
  text-align: center;
}
.footer-logo img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  margin: 0 auto 6px;
}
.footer-tagline {
  font-family: var(--font-jp);
  font-size: 9pt;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.1em;
}

.footer-nav__list {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 8px 40px;
  justify-content: end;
}
.footer-nav__list a {
  font-family: var(--font-jp);
  font-size: 8pt;
  color: rgba(255,255,255,0.87);
  transition: opacity 0.2s;
}
.footer-nav__list a:hover {
  opacity: 0.55;
}

.footer-copy {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  text-align: center;
}
.footer-copy p {
  font-family: var(--font-jp);
  font-size: 9pt;
  color: rgba(255,255,255,0.55);
  line-height: 1.9;
}


/* =========================================
   RESPONSIVE — Tablet  (480px – 767px)
   ========================================= */
@media (min-width: 480px) and (max-width: 767px) {
  .hero-hc         { font-size: 80pt; }
  .hero-catchcopy  { font-size: 27pt; }
  .hero-en         { font-size: 13pt; }
  .hero-desc,
  .hero-desc-en    { font-size: 13pt; }
  .section-heading { font-size: 27pt; }
}

/* =========================================
   RESPONSIVE — Mobile  (< 480px)
   ========================================= */
@media (max-width: 767px) {

  /* Nav */
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-divider);
    box-shadow: 0 4px 16px rgba(0,0,0,.1);
    overflow-y: auto;
    max-height: calc(100vh - var(--nav-height));
  }
  .nav-links.is-open { display: flex; }
  .nav-links > li > a {
    height: auto;
    line-height: normal;
    padding: 16px 24px;
    border-bottom: 1px solid var(--color-divider-lt);
  }
  .has-dropdown .dropdown {
    display: block;
    position: static;
    border: none;
    border-top: 1px solid var(--color-divider-lt);
    background: #f8f8f8;
    box-shadow: none;
    min-width: unset;
  }
  .dropdown li a {
    padding-left: 40px;
  }

  /* Hero */
  .hero-hc         { font-size: 60pt; }
  .hero-catchcopy  { font-size: 23pt; }
  .hero-en         { font-size: 12pt; }
  .hero-desc,
  .hero-desc-en    { font-size: 12pt; }

  /* Sections */
  .section         { padding: 64px 24px; }
  .section-heading { font-size: 18pt; }
  .section-body    { font-size: 12pt; }

  /* Grids */
  .value-experiences-wrap { grid-template-columns: 1fr; }
  .experiences-col { border-left: none; border-top: 1px solid var(--color-divider-lt); padding-left: 0; padding-top: 48px; }
  .team-grid       { grid-template-columns: repeat(2, 1fr); }
  .services-grid   { grid-template-columns: 1fr; gap: 40px; }
  .clients-list    { column-gap: 24px; }

  /* Footer */
  .site-footer       { padding: 48px 24px 24px; }
  .footer-inner      { flex-direction: column; gap: 32px; padding-bottom: 32px; }
  .footer-nav__list  { justify-content: flex-start; gap: 10px 24px; }
}
