/*
Theme Name: New
Theme URI: https://example.com/
Author: Shimizu Greenhouse
Description: 清水グリーンハウス用のシンプルなWordPressテーマです。大葉の生産・求人・お問い合わせに特化した構成です。
Version: 1.1.0
Text Domain: new
*/

:root {
  --green: #0f6f3d;
  --green-dark: #064627;
  --green-soft: #eaf6ee;
  --green-light: #f6fbf7;
  --accent: #f4b942;
  --text: #1f2a24;
  --muted: #68756d;
  --line: #dbe8df;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(18, 68, 39, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family:
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo,
    sans-serif;
  line-height: 1.8;
  background: var(--green-light);
}

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1em;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(219, 232, 223, 0.9);
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: 1160px;
  height: 78px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.logo-mark {
  width: 50px;
  height: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, #0f6f3d, #41a96f);
  font-size: 20px;
}

.logo-text-main {
  display: block;
  font-size: 20px;
  line-height: 1.1;
}

.logo-text-sub {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
}

.global-nav ul,
.global-nav .menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.global-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.global-nav li:last-child a,
.nav-apply {
  padding: 9px 18px;
  color: var(--white);
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(15, 111, 61, 0.22);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green-dark);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

main {
  padding-top: 78px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  overflow: hidden;
  background: var(--green-dark);
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(3, 41, 22, 0.76) 0%,
    rgba(3, 41, 22, 0.48) 45%,
    rgba(3, 41, 22, 0.1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  min-height: calc(100vh - 78px);
  margin: 0 auto;
  padding: 80px 24px;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 720px;
  color: var(--white);
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.hero-title {
  margin: 0 0 20px;
  font-size: clamp(36px, 6vw, 76px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.hero-title span {
  color: #d8ffdf;
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 34px;
  font-size: clamp(16px, 2vw, 21px);
  font-weight: 600;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.05em;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--green-dark);
  background: var(--white);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
}

.btn-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: 96px 24px;
}

.section-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.section-head {
  margin-bottom: 42px;
  text-align: center;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.section-lead {
  max-width: 830px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 16px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 34px;
  align-items: center;
}

.about-card {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.about-card h3 {
  margin: 0 0 16px;
  color: var(--green-dark);
  font-size: 26px;
  line-height: 1.5;
}

.about-list {
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.about-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 700;
}

.about-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 900;
}

.about-image {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-image img {
  aspect-ratio: unset;
}

.recruit {
  background: linear-gradient(180deg, #f6fbf7 0%, #eaf6ee 100%);
}

.recruit-box {
  padding: 42px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.recruit-message {
  padding: 28px;
  margin-top: 50px;
  border-left: 6px solid var(--accent);
  border-radius: 16px;
  background: #fffaf0;
}

.recruit-message h3 {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: clamp(22px, 3vw, 30px);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.recruit-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.recruit-table th,
.recruit-table td {
  padding: 16px 18px;
  border: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.recruit-table th {
  width: 18%;
  color: var(--white);
  background: var(--green);
  font-weight: 800;
  white-space: nowrap;
}

.recruit-table td {
  background: #fff;
}

.recruit-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.recruit-image {
  display: flex;
  justify-content: center;
}

.recruit-image img {
  max-width: 80%;
  border-radius: 22px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 42px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, #0f6f3d, #064627);
  box-shadow: var(--shadow);
}

.contact-card h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.4;
}

.contact-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
}

.tel-box {
  min-width: 280px;
  padding: 22px 26px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  text-align: center;
}

.tel-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.tel-number {
  display: block;
  margin-top: 6px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.3;
}

.tel-time {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.page-hero {
  padding: 74px 24px 74px;
  color: var(--white);
  background: linear-gradient(135deg, #0f6f3d, #064627);
}

.page-hero-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.35;
  letter-spacing: 0.05em;
}

.page-hero p {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.86);
}

.page-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 80px 24px;
}

.content-box {
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.content-box h2,
.content-box h3 {
  color: var(--green-dark);
}

.contact-list {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.contact-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.site-footer {
  color: var(--white);
  background: var(--green-dark);
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 42px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-name {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.footer-text {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.copyright {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.outbox {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.oubobox1 img {
  max-width: 30%;
}

.blue-link {
  color: blue;
}

.about-card {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-block;
  }

  .global-nav {
    position: absolute;
    top: 78px;
    left: 0;
    width: 100%;
    padding: 16px 24px 24px;
    display: none;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .global-nav.is-open {
    display: block;
  }

  .global-nav ul,
  .global-nav .menu {
    display: grid;
    gap: 10px;
    width: fit-content;
    margin: 0 auto;
  }

  .global-nav a {
    width: 100%;
    padding: 12px 0;
    justify-content: center;
  }

  .about-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .tel-box {
    min-width: 0;
  }

  .table-wrap {
    margin-top: 50px;
  }

  .recruit-image img {
    max-width: 100%;
  }

  .oubobox1 img {
    max-width: 100%;
  }

  .about-card {
    height: auto;
  }

  .about-image img {
    aspect-ratio: unset;
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: 68px;
    padding: 0 16px;
  }

  .logo-text-main {
    font-size: 17px;
  }

  .logo-text-sub {
    display: none;
  }

  main {
    padding-top: 68px;
  }

  .global-nav {
    top: 68px;
  }

  .hero,
  .hero-content {
    min-height: calc(100vh - 68px);
  }

  .hero-content {
    padding: 64px 18px;
  }

  .section {
    padding: 72px 18px;
  }

  .about-card,
  .recruit-box,
  .contact-card,
  .content-box {
    padding: 26px 20px;
  }

  .footer-inner {
    display: block;
  }

  .copyright {
    margin-top: 22px;
  }
}

#wpcf7-f16-o1 {
  padding: 40px 48px;
  max-width: 980px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* p繧ｿ繧ｰ縺ｮ菴咏區隱ｿ謨ｴ */
#wpcf7-f16-o1 form p {
  margin: 0 0 28px;
}

/* 繝ｩ繝吶Ν */
#wpcf7-f16-o1 label {
  display: block;
  font-weight: 700;
  color: #111;
  line-height: 1.7;
}

/* 蜈･蜉帶ｬ��螟門� */
#wpcf7-f16-o1 .wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}

/* 繝�く繧ｹ繝医�繝｡繝ｼ繝ｫ蜈･蜉帶ｬ� */
#wpcf7-f16-o1 input[type="text"],
#wpcf7-f16-o1 input[type="email"] {
  width: 520px;
  max-width: 100%;
  height: 44px;
  padding: 8px 10px;
  border: 1px solid #bbb;
  border-radius: 2px;
  background: #fff;
  font-size: 16px;
  box-sizing: border-box;
}

/* 縺雁撫縺�粋繧上○蜀�ｮｹ */
#wpcf7-f16-o1 textarea {
  width: 100%;
  max-width: 100%;
  height: 120px;
  padding: 10px;
  border: 1px solid #bbb;
  border-radius: 2px;
  background: #fff;
  font-size: 16px;
  box-sizing: border-box;
  resize: vertical;
}

/* 騾∽ｿ｡繝懊ち繝ｳ */
#wpcf7-f16-o1 input[type="submit"] {
  background: #0f6f3d;
  color: #fff;
  border: none;
  border-radius: 3px;
  padding: 10px 18px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

#wpcf7-f16-o1 input[type="submit"]:hover {
  background: #064627;
}

/* 繧ｹ繝斐リ繝ｼ菴咲ｽｮ隱ｿ謨ｴ */
#wpcf7-f16-o1 .wpcf7-spinner {
  vertical-align: middle;
}

/* 繧ｨ繝ｩ繝ｼ譁� */
#wpcf7-f16-o1 .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 13px;
  color: #d00;
}

/* 騾∽ｿ｡蠕後Γ繝�そ繝ｼ繧ｸ */
#wpcf7-f16-o1 .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 12px;
  border-radius: 3px;
}

/* 繧ｹ繝槭�蟇ｾ蠢� */
@media screen and (max-width: 768px) {
  #wpcf7-f16-o1 {
    padding: 28px 20px;
  }

  #wpcf7-f16-o1 input[type="text"],
  #wpcf7-f16-o1 input[type="email"],
  #wpcf7-f16-o1 textarea {
    width: 100%;
  }
}

/* 蠢懷供繝輔か繝ｼ繝�蜈ｨ菴� */
#wpcf7-f17-o1,
form[action*="#wpcf7-f17-o1"] {
  box-sizing: border-box;
}

/* 蜷���岼縺ｮ菴咏區 */
#wpcf7-f17-o1 form p,
form[action*="#wpcf7-f17-o1"] p {
  margin: 0 0 18px;
}

/* 繝ｩ繝吶Ν */
#wpcf7-f17-o1 label,
form[action*="#wpcf7-f17-o1"] label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #111;
  line-height: 1.6;
  margin-bottom: 5px;
}

/* 蠢��医�繝ｼ繧ｯ繧辰SS縺ｧ霑ｽ蜉� */
#wpcf7-f17-o1 p:has(.wpcf7-validates-as-required) > label::after,
form[action*="#wpcf7-f17-o1"]
  p:has(.wpcf7-validates-as-required)
  > label::after {
  content: " *";
  color: #e60000;
}

/* 蜈･蜉帶ｬ��蜈ｱ騾壹ョ繧ｶ繧､繝ｳ */
#wpcf7-f17-o1 input[type="text"],
#wpcf7-f17-o1 input[type="email"],
#wpcf7-f17-o1 input[type="tel"],
form[action*="#wpcf7-f17-o1"] input[type="text"],
form[action*="#wpcf7-f17-o1"] input[type="email"],
form[action*="#wpcf7-f17-o1"] input[type="tel"] {
  width: 400px;
  height: 40px;
  padding: 3px 6px;
  border: 1px solid #ccc;
  border-radius: 0;
  background: #fff;
  font-size: 12px;
  box-sizing: border-box;
}

/* 菴乗園縺�縺第ｨｪ髟ｷ繝ｻ鬮倥＆縺ゅｊ */
#wpcf7-f17-o1 input[name="jyuusyo"],
form[action*="#wpcf7-f17-o1"] input[name="jyuusyo"] {
  max-width: 100%;
  width: 400px;
  height: 40px;
}

/* 縺碑ｳｪ蝠乗ｬ� */
#wpcf7-f17-o1 textarea[name="your-message"],
form[action*="#wpcf7-f17-o1"] textarea[name="your-message"] {
  width: 100%;
  height: 150px;
  min-height: 28px;
  padding: 4px 6px;
  border: 1px solid #ccc;
  border-radius: 0;
  background: #fff;
  font-size: 12px;
  box-sizing: border-box;
  resize: vertical;
}

/* 繝√ぉ繝�け繝懊ャ繧ｯ繧ｹ繧堤ｸｦ荳ｦ縺ｳ縺ｫ */
#wpcf7-f17-o1 .wpcf7-checkbox,
form[action*="#wpcf7-f17-o1"] .wpcf7-checkbox {
  display: block;
  margin-top: 4px;
}

#wpcf7-f17-o1 .wpcf7-list-item,
form[action*="#wpcf7-f17-o1"] .wpcf7-list-item {
  display: block;
  margin: 0 0 4px;
  font-size: 12px;
}

/* 繝√ぉ繝�け繝懊ャ繧ｯ繧ｹ縺ｮ螟ｧ縺阪＆ */
#wpcf7-f17-o1 input[type="checkbox"],
form[action*="#wpcf7-f17-o1"] input[type="checkbox"] {
  width: 12px;
  height: 12px;
  margin: 0 6px 0 0;
  vertical-align: middle;
}

/* 繝√ぉ繝�け繝懊ャ繧ｯ繧ｹ讓ｪ縺ｮ譁�ｭ� */
#wpcf7-f17-o1 .wpcf7-list-item-label,
form[action*="#wpcf7-f17-o1"] .wpcf7-list-item-label {
  font-size: 12px;
  vertical-align: middle;
}

/* 騾∽ｿ｡繝懊ち繝ｳ */
#wpcf7-f17-o1 input[type="submit"],
form[action*="#wpcf7-f17-o1"] input[type="submit"] {
  background: #0f6f3d;
  color: #fff;
  border: none;
  border-radius: 3px;
  padding: 10px 18px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

#wpcf7-f17-o1 input[type="submit"]:hover,
form[action*="#wpcf7-f17-o1"] input[type="submit"]:hover {
  background: #064627;
}

/* 繧ｨ繝ｩ繝ｼ譁� */
#wpcf7-f17-o1 .wpcf7-not-valid-tip,
form[action*="#wpcf7-f17-o1"] .wpcf7-not-valid-tip {
  font-size: 11px;
  margin-top: 4px;
}

/* 繧ｹ繝槭�蟇ｾ蠢� */
@media screen and (max-width: 600px) {
  #wpcf7-f17-o1 input[type="text"],
  #wpcf7-f17-o1 input[type="email"],
  #wpcf7-f17-o1 input[type="tel"],
  #wpcf7-f17-o1 input[name="jyuusyo"],
  #wpcf7-f17-o1 textarea[name="your-message"],
  form[action*="#wpcf7-f17-o1"] input[type="text"],
  form[action*="#wpcf7-f17-o1"] input[type="email"],
  form[action*="#wpcf7-f17-o1"] input[type="tel"],
  form[action*="#wpcf7-f17-o1"] input[name="jyuusyo"],
  form[action*="#wpcf7-f17-o1"] textarea[name="your-message"] {
    width: 100%;
  }
}
