/*
Theme Name: Yoshinoplant Corporate
Theme URI: https://example.com/
Author: Codex
Description: Corporate WordPress theme for Yoshinoplant based on supplied reference images.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: yoshinoplant
*/

:root {
  --yp-accent: #f48fb1;
  --yp-accent-dark: #e66f9d;
  --yp-ink: #07080a;
  --yp-muted: #60646b;
  --yp-line: #dedfe3;
  --yp-soft: #f7f8fa;
  --yp-pink-soft: #fff6fa;
  --yp-shadow: 0 12px 28px rgba(16, 18, 24, 0.08);
  --yp-radius: 8px;
  --yp-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--yp-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.9;
}

:where(
  .brand-ja,
  .primary-nav a,
  .nav-drawer a,
  .hero-title,
  .hero-lead,
  .section-title,
  .btn,
  .service-card h3,
  .value-card h3,
  .feature-item h3,
  .guidance-item h3,
  .step-item h3,
  .recruit-card h3,
  .info-card h2,
  .recruit-card h2,
  .company-row dt,
  .form-row label,
  .faq-question strong,
  .footer-cta h2
) {
  line-break: strict;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: keep-all;
}

img,
svg {
  max-width: 100%;
}

.yp-icon-img {
  display: block;
  mix-blend-mode: multiply;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--yp-line);
  box-shadow: 0 2px 12px rgba(20, 22, 28, 0.04);
  backdrop-filter: blur(12px);
}

.brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--yp-width);
  min-height: 104px;
  margin: 0 auto;
  padding: 18px 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  display: inline-flex;
  width: 70px;
  height: 70px;
  color: var(--yp-accent);
  flex: 0 0 auto;
}

.brand-mark .yp-icon-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 0;
  line-height: 1.15;
}

.brand-ja {
  display: block;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  font-weight: 800;
}

.brand-en {
  display: block;
  color: #73777f;
  font-size: clamp(0.85rem, 1.3vw, 1.08rem);
  font-weight: 700;
}

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 0;
  background: transparent;
  color: var(--yp-accent);
  cursor: pointer;
}

.menu-toggle svg {
  width: 36px;
  height: 36px;
}

.primary-nav {
  border-top: 1px solid var(--yp-line);
}

.primary-nav-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: var(--yp-width);
  margin: 0 auto;
  padding: 0 28px;
}

.primary-nav a {
  position: relative;
  display: grid;
  min-height: 76px;
  place-items: center;
  color: var(--yp-ink);
  font-weight: 700;
  font-size: 1.05rem;
}

.primary-nav a::after {
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 4px;
  background: var(--yp-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease;
  content: "";
}

.primary-nav a:hover,
.primary-nav a:focus,
.primary-nav a.is-active {
  color: var(--yp-accent);
}

.primary-nav a:hover::after,
.primary-nav a:focus::after,
.primary-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-drawer {
  display: none;
  border-top: 1px solid var(--yp-line);
  background: #fff;
}

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

.nav-drawer-inner {
  max-width: var(--yp-width);
  margin: 0 auto;
  padding: 8px 28px 22px;
}

.nav-drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  border-bottom: 1px solid var(--yp-line);
  font-weight: 700;
}

.main {
  overflow: hidden;
}

.section,
.hero {
  border-bottom: 1px solid #eceef1;
}

.section-inner,
.hero-inner {
  max-width: var(--yp-width);
  margin: 0 auto;
  padding: 64px 28px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: 34px;
  align-items: center;
  min-height: 470px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-title {
  margin: 0 0 24px;
  font-size: clamp(2.6rem, 5vw, 4.1rem);
  line-height: 1.25;
  font-weight: 900;
}

.hero-title.is-home {
  font-size: clamp(2.05rem, 3.8vw, 3.3rem);
}

.keep-line {
  white-space: nowrap;
}

.hero-lead {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 2;
}

.hero-lead strong {
  color: var(--yp-accent);
}

.hero-text {
  margin: 22px 0 0;
  color: #16181c;
  font-size: 1.05rem;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 42px;
}

.hero-art {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 330px;
}

.plant-art {
  width: min(100%, 600px);
  height: auto;
  overflow: visible;
}

.plant-art-image {
  display: block;
  max-height: 420px;
  object-fit: contain;
}

.plant-art .skyline {
  fill: #eef0f3;
}

.plant-art .line {
  fill: none;
  stroke: #858991;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.plant-art .thin {
  stroke-width: 1.4;
}

.plant-art .accent {
  fill: none;
  stroke: var(--yp-accent);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.plant-art .accent-thin {
  fill: none;
  stroke: var(--yp-accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 224px;
  min-height: 68px;
  padding: 14px 28px;
  border: 2px solid var(--yp-accent);
  border-radius: var(--yp-radius);
  background: #fff;
  color: var(--yp-accent);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.3;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(223, 6, 72, 0.18);
}

.btn-primary {
  background: linear-gradient(135deg, var(--yp-accent), var(--yp-accent-dark));
  color: #fff;
}

.btn svg {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}

.section-title {
  margin: 0 0 36px;
  text-align: center;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 900;
  line-height: 1.35;
}

.section-title::after {
  display: block;
  width: 58px;
  height: 4px;
  margin: 12px auto 0;
  background: var(--yp-accent);
  content: "";
}

.section-title.with-icon {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-bottom: 18px;
}

.section-title.with-icon::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
}

.section-title .title-icon {
  display: inline-flex;
  color: var(--yp-accent);
}

.section-title .title-icon svg {
  width: 38px;
  height: 38px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.service-card,
.value-card,
.info-card,
.faq-item,
.contact-card,
.map-card,
.recruit-card,
.company-table,
.phone-card {
  border: 1px solid var(--yp-line);
  border-radius: var(--yp-radius);
  background: #fff;
  box-shadow: var(--yp-shadow);
}

.service-card,
.value-card {
  display: grid;
  justify-items: center;
  min-height: 280px;
  padding: 34px 26px 30px;
  text-align: center;
}

.service-card .icon,
.value-card .icon,
.feature-item .icon,
.guidance-item .icon,
.step-item .icon,
.recruit-card .icon {
  display: inline-grid;
  place-items: center;
  color: var(--yp-accent);
  font-size: 4.8rem;
  font-weight: 800;
  line-height: 1;
}

.service-card .icon svg,
.value-card .icon svg,
.service-card .icon .yp-icon-img,
.value-card .icon .yp-icon-img {
  width: 104px;
  height: 104px;
  object-fit: contain;
}

.service-card h3,
.value-card h3,
.feature-item h3,
.guidance-item h3,
.step-item h3,
.recruit-card h3 {
  margin: 18px 0 8px;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.45;
}

.service-card p,
.value-card p,
.feature-item p,
.guidance-item p,
.step-item p,
.recruit-card p {
  margin: 0;
  color: #1d2025;
  font-weight: 600;
  line-break: strict;
  max-width: 100%;
  text-wrap: balance;
  word-break: keep-all;
}

.recruit-card p {
  overflow-wrap: break-word;
  word-break: normal;
}

.feature-grid,
.guidance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.feature-item,
.guidance-item {
  padding: 22px 18px;
  text-align: center;
}

.feature-item .icon svg,
.guidance-item .icon svg,
.feature-item .icon .yp-icon-img,
.guidance-item .icon .yp-icon-img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.9fr);
  gap: 34px;
  align-items: stretch;
}

.info-card,
.recruit-card {
  padding: 32px;
}

.info-card h2,
.recruit-card h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-size: 1.55rem;
  font-weight: 900;
}

.info-card h2::after,
.recruit-card h2::after {
  width: 54px;
  height: 4px;
  margin-left: 4px;
  background: var(--yp-accent);
  content: "";
}

.info-card table {
  width: 100%;
  border-collapse: collapse;
}

.info-card th,
.info-card td {
  padding: 12px 0;
  border-top: 1px solid var(--yp-line);
  text-align: left;
  vertical-align: top;
}

.info-card th {
  width: 130px;
  font-weight: 900;
}

.recruit-card {
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(135deg, #fff, var(--yp-pink-soft));
  border-color: #f4bdd0;
}

.recruit-card .icon svg {
  width: 112px;
  height: 112px;
}

.recruit-card .icon .yp-icon-img {
  width: 112px;
  height: 112px;
  object-fit: contain;
}

.message-body {
  max-width: 900px;
}

.message-body h2 {
  margin: 64px 0 20px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
}

.message-body h2::after {
  display: block;
  width: 58px;
  height: 4px;
  margin-top: 12px;
  background: var(--yp-accent);
  content: "";
}

.message-body p {
  margin: 0 0 24px;
  font-size: 1.08rem;
  font-weight: 600;
}

.signature {
  margin-top: 30px;
  font-weight: 900;
}

.signature-image {
  margin: 38px 0 0;
}

.signature-image img {
  display: block;
  width: min(100%, 620px);
  height: auto;
}

.philosophy-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  padding: 36px;
  border: 1px solid #f2b8cc;
  border-radius: var(--yp-radius);
  background: linear-gradient(135deg, #fff, var(--yp-pink-soft));
}

.philosophy-card .icon {
  color: var(--yp-accent);
}

.philosophy-card .icon svg {
  width: 230px;
  height: 170px;
}

.philosophy-card h3 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
}

.philosophy-card p {
  margin: 0;
  font-weight: 600;
}

.company-table {
  overflow: hidden;
  padding: 18px 30px;
}

.company-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
  min-height: 92px;
  border-bottom: 1px dashed #d7d9de;
}

.company-row:last-child {
  border-bottom: 0;
}

.company-row dt {
  padding: 0 24px;
  border-right: 1px solid var(--yp-line);
  font-size: 1.05rem;
  font-weight: 900;
}

.company-row dd {
  margin: 0;
  padding-left: 32px;
  font-size: 1.1rem;
  font-weight: 600;
}

.map-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  max-width: 940px;
  margin: 0 auto;
  padding: 28px;
}

.map-thumb {
  position: relative;
  min-height: 138px;
  overflow: hidden;
  border-radius: var(--yp-radius);
  background:
    linear-gradient(90deg, transparent 24%, rgba(255,255,255,0.8) 24% 28%, transparent 28%),
    linear-gradient(0deg, transparent 32%, rgba(255,255,255,0.8) 32% 36%, transparent 36%),
    #d9dce1;
}

.map-thumb::before,
.map-thumb::after {
  position: absolute;
  background: rgba(255, 255, 255, 0.82);
  content: "";
}

.map-thumb::before {
  width: 180px;
  height: 12px;
  top: 74px;
  left: 40px;
  transform: rotate(-22deg);
}

.map-thumb::after {
  width: 70px;
  height: 28px;
  right: 26px;
  bottom: 28px;
  background: #f3a0bd;
}

.map-pin {
  position: absolute;
  left: 94px;
  top: 24px;
  width: 58px;
  height: 58px;
  color: var(--yp-accent);
  filter: drop-shadow(0 8px 12px rgba(223, 6, 72, 0.22));
}

.map-card h3 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 900;
}

.map-card p {
  margin: 0;
  font-weight: 600;
}

.map-card-embed {
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  max-width: 1000px;
}

.map-embed {
  overflow: hidden;
  min-height: 300px;
  border: 1px solid var(--yp-line);
  border-radius: var(--yp-radius);
  background: #e7e9ed;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
}

.map-copy {
  align-self: center;
}

.map-link {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  color: var(--yp-accent);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 34px 42px;
  margin-top: -22px;
}

.contact-card .icon {
  display: grid;
  place-items: center;
  color: var(--yp-accent);
  font-size: 4.8rem;
  font-weight: 800;
  line-height: 1;
}

.contact-card .icon svg {
  width: 102px;
  height: 102px;
}

.contact-card .icon .yp-icon-img {
  width: 102px;
  height: 102px;
  object-fit: contain;
}

.contact-card h2 {
  margin: 0 0 2px;
  font-size: 1.75rem;
  font-weight: 900;
}

.contact-card p {
  margin: 0;
  font-weight: 600;
}

.contact-card .tel {
  color: var(--yp-ink);
  font-size: 1.45rem;
  font-weight: 900;
}

.form-wrap {
  max-width: 980px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-bottom: 22px;
}

.form-row label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  font-weight: 900;
}

.required {
  display: inline-grid;
  min-width: 48px;
  min-height: 30px;
  place-items: center;
  border: 1px solid var(--yp-accent);
  border-radius: 5px;
  color: var(--yp-accent);
  font-size: 0.88rem;
  line-height: 1;
}

.form-control {
  width: 100%;
  min-height: 58px;
  padding: 14px 22px;
  border: 1px solid #cfd2d8;
  border-radius: var(--yp-radius);
  background: #fff;
  color: var(--yp-ink);
}

textarea.form-control {
  min-height: 154px;
  resize: vertical;
}

.privacy-check {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 8px 0 24px;
  font-weight: 700;
}

.privacy-check input {
  width: 28px;
  height: 28px;
  margin-top: 5px;
  accent-color: var(--yp-accent);
}

.privacy-check a {
  color: var(--yp-accent);
  text-decoration: underline;
}

.submit-row {
  text-align: center;
}

.submit-row .btn {
  width: 100%;
  max-width: 1000px;
}

.notice {
  max-width: 980px;
  margin: 0 auto 28px;
  padding: 16px 20px;
  border-radius: var(--yp-radius);
  font-weight: 700;
}

.notice-success {
  border: 1px solid #60b77a;
  background: #eefaf1;
  color: #17602b;
}

.notice-error {
  border: 1px solid #f0a9be;
  background: #fff4f7;
  color: #9d0030;
}

.faq-list {
  display: grid;
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 42px;
  gap: 14px;
  align-items: center;
  width: 100%;
  min-height: 82px;
  padding: 18px 22px;
  border: 0;
  background: #fff;
  color: var(--yp-ink);
  text-align: left;
  cursor: pointer;
}

.faq-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--yp-accent);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
}

.faq-question strong {
  font-size: 1.13rem;
  font-weight: 900;
}

.faq-arrow {
  color: var(--yp-accent);
  transition: transform 0.18s ease;
}

.faq-item.is-open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 78px 24px 88px;
  font-weight: 600;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.phone-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
  gap: 28px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 30px 38px;
}

.phone-number {
  display: flex;
  align-items: center;
  gap: 24px;
}

.phone-number .icon {
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border: 2px solid var(--yp-accent);
  border-radius: 50%;
  color: var(--yp-accent);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
}

.phone-number .icon svg {
  width: 54px;
  height: 54px;
}

.phone-number .icon .yp-icon-img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.phone-number strong {
  display: block;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.2;
}

.phone-number span {
  display: block;
  color: var(--yp-muted);
  font-weight: 700;
}

.phone-note {
  margin: 18px 0 0;
  text-align: center;
  font-weight: 700;
}

.footer-cta {
  background: linear-gradient(135deg, var(--yp-accent), var(--yp-accent-dark));
  color: #fff;
}

.footer-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  max-width: var(--yp-width);
  margin: 0 auto;
  padding: 36px 28px;
}

.footer-cta-copy {
  display: flex;
  align-items: center;
  gap: 26px;
}

.footer-cta-copy .icon {
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--yp-accent);
  flex: 0 0 auto;
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
}

.footer-cta-copy .icon svg {
  width: 54px;
  height: 54px;
}

.footer-cta-copy .icon .yp-icon-img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.btn .yp-icon-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.footer-cta h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 900;
}

.footer-cta p {
  margin: 4px 0 0;
  font-weight: 700;
}

.footer-cta .btn {
  border-color: #fff;
  background: #fff;
  color: var(--yp-accent);
}

.footer-cta.is-dual .footer-cta-inner {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-cta.is-dual .btn {
  width: 100%;
}

.site-footer {
  display: grid;
  min-height: 72px;
  place-items: center;
  background: linear-gradient(135deg, #0d0e10, #1d2024);
  color: #fff;
  font-weight: 600;
}

.site-footer.footer-light {
  background: #fff;
  color: var(--yp-muted);
  border-top: 1px solid var(--yp-line);
}

.soft-section {
  background: #fafbfc;
}

.lead-red {
  color: var(--yp-ink);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 900;
}

.flow-grid {
  display: grid;
  grid-template-columns: 1fr 52px 1fr 52px 1fr;
  gap: 12px;
  align-items: center;
}

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

.step-item .step-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--yp-accent);
  color: #fff;
  font-weight: 900;
}

.step-item .icon svg {
  width: 92px;
  height: 92px;
}

.flow-arrow {
  color: var(--yp-accent);
}

.flow-arrow svg {
  width: 42px;
  height: 42px;
}

@media (max-width: 900px) {
  .brand-bar {
    min-height: 88px;
    padding: 14px 20px;
  }

  .brand-mark {
    width: 56px;
    height: 56px;
  }

  .primary-nav-inner {
    padding: 0 16px;
  }

  .primary-nav a {
    min-height: 62px;
    font-size: 0.95rem;
  }

  .hero-inner,
  .split-grid,
  .philosophy-card,
  .map-card,
  .contact-card,
  .phone-card {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 48px;
  }

  .hero-art {
    min-height: 250px;
    order: -1;
    opacity: 0.95;
  }

  .cards-grid,
  .feature-grid,
  .guidance-grid {
    grid-template-columns: 1fr;
  }

  .company-row {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .company-row dt {
    padding: 0 14px;
  }

  .company-row dd {
    padding-left: 18px;
  }

  .footer-cta-inner,
  .footer-cta.is-dual .footer-cta-inner,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    display: none;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-mark .yp-icon-img {
    width: 48px;
    height: 48px;
  }

  .brand-ja {
    font-size: 1.15rem;
  }

  .brand-en {
    font-size: 0.72rem;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
  }

  .primary-nav {
    display: none;
  }

  .section-inner,
  .hero-inner {
    padding: 44px 18px;
  }

  .hero-title {
    font-size: 2.35rem;
  }

  .hero-title.is-home {
    font-size: clamp(1.5rem, 7vw, 2.35rem);
  }

  .hero-actions,
  .footer-cta-copy,
  .phone-number {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
    min-width: 0;
  }

  .service-card,
  .value-card,
  .info-card,
  .recruit-card,
  .company-table,
  .map-card,
  .contact-card,
  .phone-card {
    padding: 24px 18px;
  }

  .company-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px 0;
  }

  .company-row dt {
    border-right: 0;
    padding: 0;
  }

  .company-row dd {
    grid-column: 1 / -1;
    padding: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .form-row label {
    min-height: auto;
  }

  .privacy-check {
    justify-content: flex-start;
  }

  .faq-question {
    grid-template-columns: 42px minmax(0, 1fr) 28px;
    padding: 16px;
  }

  .faq-answer {
    padding: 0 18px 20px 70px;
  }
}
