/*
Theme Name: Takumi
Description: 株式会社匠のコーポレートサイト用クラシックテーマ。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 
Text Domain: takumi
*/




/* Contact Form 7 base styles */
.wpcf7 .screen-reader-response {
  position: absolute;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  word-wrap: normal !important;
  word-break: normal !important;
}

.wpcf7 .hidden-fields-container {
  display: none;
}

.wpcf7 form .wpcf7-response-output {
  margin: 2em 0.5em 1em;
  padding: 0.2em 1em;
  border: 2px solid #00a0d2; /* Blue */
}

.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
  display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #46b450; /* Green */
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  border-color: #dc3232; /* Red */
}

.wpcf7 form.spam .wpcf7-response-output {
  border-color: #f56e28; /* Orange */
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  border-color: #ffb900; /* Yellow */
}

.wpcf7-form-control-wrap {
  position: relative;
}

.wpcf7-not-valid-tip {
  color: #dc3232; /* Red */
  font-size: 1em;
  font-weight: normal;
  display: block;
}

.use-floating-validation-tip .wpcf7-not-valid-tip {
  position: relative;
  top: -2ex;
  left: 1em;
  z-index: 100;
  border: 1px solid #dc3232;
  background: #fff;
  padding: 0.2em 0.8em;
  width: 24em;
}

.wpcf7-list-item {
  display: inline-block;
  margin: 0 0 0 1em;
}

.wpcf7-list-item-label::before,
.wpcf7-list-item-label::after {
  content: " ";
}

.wpcf7-spinner {
  visibility: hidden;
  display: inline-block;
  background-color: #23282d; /* Dark Gray 800 */
  opacity: 0.75;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 100%;
  padding: 0;
  margin: 0 24px;
  position: relative;
}

form.submitting .wpcf7-spinner {
  visibility: visible;
}

.wpcf7-spinner::before {
  content: "";
  position: absolute;
  background-color: #fbfbfc; /* Light Gray 100 */
  top: 4px;
  left: 4px;
  width: 6px;
  height: 6px;
  border: none;
  border-radius: 100%;
  transform-origin: 8px 8px;
  animation-name: spin;
  animation-duration: 1000ms;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@media (prefers-reduced-motion: reduce) {
  .wpcf7-spinner::before {
    animation-name: blink;
    animation-duration: 2000ms;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes blink {
  from {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.wpcf7 [inert] {
  opacity: 0.5;
}

.wpcf7 input[type="file"] {
  cursor: pointer;
}

.wpcf7 input[type="file"]:disabled {
  cursor: default;
}

.wpcf7 .wpcf7-submit:disabled {
  cursor: not-allowed;
}

.wpcf7 input[type="url"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
  direction: ltr;
}

.wpcf7-reflection > output {
  display: list-item;
  list-style: none;
}

.wpcf7-reflection > output[hidden] {
  display: none;
}

:root {
  --bs-border-radius-pill: 50rem;
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --secondary: #1e293b;
  --accent: #14b8a6;
  --light-bg: #f8fafc;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.4rem;
  line-height: 1.8;
  color: var(--secondary);
  background: #fff;
  font-feature-settings: "palt";
  letter-spacing: 0.1em !important;
}

h1,
h2,
h3,
h4,
.display-font {
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-weight: 500;
  /*letter-spacing: -0.02em;*/
}

strong,
.b {
  font-weight: 500 !important;
}

a:focus-visible,
button:focus-visible {
  outline: 0.3rem solid #5eead4;
  outline-offset: 0.3rem;
}

a {
  color: var(--secondary);
  text-decoration: none;
}

a:hover {
  color: var(--primary);
  text-decoration: underline;
  text-decoration: none;
}



.icon2 {
  -webkit-text-stroke: 1px #0d9488; /* #ffffff の部分はページの背景色と同じにする */
  -webkit-font-smoothing: antialiased;
}

.service-icon {
  line-height: 1;
  font-size: 32px;
  color: #fff;
}

.t-green {
  color: var(--primary);
}


h3, .h3 {
    font-size: 2.1rem;
    margin-top: 0;
    margin-bottom: 1.6rem;
    font-weight: 500;
    line-height: 1.2;
}

h4, .h4 {
    font-size: 2.1rem;
    margin-top: 0;
    margin-bottom: 1.6rem;
    font-weight: 500;
    line-height: 1.2;
}

h5, .h5 {
    font-size: 1.6rem;
    margin-top: 0;
    margin-bottom: 1.6rem;
    font-weight: 50 rem;
    line-height: 1.4;
}


/* Text ====================*/

.t10 {
  font-size: 10px !important;
line-height:1.4;
}
.t12 {
  font-size: 12px !important;
line-height:1.4;
}
.t14 {
  font-size: 14px !important;
line-height:1.4;
}
.t16 {
  font-size: 16px !important;
}
.t18 {
  font-size: 18px !important;
}
.t21 {
  font-size: 21px !important;
}
.t22 {
  font-size: 22px !important;
}
.t24 {
  font-size: 24px !important;
}
.t28 {
  font-size: 28px !important;
}
.t32 {
  font-size: 32px !important;
}

.t12b {
  font-size: 12px;
  font-weight: 500;
}
.t14b {
  font-size: 14px;
  font-weight: 500;
}
.t16b {
  font-size: 16px;
  font-weight: 400;
}
.t18b {
  font-size: 18px;
  font-weight: 400;
}
.t21b {
  font-size: 21px;
  font-weight: 400;
}
.t24b {
  font-size: 24px;
  font-weight: 400;
}
.t28b {
  font-size: 28px;
  font-weight: 400;
}
.t32b {
  font-size: 32px;
  font-weight: 400;
}

/* Navbar ====================*/

.navbar {
  min-height: 7.2rem;
  padding: 1.2rem 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 0.1rem solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 0.2rem 2rem rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(1rem);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--primary) !important;
}

.navbar-nav {
  list-style: none;
}

.nav-link {
  position: relative;
  padding: 0.8rem 1.6rem !important;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--secondary) !important;
  color: var(--primary) !important;
}

.nav-link:hover {
  color: var(--primary) !important;
}

.nav-link::after {
  position: absolute;
  bottom: 0.2rem;
  left: 50%;
  width: 0;
  height: 0.2rem;
  content: "";
  background: var(--primary);
  transition: width 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: calc(100% - 3.2rem);
}

.navbar-toggler {
  padding: 0.6rem;
  border: 0 !important;
  box-shadow: none !important;
}

.navbar-toggler:hover,
.navbar-toggler:focus,
.navbar-toggler:focus-visible,
.navbar-toggler:active {
  border-color: transparent !important;
  outline: none;
  box-shadow: none !important;
}

/* Hero ====================*/

.hero {
  position: relative;
  display: flex;
  min-height: 76rem;
  min-height: 70rem;
 min-height: 60rem;
  padding: 9rem 0;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(225deg, #0f766e 0%, #0d9488 42%, #14b8a6 100%);
  align-items: center;
}

.hero-pellet-canvas {
  /*margin-top:140px;*/
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.86;
  opacity: 1;
}

.hero > .container {
  z-index: 2;
}

.hero::before {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  width: 58%;
  height: 100%;
  content: "";
}

.hero-badge {
  display: inline-flex;
  gap: 0.8rem;
  padding: 0.8rem 1.8rem;
  margin-bottom: 2.4rem;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.18);
  border: 0.1rem solid rgba(255, 255, 255, 0.24);
  border-radius: 50rem;
  align-items: center;
}

.hero h1 {
  margin-bottom: 2.4rem;
  font-size: clamp(3.6rem, 5vw, 5.6rem);
  font-size: clamp(2.4rem, 5vw, 3.2em);
  font-size: clamp(2.4rem, 5vw, 2.8em);
  line-height: 1.25;
  line-height: 1.4;
}

.hero .lead {
  max-width: 68rem;
  font-size: 1.9rem;
  line-height: 1.75;
  opacity: 0.95;
}

.hero-accent {
  color: #99f6e4;
}

.hero-summary {
  max-width: 56rem;
}

/* Sections ====================*/

.section {
  padding: 10rem 0 !important;
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 3rem;
  font-size: clamp(2.8rem, 3vw, 3.6rem);
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 3rem;
  font-size: clamp(2.8rem, 3vw, 3.6rem);
  font-size: clamp(2.4rem, 3vw, 3.2rem);
  font-size: clamp(2.4rem, 3vw, 2.8rem);
}


.section-title::after {
  position: absolute;
  bottom: -2rem;
  left: 0;
  width: 6rem;
  height: 0.3rem;
  content: "";
  background: var(--primary);
  border-radius: 0.2rem;
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-subtitle {
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-muted {
  background: var(--light-bg);
}

.section-lead {
  max-width: 80rem;
}

/* Vision ====================*/

.vision-card {
  height: 100%;
  padding: 4rem;
  background: #fff;
  border: 0.1rem solid var(--border-color);
  border-radius: 1.6rem;
  box-shadow: 0 1rem 4rem rgba(15, 23, 42, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.vision-icon {
  display: flex;
  width: 6rem;
  height: 6rem;
  margin-bottom: 2.4rem;
  font-size: 2.4rem;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 1.6rem;
  align-items: center;
  justify-content: center;
}

/* Products ====================*/

.product-card {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 0.1rem solid var(--border-color);
  border-radius: 1.6rem;
  box-shadow: 0 0.8rem 3rem rgba(15, 23, 42, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.product-header {
  min-height: 9.6rem;
  padding: 2.4rem;
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.product-body {
  padding: 2.4rem;
}

.product-contact-card {
  min-height: 22rem;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.spec-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.spec-list li {
  padding: 0.8rem 0;
  font-size: 1.5rem;
  color: var(--text-muted);
  border-bottom: 0.1rem dashed var(--border-color);
}

.spec-list li:last-child {
  border-bottom: 0;
}

.spec-list strong {
  color: var(--secondary);
}

.business-strategy-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.business-strategy-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Company ====================*/

.info-table {
  width: 100%;
}

.info-table th {
  width: 10rem;
  padding: 0.3em 0;
  font-weight: 500;
  vertical-align: top;
}

.info-table td {
  padding: 0.3rem 0;
}

.business-list {
  padding: 0;
  list-style: none;
}

.business-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.3rem;
}

.business-list li::before {
  position: absolute;
  top: 0.9rem;
  left: 0;
  width: 1rem;
  height: 1rem;
  content: "";
  background: var(--primary);
  border-radius: 50%;
}

.profile-card {
  padding: 5rem;
  background: var(--light-bg);
  border-radius: 1.6rem;
}

.profile-avatar {
  display: inline-flex;
  width: 12rem;
  height: 12rem;
  background: #fff;
  border: 0.3rem solid var(--primary);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.t-green.t18 {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.contact-link {
  color: var(--primary);
  text-decoration: none;
}

.contact-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* CTA =====================*/

.cta-section {
  padding: 5.6rem 3.2rem;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, #0f766e, #0d9488);
  border-radius: 2.4rem;
}

.cta-copy {
  max-width: 50rem;
}

/* Contact Form 7 ====================*/

.contact-section {
  position: relative;
  overflow: hidden;
  /*background: #fff;*/
  background: var(--light-bg);
}

.contact-form-card {
  position: relative;
  max-width: 88rem;
  padding: 4.8rem;
  margin: 4rem auto 0;
  background: #fff;
  border: 0.1rem solid var(--border-color);
  border-radius: 2rem;
  box-shadow: 0 1.6rem 5rem rgba(15, 23, 42, 0.08);
}

.contact-form-card .wpcf7 {
  width: 100%;
}

.contact-form-card .wpcf7-form {
  margin: 0;
}

.contact-form-card .wpcf7-form p {
  margin-bottom: 2.4rem;
}

.contact-form-card .wpcf7-form p:last-of-type {
  margin-bottom: 0;
}

.contact-form-card .wpcf7-form label {
  display: block;
  margin-bottom: 0.8rem;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--secondary);
}

.contact-form-card .form-required,
.contact-form-card .form-optional {
  display: inline-flex;
  padding: 0.2rem 0.8rem;
  margin-left: 0.8rem;
  font-size: 1.1rem;
  line-height: 1.5;
  vertical-align: 0.2rem;
  border-radius: 50rem;
}

.contact-form-card .form-required {
  color: #fff;
  background: var(--primary);
padding:2px 10px 3px!important;
}

.contact-form-card .form-optional {
  color: var(--text-muted);
  background: #e2e8f0;
padding:2px 10px 3px!important;
}

.contact-form-card .wpcf7-form-control-wrap {
  display: block;
  margin-top: 0.8rem;
}

.contact-form-card .wpcf7-text,
.contact-form-card .wpcf7-email,
.contact-form-card .wpcf7-tel,
.contact-form-card .wpcf7-textarea {
  width: 100%;
  padding: 1.3rem 1.6rem;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  color: var(--secondary);
  background: #f8fafc;
  border: 0.1rem solid #cbd5e1;
  border-radius: 0.8rem;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-form-card .wpcf7-textarea {
  min-height: 18rem;
  resize: vertical;
}

.contact-form-card .wpcf7-text:focus,
.contact-form-card .wpcf7-email:focus,
.contact-form-card .wpcf7-tel:focus,
.contact-form-card .wpcf7-textarea:focus {
  background: #fff;
  border-color: var(--primary);
  outline: 0;
  box-shadow: 0 0 0 0.35rem rgba(13, 148, 136, 0.13);
}

.contact-form-card .wpcf7-not-valid {
  border-color: #dc2626;
}

.contact-form-card .wpcf7-not-valid-tip {
  margin-top: 0.6rem;
  font-size: 1.3rem;
  color: #dc2626;
}

.contact-form-card .wpcf7-submit {
  min-width: 24rem;
  padding: 1.3rem 3.6rem;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  background: var(--primary);
  border: 0;
  border-radius: 50rem;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-form-card .wpcf7-submit:hover {
  background: var(--primary-dark);
  box-shadow: 0 0.8rem 2rem rgba(13, 148, 136, 0.25);
  /*transform: translateY(-.2rem);*/
}

.contact-form-card .wpcf7-submit:focus-visible {
  outline: 0.3rem solid #5eead4;
  outline-offset: 0.3rem;
}

.contact-form-card .wpcf7-spinner {
  vertical-align: middle;
}

.contact-form-card .wpcf7-response-output {
  padding: 1.2rem 1.6rem;
  margin: 2.4rem 0 0;
  font-size: 1.4rem;
  border-radius: 0.8rem;
}

.contact-submit-row {
  margin-top: 3.2rem;
  text-align: center;
}

/* Footer ====================*/

footer {
  padding: 4.8rem 0 2.4rem;
  color: #cbd5e1;
  /*background: var(--secondary);*/
  background: var(--primary) !important;
}

footer a {
  color: #94a3b8;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

footer a:hover {
  color: var(--accent);
}

.footer-brand {
  font-family: "Montserrat", sans-serif;
  font-size: 2.2rem;
  font-weight: 500;
  color: #fff;
}

/* Buttons */
.btn {
  font-family: "Noto Sans JP", sans-serif !important;
  font-weight: 500 !important;
}

.hero .btn {
  width: 180px;
  font-size: 1.8rem;
}


/**/
.btn-primary-custom {
font-size:1.4rem!important;
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  padding: 1.2rem 3.2rem;
  color: #fff;
  background: var(--primary);
  border: 0;
  border-radius: 50rem;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.6;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.btn-primary-custom:hover {
  color: #fff;
  background: var(--primary-dark);
  box-shadow: 0 0.8rem 2rem rgba(13, 148, 136, 0.3);
}

/* スマホ */
@media (max-width: 575.98px) {
  .btn-primary-custom {
    padding: 1rem 2rem;
  }
}





.btn-outline-light-custom {
  padding: 1.1rem 2.8rem;
  color: #fff;
  border: 0.2rem solid rgba(255, 255, 255, 0.7);
  border-radius: 50rem;
  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.btn-outline-light-custom:hover {
  color: var(--primary);
  background: #fff;
  border-color: #fff;
}

.btn-light-visible {
  color: var(--primary-dark);
  background-color: #fff;
  border-color: #fff;
  box-shadow: 0 0.8rem 2rem rgba(15, 23, 42, 0.16);
}

.btn-light-visible:hover {
  color: #fff;
  background-color: var(--secondary);
  border-color: var(--secondary);
  /*transform: translateY(-.2rem);*/
}

.btn-light-visible:focus-visible {
  color: var(--primary-dark);
  background-color: #fff;
  border-color: #fff;
  box-shadow: 0 0 0 0.4rem rgba(255, 255, 255, 0.35);
}

.text-brand {
  color: var(--primary) !important;
}

/* SECTION VISUAL */

.section-visual {
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.section-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 1.6rem 0 0.8rem;
  }

  .nav-link {
    padding: 1rem 0 !important;
  }

  .nav-link::after {
    display: none;
  }

  .hero {
    min-height: 68rem;
  }

  .hero-pellet-canvas {
    margin-top: 140px;
  }

  /* SECTION VISUAL */

  .section-visual {
    width: 100%;
    height: 300px;
    overflow: hidden;
  }

  .section-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
  }
} /* END */

@media (max-width: 576px) {
  .hero-pellet-canvas {
    margin-top: 120px;
  }
}

@media (max-width: 767.98px) {
  .hero {
    min-height: auto;
    padding: 8rem 0;
    text-align: center;
  }

  .hero-pellet-canvas {
    margin-top: 140px;
    opacity: 0.42;
    opacity: 1;
  }

/*
  .hero h1 {
    font-size: clamp(3.2rem, 10vw, 4.4rem);
  }
*/
/*
  .hero h1 {
    font-size: 2.6rem;
  }
*/
  .hero .lead {
    margin-right: auto;
    margin-left: auto;
    font-size: 1.7rem;
  }

  .section {
    padding: 6rem 0;
  }

  .vision-card {
    padding: 3rem;
  }

  .info-table th {
    width: 10rem;
  }

  .cta-section {
    padding: 4.8rem 2rem;
    border-radius: 1.6rem;
  }

  .contact-form-card {
    padding: 3rem 2rem;
    border-radius: 1.6rem;
  }

  .contact-form-card .wpcf7-submit {
    width: 100%;
    min-width: 0;
  }

  /* SECTION VISUAL */

  .section-visual {
    width: 100%;
    height: 300px;
    overflow: hidden;
  }

  .section-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
  }
} /* END */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  /* SECTION VISUAL */

  .section-visual {
    width: 100%;
    height: 300px;
    overflow: hidden;
  }

  .section-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
  }
} /* END */

/* RECYCLED PLASTIC MATERIALS */

.service-cards .product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-cards .product-header {
  box-sizing: border-box;
  flex-shrink: 0;
}

.service-cards .product-body {
  flex: 1;
}

.recycling-table {
  border-top: 2px solid var(--primary);
}

.recycling-table th {
  width: 120px;
  border-bottom: 2px solid var(--primary);
  padding: 20px 20px 20px 0;
  color: var(--primary);
  vertical-align: top;
}

.recycling-table td {
  padding: 20px 0 20px 0;
  border-bottom: 2px solid var(--primary);
}

/* 再生ペレット・粉砕品の商品一覧 */
.material-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.4rem;
  margin-top: 3rem;
}

.material-product-card {
  overflow: hidden;
  border: 1px solid #e0e9e3;
  border-radius: 1.2rem;
  background: #fff;
  box-shadow: 0 0.8rem 3rem rgba(15, 23, 42, 0.06);
}

.material-product-card > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.material-product-body {
  padding: 0 2rem 2rem;
  text-align: center;
}
/*
.material-product-body h4 {
  margin: 0;
  color: var(--primary);
  font-size: 1.8rem;
  line-height: 1.6;
}
*/
.material-product-body h4 {
  margin: 0;
  color: var(--primary);
  font-size: 1.6rem!important;
  line-height: 1.6;
}
.material-product-body p {
  margin: 1rem 0 0;
  font-size: 1.4rem;
  line-height: 1.8;
}
@media (max-width: 1199.98px) {
  .material-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767.98px) {
  .material-product-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
}

/* WordPress content templates */
.screen-reader-text { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link:focus { clip:auto; width:auto; height:auto; left:16px; top:16px; padding:12px; background:#fff; color:#111; z-index:10000; }
.admin-bar .sticky-top { top:32px; }
.wp-content-shell { max-width:960px; margin-inline:auto; }
.entry-content { overflow-wrap:anywhere; }
.entry-content img, .entry-thumbnail img { max-width:100%; height:auto; }
.entry-content iframe { max-width:100%; }
.entry-content::after { content:""; display:table; clear:both; }
.alignleft { float:left; margin:0 2rem 2rem 0; }
.alignright { float:right; margin:0 0 2rem 2rem; }
.aligncenter { display:block; margin-inline:auto; }
.wp-caption { max-width:100%; }
.wp-caption-text, .gallery-caption { font-size:1.4rem; }
.post-list-item { padding-block:3rem; border-bottom:1px solid #ddd; }
.entry-meta { margin-block:1rem 2rem; color:#666; font-size:1.4rem; }
.navigation.pagination, .post-navigation { margin-top:4rem; }
.page-numbers { display:inline-block; padding:.5rem 1rem; }
.search-form { display:flex; flex-wrap:wrap; gap:1rem; margin-block:2rem; }
.search-field, .comment-form input:not([type=checkbox]), .comment-form textarea { max-width:100%; padding:1rem; border:1px solid #aaa; border-radius:4px; }
.comment-form textarea { width:100%; }
@media(max-width:782px) { .admin-bar .sticky-top { top:46px; } }
@media(max-width:600px) { .admin-bar .sticky-top { top:0; } }

/* 商品画像の余白とホバーズーム */
      /* 画像枠を固定し、画像だけを200%に拡大 */
      .material-product-image-padding {
        padding: 20px;
      }
      .material-product-image {
        aspect-ratio: 4 / 3;
        overflow: hidden;
        cursor: pointer;
border-radius:10px;
      }
      .material-product-image > img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1);
        transition: transform 0.35s ease;
      }
      @media (hover: hover) {
        .material-product-image:hover > img {
          transform: scale(4);
        }
      }
      @media (prefers-reduced-motion: reduce) {
        .material-product-image > img { transition: none; }
      }

