/* ── Variables ── */
:root {
  --bg:       #fbfbf3;
  --bg-light: #ecf1df;
  --bg-mid:   #dee5c3;
  --green:    #09371f;
  --gold:     #fcba03;
  --text:     #2c2c2c;
  --text-light: #555;
  --radius:   8px;
  --shadow:   0 2px 16px rgba(9,55,31,.08);
  --font-h:   'Georgia', 'Times New Roman', serif;
  --font-b:   'Calibri', 'Trebuchet MS', system-ui, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-b); font-size: 16px; line-height: 1.75; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ── Header / Nav ── */
header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--bg-mid);
  box-shadow: 0 1px 8px rgba(9,55,31,.07);
}
.header-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
}
.header-logo { height: 44px; width: auto; }

nav { display: flex; align-items: center; gap: 8px; }
nav a {
  font-family: var(--font-b); font-size: .9rem; font-weight: 600;
  color: var(--green); padding: 6px 14px; border-radius: var(--radius);
  transition: background .2s, color .2s;
  white-space: nowrap;
}
nav a:hover, nav a.active { background: var(--green); color: #fff; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--green); margin: 5px 0;
  transition: all .3s;
}

/* ── Hero ── */
.hero {
  position: relative;
  background: var(--green);
  color: #fff;
  text-align: center;
  overflow: hidden;
  min-height: 560px;
  display: flex; align-items: center; justify-content: center;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  display: none;
}
.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px 24px;
}
.hero-logo {
  width: 200px; max-width: 60vw;
  border-radius: 12px;
  margin-bottom: 24px;
  animation: fadeUp .8s ease both;
}
.hero-name {
  font-family: var(--font-h); font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  font-weight: normal; letter-spacing: .06em; color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
  animation: fadeUp .8s .2s ease both;
}
.hero-tagline {
  margin-top: 12px; font-size: 1.1rem; color: var(--gold);
  letter-spacing: .1em; text-shadow: 0 1px 6px rgba(0,0,0,.5);
  animation: fadeUp .8s .35s ease both;
}
.hero h1 {
  font-family: var(--font-h); font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: normal; letter-spacing: .04em;
  animation: fadeUp .8s .2s ease both;
}
.hero p {
  margin-top: 0; margin-bottom: 16px;
  font-size: 1rem; opacity: .9; max-width: 600px;
  animation: fadeUp .8s .35s ease both;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.hero-btn {
  display: inline-block; margin-top: 32px;
  background: var(--gold); color: var(--green);
  font-weight: 700; font-size: .95rem;
  padding: 12px 36px; border-radius: 50px;
  transition: opacity .2s;
  animation: fadeUp .8s .5s ease both;
}
.hero-btn:hover { opacity: .88; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Section common ── */
section { padding: 80px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-h); font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--green); font-weight: normal; margin-bottom: 16px;
}
.section-sub { color: var(--text-light); max-width: 680px; margin-bottom: 48px; }
.bg-light { background: var(--bg-light); }
.bg-mid   { background: var(--bg-mid); }

/* ── Services ── */
.service-tabs {
  display: flex; gap: 8px; margin-bottom: 40px; flex-wrap: wrap;
}
.tab-btn {
  background: none; border: 2px solid var(--green);
  color: var(--green); font-family: var(--font-b); font-size: .9rem; font-weight: 700;
  padding: 10px 24px; border-radius: 50px; cursor: pointer;
  transition: background .2s, color .2s;
}
.tab-btn.active, .tab-btn:hover { background: var(--green); color: #fff; }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.service-card {
  background: #fff; border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow); border-top: 4px solid var(--gold);
  transition: transform .2s;
}
.service-card:hover { transform: translateY(-4px); }
.service-card h3 { font-family: var(--font-h); color: var(--green); font-size: 1.05rem; margin-bottom: 10px; }
.service-card p { font-size: .9rem; color: var(--text-light); line-height: 1.7; }

/* Service full blocks */
.svc-list { display: flex; flex-direction: column; gap: 32px; }
.svc-block {
  background: #4a6b38; border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,.12); overflow: hidden;
}
.svc-block-header {
  padding: 28px 32px 20px;
}
.svc-block-header h3 {
  font-family: var(--font-h); color: #fff; font-size: 1.55rem; font-weight: bold;
  margin-bottom: 14px;
}
.svc-block-header h3::after {
  content: ''; display: block;
  width: 100%; height: 1px;
  background: rgba(255,255,255,.35); margin-top: 14px;
}
.svc-subtitle { color: rgba(255,255,255,.85); font-size: .92rem; margin-top: 12px; }
.svc-block-body { background: #4a6b38; padding: 0; }
.svc-block-body > p {
  color: #fff; padding: 16px 32px 24px; margin: 0; line-height: 1.85;
}
.read-more-btn {
  display: block;
  margin: 12px 32px 20px;
  padding: 10px 28px;
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.45);
  border-radius: 50px;
  cursor: pointer;
  font-family: var(--font-b); font-size: .9rem; font-weight: 600;
  letter-spacing: .04em;
  transition: background .2s;
}
.read-more-btn:hover { background: rgba(255,255,255,.28); }

.svc-block-body { display: none; }
.svc-block.open .svc-block-body { display: block; }

.svc-cols {
  display: grid;
  grid-template-columns: 1fr 1fr; gap: 16px;
  background: var(--bg-light); padding: 24px 24px 0;
}
.svc-col-card {
  background: var(--bg-mid); border-radius: 8px;
  padding: 24px 20px; text-align: center;
  box-shadow: none;
}
.svc-col-icon { font-size: 2rem; margin-bottom: 10px; }
.svc-col-card h4 {
  font-family: var(--font-h); color: var(--green); font-size: 1.05rem;
  font-weight: normal; margin-bottom: 16px;
}
.svc-col-card ul { padding-left: 0; list-style: none; text-align: left; }
.svc-col-card li {
  font-size: .88rem; color: var(--text-light); margin-bottom: 8px;
  line-height: 1.6; padding-left: 14px; position: relative;
}
.svc-col-card li::before {
  content: '•'; position: absolute; left: 0; color: var(--gold); font-weight: 700;
}
.svc-tagline {
  font-family: var(--font-h); font-size: .95rem; font-style: italic;
  color: var(--green) !important;
  background: var(--bg-light);
  border-top: 1px solid var(--bg-mid);
  padding: 16px 24px 24px;
}

@media (max-width: 640px) {
  .svc-cols { grid-template-columns: 1fr; gap: 16px; }
  .svc-block-header, .svc-block-body { padding: 18px 20px; }
}

/* ── Trust ── */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.trust-card {
  background: #fff; border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow); text-align: center;
}
.trust-icon { font-size: 2.4rem; margin-bottom: 16px; }
.trust-card h3 { font-family: var(--font-h); color: var(--green); margin-bottom: 10px; font-size: 1.05rem; }
.trust-card p { font-size: .9rem; color: var(--text-light); }

/* ── Founders message ── */
.founders-message {
  background: var(--green); color: #fff;
  padding: 80px 24px;
}
.founders-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.founders-inner .section-title { color: #fff; }
.founders-inner blockquote {
  font-family: var(--font-h); font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.9; opacity: .92; margin: 24px 0 36px;
}
.founders-sig { width: 340px; max-width: 90%; margin: 0 auto; filter: invert(1) brightness(2); }

/* ── Team ── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.team-card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; text-align: center;
}
.team-photo {
  width: 100%; height: 300px; object-fit: cover; object-position: center top;
}
.team-no-photo {
  width: 100%; aspect-ratio: 1/1;
  background: var(--bg-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--bg-mid);
}
.team-info { padding: 20px 16px 24px; }
.team-name-jp { font-size: .8rem; color: var(--text-light); margin-bottom: 4px; }
.team-name { font-family: var(--font-h); color: var(--green); font-size: 1rem; margin-bottom: 4px; }
.team-role { font-size: .82rem; color: var(--gold); font-weight: 700; }

/* ── Vision / Mission / Values ── */
.vmv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 40px; }
.vmv-card {
  background: #fff; border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow);
}
.vmv-card .label {
  font-size: 1.3rem; font-weight: 700; letter-spacing: .14em;
  color: #a07c00; text-transform: uppercase; margin-bottom: 8px;
}
.vmv-card p { font-family: var(--font-h); color: var(--green); font-size: 1rem; line-height: 1.7; }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.value-item {
  background: var(--green); color: #fff; border-radius: var(--radius);
  padding: 24px 20px;
}
.value-item h4 { font-family: var(--font-h); font-size: .95rem; margin-bottom: 8px; }
.value-item p { font-size: .82rem; opacity: .85; line-height: 1.6; }

/* ── News ── */
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-item {
  background: #fff; border-radius: var(--radius); padding: 20px 24px;
  box-shadow: var(--shadow); display: flex; align-items: flex-start; gap: 20px;
}
.news-date { font-size: .85rem; color: var(--gold); font-weight: 700; white-space: nowrap; min-width: 90px; padding-top: 2px; }
.news-text { font-size: .95rem; color: var(--text); }

/* ── Partners ── */
.partners-grid { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.partners-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.partner-card {
  background: #fff; border-radius: var(--radius); padding: 28px 20px;
  box-shadow: var(--shadow); border-bottom: 3px solid var(--gold);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; height: 160px;
}
a.partner-card-link { text-decoration: none; }
a.partner-card-link:hover { box-shadow: 0 6px 24px rgba(0,0,0,.12); transform: translateY(-2px); transition: .2s; }
.partner-logo-img { max-width: 150px; max-height: 90px; width: 100%; object-fit: contain; }
.partner-logo-text {
  font-family: var(--font-h); color: var(--green); font-size: 1rem; font-weight: bold; line-height: 1.4;
}
.partner-tagline { color: var(--text-light); font-size: .78rem; margin-top: 6px; }
.partner-card-azami { background: #2b3050; }
@media(max-width:768px){ .partners-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:480px){ .partners-grid { grid-template-columns: 1fr; } }

/* ── Contact form ── */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.contact-info h3 { font-family: var(--font-h); color: var(--green); font-size: 1.2rem; margin-bottom: 12px; }
.contact-info p { font-size: .9rem; color: var(--text-light); line-height: 1.8; }
.contact-form { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .85rem; font-weight: 700; color: var(--green); margin-bottom: 6px; }
.form-group input,
.form-group textarea {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--bg-mid); border-radius: var(--radius);
  background: var(--bg); font-family: var(--font-b); font-size: .95rem;
  transition: border-color .2s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--green); }
.form-group textarea { min-height: 130px; }
.btn-submit {
  background: var(--green); color: #fff;
  border: none; border-radius: 50px; cursor: pointer;
  font-family: var(--font-b); font-size: .95rem; font-weight: 700;
  padding: 12px 40px; width: 100%;
  transition: opacity .2s;
}
.btn-submit:hover { opacity: .85; }

/* ── Company overview table ── */
.company-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.company-table th {
  width: 220px; padding: 14px 20px; text-align: left;
  background: var(--bg-light); color: var(--green); font-weight: 700; font-family: var(--font-h);
  border-bottom: 1px solid var(--bg-mid); vertical-align: top;
}
.company-table td {
  padding: 14px 20px; border-bottom: 1px solid var(--bg-mid);
  color: var(--text); line-height: 1.7;
}
.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: none; }

/* ── SDGs ── */
.sdg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.sdg-card {
  background: #fff; border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow); border-left: 5px solid var(--gold);
}
.sdg-badge {
  display: inline-block; background: var(--green); color: #fff;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  padding: 4px 12px; border-radius: 50px; margin-bottom: 12px;
}
.sdg-icon { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; margin-bottom: 16px; display: block; }
.sdg-card h3 { font-family: var(--font-h); color: var(--green); margin-bottom: 10px; font-size: 1.05rem; }
.sdg-card p  { font-size: .9rem; color: var(--text-light); line-height: 1.7; }

.sdg-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 40px; }
.sdg-action {
  background: var(--green); color: #fff; border-radius: var(--radius); padding: 24px 20px;
}
.sdg-action h4 { font-family: var(--font-h); font-size: .95rem; margin-bottom: 8px; opacity: .7; }
.sdg-action p  { font-size: .88rem; line-height: 1.65; opacity: .9; }

/* ── Footer ── */
footer {
  background: var(--green); color: rgba(255,255,255,.75);
  padding: 40px 24px; text-align: center;
}
.footer-logo { height: 60px; margin: 0 auto 16px; filter: invert(1); mix-blend-mode: screen; }
.footer-nav { display: flex; justify-content: center; gap: 24px; margin-bottom: 20px; flex-wrap: wrap; }
.footer-nav a { font-size: .85rem; color: rgba(255,255,255,.7); transition: color .2s; }
.footer-nav a:hover { color: var(--gold); }
.footer-copy { font-size: .8rem; }


/* ── Language Switcher ── */
.lang-switcher { display: flex; gap: 4px; margin-left: 12px; flex-shrink: 0; }
.lang-btn {
  background: transparent;
  border: 1.5px solid var(--green);
  color: var(--green);
  font-family: var(--font-b); font-size: .75rem; font-weight: 700;
  padding: 4px 9px; border-radius: 4px; cursor: pointer;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.lang-btn:hover, .lang-btn.active {
  background: var(--green); color: #fff;
}
/* 上部の翻訳バナーを非表示 */
.goog-te-banner-frame { display: none !important; }
body { top: 0 !important; }

/* ── Utility ── */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.divider { height: 3px; width: 48px; background: var(--gold); margin-top: 10px; margin-bottom: 24px; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .header-inner { position: relative; flex-wrap: nowrap; justify-content: flex-start; }
  .header-inner > a { order: 1; }
  .lang-switcher { order: 2; margin-left: auto; }
  .nav-toggle { display: block; order: 3; margin-left: 8px; }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 100; background: var(--bg); flex-direction: column; align-items: stretch; padding: 12px 24px 20px; box-shadow: 0 8px 20px rgba(0,0,0,.1); border-bottom: 1px solid var(--bg-mid); }
  nav.open { display: flex; }
  nav a { text-align: center; padding: 10px; }

  .hero { padding: 0; min-height: 280px; }
  .hero-logo { width: 240px; }

  section { padding: 56px 20px; }

  .vmv-grid { grid-template-columns: 1fr; }
  .sdg-grid { grid-template-columns: 1fr; }
  .sdg-actions { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-photo { height: 200px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .company-table th { width: auto; display: block; border-bottom: none; padding-bottom: 4px; }
  .company-table td { display: block; padding-top: 0; }
  .company-table tr { display: block; border-bottom: 1px solid var(--bg-mid); padding: 14px 0; }
  .company-table tr:last-child { border-bottom: none; }
}
