/* ==========================================================================
   goldeneyetalent - lightweight WordPress theme (Japanese only)
   Rebuilt from the original Astra + Elementor output, without any builder.
   ========================================================================== */

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122;
}

:root {
  --ink: #000f2b;
  --text: #3a3a3a;
  --teal: #1a6c7a;
  --navy: #153243;
  --pale: #f3f9fb;
  --line: #e6ecee;
  --container: 1140px;
  --header-h: 89px;
  --jp: 'Montserrat', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic',
         'Noto Sans JP', Meiryo, 'Microsoft YaHei', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--jp);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
ul { margin: 0; padding: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: #fff; color: var(--ink); padding: 10px 16px; font-size: 13px;
}
.skip-link:focus { left: 8px; top: 8px; }

.wrap { width: min(100% - 60px, var(--container)); margin-inline: auto; }

/* ---------------------------------------------------------------- header -- */
.site-header {
  position: absolute; inset: 0 0 auto 0;
  height: var(--header-h); z-index: 60; color: #fff;
}
.header-inner {
  width: min(100% - 60px, 1380px); height: 100%; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { flex: none; display: block; }
.brand img { width: 200px; height: auto; }
.header-right { display: flex; align-items: center; gap: 34px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 13px; font-weight: 500; letter-spacing: .02em;
  white-space: nowrap; opacity: .95; transition: opacity .2s ease;
}
.nav a:hover, .nav a.is-current { opacity: .6; }

.menu-toggle {
  display: none; flex: none; width: 46px; height: 46px;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  border: 0; background: var(--teal); padding: 0;
}
.menu-toggle span { width: 20px; height: 2px; background: #fff; transition: transform .25s ease, opacity .25s ease; }
.menu-toggle.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle.is-open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-panel {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--navy); padding: 10px 24px 22px;
  box-shadow: 0 18px 30px rgba(0,15,43,.22);
}
.mobile-panel.is-open { display: block; }
.mobile-panel a {
  display: block; padding: 13px 2px; color: #fff; font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.mobile-panel a:last-child { border-bottom: 0; }

/* ------------------------------------------------------------- hero base -- */
.hero {
  position: relative; isolation: isolate;
  display: flex; align-items: center; justify-content: center;
  min-height: 100svh; padding: 0 20px;
  background-repeat: no-repeat; background-position: top center; background-size: cover;
  text-align: center; color: #fff;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(at center center, rgba(21,50,67,.50) 0%, rgba(26,108,122,.50) 100%);
}
.hero-inner { position: relative; z-index: 1; width: min(100%, 700px); }
.hero-title {
  margin: 0 0 32px; color: #fff;
  font-size: 28px; font-weight: 600; line-height: 1.3; letter-spacing: .02em;
}
.hero-sub { margin: 0 0 76px; color: #f5f5f5; font-size: 16px; line-height: 1.5; }
.btn-white {
  display: inline-block; min-height: 48px; padding: 16px 40px;
  background: #fff; border: 1px solid #fff; color: var(--teal);
  font-size: 12px; font-weight: 500; line-height: 12px; letter-spacing: 2px;
  text-transform: uppercase; transition: background .25s ease, color .25s ease;
}
.btn-white:hover { background: var(--teal); color: #fff; }

/* responsive background art direction */
.bg-home       { --bg-lg: url('../img/hero-home.webp');       --bg-md: url('../img/hero-home-md.webp');       --bg-sm: url('../img/hero-home-mobile.webp'); }
.bg-service    { --bg-lg: url('../img/hero-service.webp');    --bg-md: url('../img/hero-service-md.webp');    --bg-sm: url('../img/hero-service-mobile.webp'); }
.bg-philosophy { --bg-lg: url('../img/hero-philosophy.webp'); --bg-md: url('../img/hero-philosophy-md.webp'); --bg-sm: url('../img/hero-philosophy-mobile.webp'); }
.bg-contact    { --bg-lg: url('../img/hero-contact.webp');    --bg-md: url('../img/hero-contact-md.webp');    --bg-sm: url('../img/hero-contact-mobile.webp'); }
.hero, .page-hero { background-image: var(--bg-lg); }

/* ------------------------------------------------------------ home intro -- */
.intro { padding: 50px 0 0; background: #fff; }
.intro .wrap { padding-inline: 10px; }
.intro h2 {
  margin: 0 0 20px; color: var(--ink);
  font-size: 28px; font-weight: 600; line-height: 1.3; text-align: center;
}
.intro p { margin: 0; font-size: 16px; line-height: 1.5; }

/* --------------------------------------------------------- home services -- */
.services { padding: 136px 0 180px; background: #fff; }
.section-title {
  margin: 0 0 64px; color: var(--ink);
  font-size: 28px; font-weight: 600; line-height: 1.3; text-align: center;
}
/* 100% fluid width: three equal columns, edge-to-edge, no fixed cap */
.cards {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%; max-width: none; margin: 0;
}
.card { min-width: 0; padding-inline: 2.0833%; } /* ~30px @1440, scales with viewport */
.card-media { overflow: hidden; }
.card img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; margin-bottom: 37px;
  transition: filter .3s ease;
}
.card:hover img { filter: brightness(1.21); }
.card h3 { margin: 0 0 5px; color: var(--ink); font-size: 22px; font-weight: 600; line-height: 1.3; }

/* -------------------------------------------------------------- footer -- */
.site-footer { background: #fff; padding: 43px 0 49px; }
.footer-inner { width: min(100% - 60px, 1200px); margin-inline: auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a { font-size: 12px; color: var(--teal); opacity: .85; transition: opacity .2s ease; }
.footer-nav a:hover { opacity: 1; text-decoration: underline; }

/* ---------------------------------------------------------- inner pages -- */
.page-hero {
  position: relative; isolation: isolate;
  display: flex; align-items: center; justify-content: center;
  min-height: 700px; padding: 180px 24px;
  background-repeat: no-repeat; background-position: center center; background-size: cover;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(at center center, rgba(21,50,67,.60) 0%, rgba(26,108,122,.60) 100%);
}
.page-hero h1 {
  position: relative; z-index: 1; margin: 0; color: #fff;
  font-size: 28px; font-weight: 600; line-height: 1.3;
  letter-spacing: 2.5px; text-align: center;
}
.page-hero--philosophy { min-height: 780px; }
.page-hero--contact { min-height: 650px; }
/* the original service hero leaves a soft teal band below the photo */
.page-hero--service {
  min-height: 880px;
  background-position: top center; background-size: 100% auto;
}
.page-hero--service::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 190px; z-index: 0;
  background: linear-gradient(180deg, rgba(26,108,122,.55), rgba(26,108,122,.46));
  pointer-events: none;
}

.page-section { background: #fff; }
.page-section .wrap { padding-inline: 10px; }
.page-section h2 {
  margin: 0 0 24px; color: var(--ink);
  font-size: 28px; font-weight: 600; line-height: 1.3;
}
.page-section h3 {
  margin: 0 0 16px; color: var(--ink);
  font-size: 22px; font-weight: 600; line-height: 1.35;
}
.page-section p { margin: 0 0 12px; font-size: 16px; line-height: 1.75; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.two-col img { width: 100%; height: auto; }

/* philosophy */
.philosophy-content { padding: 120px 0 120px; }
.philosophy-content p { font-size: 14px; line-height: 1.9; }

/* service page */
.service-lead { padding: 110px 0 60px; text-align: center; }
.service-lead h2 { text-align: center; margin-bottom: 26px; }
.service-lead p { max-width: 800px; margin: 0 auto; font-size: 14px; line-height: 1.9; }
.service-rows { padding: 40px 0 200px; }
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 130px; }
.service-row:last-child { margin-bottom: 0; }
.service-row:nth-child(even) .row-media { order: 2; }
.service-row p { font-size: 14px; line-height: 1.9; }
.bullets { list-style: none; margin-top: 18px; }
.bullets li { position: relative; padding-left: 15px; font-size: 13px; line-height: 1.9; }
.bullets li::before { content: '•'; position: absolute; left: 2px; color: var(--teal); }

/* contact */
.contact-content { padding: 140px 0 100px; }
.contact-info h3 { font-size: 16px; margin-bottom: 18px; }
.contact-info .label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.contact-info .mail { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text); }
.contact-info .mail svg { width: 12px; height: 12px; color: var(--teal); flex: none; }
.contact-form h3 { font-size: 16px; margin-bottom: 24px; }
.field {
  display: block; width: 100%; margin-bottom: 20px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 0; background: #fff;
  font-size: 13px; color: var(--text); transition: border-color .2s ease, box-shadow .2s ease;
}
.field:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(26,108,122,.10); }
textarea.field { min-height: 110px; resize: vertical; }
.btn-primary {
  border: 0; padding: 12px 22px; background: var(--teal); color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  transition: background .2s ease;
}
.btn-primary:hover { background: var(--navy); }
.form-note { display: none; margin-top: 14px; font-size: 12px; color: var(--teal); }
.form-note.is-visible { display: block; }

/* ---------------------------------------------------------- breakpoints -- */
@media (max-width: 1280px) {
  .hero, .page-hero { background-image: var(--bg-md); }
}

@media (max-width: 1024px) {
  .hero { min-height: 57svh; padding: 150px 50px 60px; }
  .hero-title { font-size: 26px; }
  .intro { padding: 80px 20px 0; }
  .services { padding: 80px 0 120px; }
  .site-footer { padding: 60px 0 60px; }
  .card { padding-inline: 1.5%; }
  .card img { margin-bottom: 22px; }
  .section-title { margin-bottom: 44px; }
  .page-hero, .page-hero--philosophy, .page-hero--contact { min-height: 600px; }
  .page-hero--service { min-height: 620px; background-size: cover; }
  .page-hero--service::after { height: 90px; }
  .two-col, .service-row { gap: 40px; }
  .philosophy-content, .contact-content { padding: 80px 0; }
  .service-lead { padding: 80px 25px 40px; }
  .service-rows { padding: 30px 25px 90px; }
}

@media (max-width: 921px) {
  :root { --header-h: 72px; }
  .header-inner { width: calc(100% - 40px); }
  .brand img { width: 160px; }
  .nav { display: none; }
  .header-right { gap: 16px; }
  .menu-toggle { display: flex; }
}

@media (max-width: 767px) {
  :root { --header-h: 64px; }
  .wrap { width: calc(100% - 50px); }
  .brand img { width: clamp(120px, 38vw, 156px); }
  .menu-toggle { width: 44px; height: 44px; }

  .hero, .page-hero { background-image: var(--bg-sm); }
  .hero { min-height: 62svh; padding: 150px 22px 50px; background-position: center center; }
  .hero-title { font-size: 24px; line-height: 1.5; margin-bottom: 22px; letter-spacing: .01em; }
  .hero-sub { font-size: 15px; margin-bottom: 30px; }
  .btn-white { padding: 15px 30px; }

  .intro { padding: 60px 0 0; }
  .intro .wrap { padding-inline: 0; }
  .intro h2, .section-title { font-size: 26px; text-align: left; }
  .intro p { font-size: 15px; line-height: 1.8; }
  .services { padding: 60px 0 100px; }
  .section-title { margin-bottom: 36px; }
  .cards { grid-template-columns: minmax(0, 1fr); width: 100%; }
  .card { padding-inline: 6.4%; margin-bottom: 45px; }
  .card img { margin-bottom: 26px; }
  .card:last-child { margin-bottom: 0; }
  .card h3 { font-size: 21px; }

  .footer-inner { width: calc(100% - 50px); }
  .footer-nav { flex-direction: column; align-items: center; gap: 0; }
  .footer-nav a { padding: 7px 0; font-size: 13px; }

  .page-hero, .page-hero--philosophy, .page-hero--contact { min-height: 480px; padding: 140px 22px 90px; }
  .page-hero--service { min-height: 500px; }
  .page-hero--service::after { height: 60px; }
  .page-hero h1 { font-size: 24px; letter-spacing: 2px; }
  .page-section .wrap { padding-inline: 0; }
  .philosophy-content { padding: 60px 0; }
  .two-col, .service-row, .contact-content { grid-template-columns: 1fr; gap: 30px; }
  .service-row:nth-child(even) .row-media { order: 0; }
  .service-lead { padding: 60px 0 30px; text-align: left; }
  .service-lead h2 { text-align: left; }
  .service-lead p { font-size: 14px; }
  .service-rows { padding: 30px 0 60px; }
  .service-row { margin-bottom: 60px; }
  .contact-content { padding: 60px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
