/* ========================================
   広畑自動車硝子 - Style Sheet
   ======================================== */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #2c5f7c;
  --color-primary-dark: #1a3d52;
  --color-primary-light: #4a8baa;
  --color-accent: #6bab9e;
  --color-accent-light: #8fcec1;
  --color-line-green: #06C755;
  --color-dark: #1a1a1a;
  --color-text: #333;
  --color-text-light: #666;
  --color-text-muted: #999;
  --color-gray: #f5f5f3;
  --color-gray-dark: #e8e8e5;
  --color-white: #fff;
  --color-overlay: rgba(26, 61, 82, 0.7);

  --font-serif: "Noto Sans JP", sans-serif;
  --font-sans: "Noto Sans JP", sans-serif;
  --font-en: "Outfit", sans-serif;

  --header-height: 70px;
  --section-padding: 120px;
  --container-width: 1100px;

  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

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

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  opacity: 0.7;
}

ul, ol {
  list-style: none;
}

/* ---------- Utility ---------- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.sp-only {
  display: none;
}

/* ---------- Placeholder Images ---------- */
.placeholder-img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: linear-gradient(135deg, #c5d8e2 0%, #89b0c4 40%, #a8c5b8 70%, #d4ddd6 100%);
  position: relative;
  overflow: hidden;
}

.placeholder-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(255,255,255,0.05) 20px,
    rgba(255,255,255,0.05) 40px
  );
}

.placeholder-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  z-index: 1;
  letter-spacing: 0.05em;
}

.placeholder-img--about1 { background: linear-gradient(135deg, #8fb8ca 0%, #6a9db5 100%); min-height: 400px; }
.placeholder-img--about2 { background: linear-gradient(135deg, #a8c5b8 0%, #7faa98 100%); min-height: 280px; }
.placeholder-img--service1 { background: linear-gradient(135deg, #93bac9 0%, #6d9fb5 100%); }
.placeholder-img--service2 { background: linear-gradient(135deg, #a1c4b3 0%, #7daa97 100%); }
.placeholder-img--service3 { background: linear-gradient(135deg, #b0cad5 0%, #88afc2 100%); }
.placeholder-img--service4 { background: linear-gradient(135deg, #95c0b0 0%, #72a594 100%); }
.placeholder-img--service5 { background: linear-gradient(135deg, #8aafc2 0%, #6593ab 100%); }
.placeholder-img--service6 { background: linear-gradient(135deg, #9ac1af 0%, #74a693 100%); }
.placeholder-img--flow { background: linear-gradient(135deg, #bcd3dc 0%, #96b9ca 100%); min-height: 140px; }
.placeholder-img--company { background: linear-gradient(135deg, #7fa8bd 0%, #5e8da5 100%); min-height: 350px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 0;
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
  border: none;
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--color-text);
  color: var(--color-text);
}

.btn--outline:hover {
  background: var(--color-text);
  color: var(--color-white);
  opacity: 1;
}

.btn--primary {
  background: var(--color-dark);
  color: var(--color-white);
  border: 1px solid var(--color-dark);
  border-radius: 6px;
}

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

.btn--line {
  background: var(--color-line-green);
  color: var(--color-white);
  border: 1px solid var(--color-line-green);
  border-radius: 6px;
}

.btn--line:hover {
  opacity: 0.85;
}

.btn--white {
  background: var(--color-white);
  color: var(--color-primary);
  border: 1px solid var(--color-white);
}

.btn--white:hover {
  background: transparent;
  color: var(--color-white);
  opacity: 1;
}

.btn--lg {
  padding: 18px 40px;
  font-size: 15px;
}

/* ---------- Section ---------- */
.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section--gray {
  background: var(--color-gray);
}

.section--dark {
  background: var(--color-primary-dark);
  color: var(--color-white);
}

.section__label {
  margin-bottom: 50px;
}

.section__label--center {
  text-align: center;
}

.section__label--light .section__label-en {
  color: var(--color-white);
}

.section__label--light .section__label-ja {
  color: rgba(255,255,255,0.7);
}

.section__label-en {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--color-dark);
}

.section__label-ja {
  display: block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  margin-top: 8px;
}

/* ---------- Scroll Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   HEADER
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  z-index: 1001;
}

.header__logo-en {
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.08em;
  line-height: 1;
  transition: color 0.3s;
}

.header__logo-jp {
  font-size: 9px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
  transition: color 0.3s;
}

.header.is-scrolled .header__logo-en {
  color: var(--color-dark);
}

.header.is-scrolled .header__logo-jp {
  color: var(--color-text-muted);
}

.header__nav {
  display: flex;
  align-items: center;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header__nav-list a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-white);
  transition: color 0.3s;
}

.header.is-scrolled .header__nav-list a {
  color: var(--color-text);
}

.header__nav-cta {
  padding: 8px 20px;
  border: 1px solid var(--color-white);
  transition: all 0.3s;
}

.header.is-scrolled .header__nav-cta {
  border-color: var(--color-primary) !important;
  color: var(--color-primary) !important;
}

.header.is-scrolled .header__nav-cta:hover {
  background: var(--color-primary);
  color: var(--color-white) !important;
}

.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

.header__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}

.header.is-scrolled .header__hamburger span {
  background: var(--color-dark);
}

.header__hamburger.is-open span {
  background: var(--color-dark);
}

.header__hamburger.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.header__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.header__hamburger.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url('assets/images/hero.jpg') center center / cover no-repeat;
  background-color: #2c3e50;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 61, 82, 0.55);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.hero__sub {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__sub::before {
  content: "";
  width: 24px;
  height: 1px;
  background: rgba(255,255,255,0.4);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-white);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.hero__desc {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.05em;
  line-height: 1.9;
  margin-bottom: 32px;
}

.hero__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero__stats {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.hero__stat {
  flex: 1;
  padding: 20px 24px 20px 0;
}

.hero__stat:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,0.15);
  margin-right: 24px;
}

.hero__stat-num {
  display: block;
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.hero__stat-label {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
}

.hero__scroll {
  position: absolute;
  right: 40px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero__scroll span {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.6);
  writing-mode: vertical-rl;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-white);
  animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* ========================================
   ABOUT
   ======================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about__images {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 16px;
}

.about__img {
  overflow: hidden;
  position: relative;
}

.about__img--main {
  grid-row: 1 / 3;
}

.about__img--sub {
  align-self: end;
}

.about__img-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border-radius: 6px;
  padding: 10px 14px;
  z-index: 1;
}

.about__img-caption strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-dark);
  margin-bottom: 2px;
}

.about__img-caption span {
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 300;
}

.about__title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  color: var(--color-dark);
}

.about__desc {
  font-size: 14px;
  line-height: 2;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.about__quote {
  margin: 24px 0;
  padding: 20px;
  background: var(--color-gray);
  border-radius: 12px;
  border-left: 3px solid var(--color-gray-dark);
}

.about__quote p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-text-light);
  font-weight: 300;
}

.about__quote cite {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  color: var(--color-text-muted);
  font-style: normal;
  letter-spacing: 0.05em;
}

/* ========================================
   SERVICE
   ======================================== */
.service__lead {
  margin-bottom: 50px;
}

.service__lead h2 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.service__lead p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-text-light);
  font-weight: 300;
}

.service__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--color-white);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card__img {
  overflow: hidden;
  height: 200px;
}

.service-card__img .placeholder-img {
  transition: transform 0.5s var(--ease-out);
}

.service-card:hover .service-card__img .placeholder-img {
  transform: scale(1.05);
}

.service-card__body {
  padding: 24px 20px;
}

.service-card__num {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--color-primary);
}

.service-card__title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
  margin: 6px 0 10px;
  color: var(--color-dark);
}

.service-card__desc {
  font-size: 13px;
  line-height: 1.9;
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.service-card__price {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-primary);
}


/* ========================================
   FLOW
   ======================================== */
.flow__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.flow-step {
  text-align: center;
  position: relative;
}

.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 85px;
  right: -16px;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--color-text-light);
  border-right: 1px solid var(--color-text-light);
  transform: rotate(45deg);
  opacity: 0.4;
}

.flow-step__num {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 300;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.flow-step__img {
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 4px;
}

.flow-step__title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.flow-step__desc {
  font-size: 12px;
  line-height: 1.8;
  color: var(--color-text-light);
}

/* ========================================
   QUALITY
   ======================================== */
.quality__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.quality-item {
  text-align: center;
  padding: 40px 20px;
  border: 1px solid rgba(255,255,255,0.15);
}

.quality-item__num {
  font-family: var(--font-en);
  font-size: 40px;
  font-weight: 200;
  color: var(--color-accent-light);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.quality-item__title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.quality-item__desc {
  font-size: 13px;
  line-height: 2;
  color: rgba(255,255,255,0.7);
}

/* ========================================
   PRICING
   ======================================== */
.pricing__lead {
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-text-light);
  font-weight: 300;
  margin-top: -30px;
  margin-bottom: 40px;
}

.pricing__table-wrap {
  overflow-x: auto;
}

.pricing__table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--color-gray-dark);
  border-radius: 12px;
  overflow: hidden;
}

.pricing__table thead th {
  padding: 14px 24px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  background: var(--color-gray);
  text-align: left;
  border-bottom: 1px solid var(--color-gray-dark);
}

.pricing__table tbody tr {
  border-bottom: 1px solid var(--color-gray-dark);
  transition: background 0.15s;
}

.pricing__table tbody tr:last-child {
  border-bottom: none;
}

.pricing__table tbody tr:hover {
  background: var(--color-gray);
}

.pricing__table td {
  padding: 18px 24px;
  vertical-align: middle;
  font-size: 14px;
}

.pricing__name {
  font-weight: 500;
  color: var(--color-dark);
  line-height: 1.5;
}

.pricing__sub {
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 300;
  margin-top: 3px;
}

.pricing__price {
  font-weight: 600;
  color: var(--color-dark);
  white-space: nowrap;
}

.pricing__note-col {
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 300;
}

.pricing__footnote {
  margin-top: 16px;
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.8;
  font-weight: 300;
}

/* ========================================
   NEWS
   ======================================== */
.news__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.news__all-link {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-light);
  margin-bottom: 50px;
}

.news__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-gray-dark);
}

.news-item {
  display: grid;
  grid-template-columns: 100px 80px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-gray-dark);
  transition: background 0.2s;
}

.news-item:hover {
  opacity: 1;
  background: rgba(0,0,0,0.02);
  padding-left: 8px;
  padding-right: 8px;
}

.news-item__date {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 300;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.news-item__cat {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.news-item__title {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.6;
}

.news-item__arrow {
  font-size: 18px;
  color: var(--color-text-muted);
}

/* ========================================
   COMPANY
   ======================================== */
.company__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.company__table {
  width: 100%;
  border-collapse: collapse;
}

.company__table tr {
  border-bottom: 1px solid var(--color-gray-dark);
}

.company__table th,
.company__table td {
  padding: 16px 0;
  font-size: 14px;
  line-height: 1.8;
  text-align: left;
  vertical-align: top;
}

.company__table th {
  width: 120px;
  font-weight: 500;
  color: var(--color-dark);
  white-space: nowrap;
}

.company__table td {
  color: var(--color-text-light);
}

.company__message {
  padding: 32px;
  background: var(--color-gray);
  border-radius: 12px;
}

.company__message p {
  font-size: 14px;
  line-height: 2;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.company__message p:last-of-type {
  margin-bottom: 24px;
}

.company__sig {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-dark);
  letter-spacing: 0.05em;
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
  position: relative;
  padding: var(--section-padding) 0;
}

.contact__bg {
  position: absolute;
  inset: 0;
  background: var(--color-white);
}

.contact__overlay {
  display: none;
}

.contact__inner {
  position: relative;
  z-index: 2;
}

.contact .section__label--light .section__label-en {
  color: var(--color-dark);
}

.contact .section__label--light .section__label-ja {
  color: var(--color-text-light);
}

.contact__text {
  font-size: 15px;
  line-height: 2;
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: 50px;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact__left {
  padding-top: 20px;
}

.contact__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__tel {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 600;
  color: var(--color-dark);
  letter-spacing: 0.02em;
}

.contact__tel-note {
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 300;
}

/* Form */
.contact__form {
  background: var(--color-gray);
  padding: 36px;
  border-radius: 12px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__field {
  margin-bottom: 20px;
}

.form__label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.form__label sup {
  color: #e53e3e;
  font-size: 11px;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid var(--color-gray-dark);
  border-radius: 6px;
  transition: border-color 0.2s;
  outline: none;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--color-primary);
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3e%3cpath d='M2 4l4 4 4-4' stroke='%23999' stroke-width='1.5' fill='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
}

.form__submit {
  display: block;
  width: 100%;
  padding: 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-white);
  background: var(--color-dark);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s;
}

.form__submit:hover {
  opacity: 0.85;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 60px 0 30px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__logo-en {
  display: block;
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
}

.footer__logo-jp {
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

.footer__tagline {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-top: 16px;
  line-height: 1.8;
}

.footer__nav-wrap {
  display: flex;
  gap: 60px;
}

.footer__nav h4 {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav a {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s;
}

.footer__nav a:hover {
  color: var(--color-white);
  opacity: 1;
}

.footer__bottom {
  padding-top: 30px;
  text-align: center;
}

.footer__bottom p {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 4px;
}

.footer__copy {
  font-family: var(--font-en);
  letter-spacing: 0.05em;
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Tablet */
@media (max-width: 900px) {
  :root {
    --section-padding: 80px;
  }

  .header__nav {
    display: none;
  }

  .header__hamburger {
    display: flex;
  }

  .header__nav.is-open {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }

  .header__nav.is-open .header__nav-list {
    flex-direction: column;
    gap: 24px;
  }

  .header__nav.is-open .header__nav-list a {
    font-size: 16px;
    color: var(--color-dark);
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .flow-step:not(:last-child)::after {
    display: none;
  }

  .quality__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .company__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .news-item {
    grid-template-columns: 90px 70px 1fr auto;
    gap: 12px;
  }

  .footer__top {
    flex-direction: column;
    gap: 40px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --section-padding: 64px;
    --header-height: 60px;
  }

  .sp-only {
    display: inline;
  }

  .hero {
    min-height: 100svh;
    padding-bottom: 40px;
  }

  .hero__content {
    padding: 0 24px;
  }

  .hero__scroll {
    display: none;
  }

  .hero__buttons {
    flex-direction: column;
  }

  .hero__buttons .btn {
    width: 100%;
    text-align: center;
  }

  .hero__stats {
    flex-wrap: wrap;
  }

  .hero__stat {
    padding: 16px 16px 16px 0;
  }

  .hero__stat-num {
    font-size: 22px;
  }

  .about__images {
    grid-template-columns: 1fr 0.8fr;
  }

  .placeholder-img--about1 { min-height: 280px; }
  .placeholder-img--about2 { min-height: 200px; }

  .service__grid {
    grid-template-columns: 1fr;
  }

  .service-card__img {
    height: 180px;
  }

  .quality__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .quality-item {
    padding: 28px 20px;
  }

  .news-item {
    grid-template-columns: 1fr auto;
    gap: 4px;
  }

  .news-item__date {
    grid-column: 1;
  }

  .news-item__cat {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
  }

  .news-item__title {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .news-item__arrow {
    display: none;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .contact__form {
    padding: 24px;
  }

  .footer__nav-wrap {
    flex-direction: column;
    gap: 32px;
  }

  .pricing__note-col {
    display: none;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .about__images {
    grid-template-columns: 1fr;
  }

  .about__img--main .placeholder-img { min-height: 240px; }
  .about__img--sub .placeholder-img { min-height: 180px; }

  .flow__grid {
    grid-template-columns: 1fr;
  }

  .section__label-en {
    font-size: 32px;
  }

  .pricing__table thead {
    display: none;
  }

  .pricing__table td {
    display: block;
    padding: 6px 16px;
  }

  .pricing__table td:first-child {
    padding-top: 16px;
  }

  .pricing__table td:last-child:not(.pricing__note-col) {
    padding-bottom: 16px;
  }

  .pricing__table tr {
    display: block;
  }
}
