/*
Theme Name: JUNON
Theme URI: https://junon.biz
Author: 合同会社JUNON
Description: ペット共生リフォーム・補助金申請サポート 合同会社JUNONのオフィシャルサイトテーマ
Version: 1.0.0
License: All Rights Reserved
Text Domain: junon
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --c-primary:     #509063;
  --c-primary-d:   #3E5A46;
  --c-text-dark:   #2F2A24;
  --c-text-body:   #2F2A24;
  --c-text-light:  #8d8f86;
  --c-bg-white:    #f8faf6;
  --c-bg-light:    #eff5ed;
  --c-bg-green:    #edf4e8;
  --c-bg-green2:   #fbf7f0;
  --c-bg-warm:     #fcf5ec;
  --c-footer:      #223223;
  --c-icon-bg:     #dbeae0;
  --radius-card:   24px;
  --shadow-card:   0 18px 46px rgba(0,0,0,.08);
  --max-w:         1312px;
  --font-jp:       'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-text-body);
  background: var(--c-bg-white);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== reCAPTCHA バッジ非表示 ===== */
.grecaptcha-badge { visibility: hidden !important; }

/* ===== TYPOGRAPHY ===== */
.section-en {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-primary);
}
.section-title {
  font-family: 'Rounded Mplus 1c', var(--font-jp);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 1.36px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--c-text-dark);
  margin-top: .7rem;
  line-height: 1.2;
}
.section-lead {
  font-size: 1rem;
  color: var(--c-text-body);
  margin-top: .85rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.why-junon .section-lead {
  max-width: 920px;
}

/* ===== LAYOUT ===== */
.inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
@media (min-width: 1440px) {
  .inner { padding: 0 64px; }
}
.section { padding: 100px 0; }
.section-head {
  margin-bottom: 56px;
  text-align: center;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: linear-gradient(109deg, #5F7F68 0%, #3E5A46 100%);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  padding: 16px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.btn-primary:hover {
  background: #fff;
  color: var(--c-primary-d);
  border-color: var(--c-primary-d);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: #fff;
  color: var(--c-primary-d);
  font-weight: 700;
  font-size: .95rem;
  padding: 16px 30px;
  border-radius: 999px;
  border: 1px solid var(--c-primary-d);
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.btn-outline:hover {
  background: linear-gradient(109deg, #5F7F68 0%, #3E5A46 100%);
  color: #fff;
  border-color: transparent;
  transform: translateY(-1px);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: #fff;
  color: var(--c-primary-d);
  font-weight: 700;
  font-size: .95rem;
  padding: 16px 34px;
  border-radius: 9999px;
  border: 1px solid var(--c-primary-d);
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.btn-white:hover {
  background: linear-gradient(109deg, #5F7F68 0%, #3E5A46 100%);
  color: #fff;
  border-color: transparent;
  transform: translateY(-1px);
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(34,68,55,.08);
}
/* WordPress 管理バー表示時のオフセット補正
   html の margin-top 自動注入を functions.php で無効化し、
   ここで header 位置と main のオフセットを明示的に制御する */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

/* front-page main のヘッダー分オフセット */
.site-main { margin-top: 72px; }
.admin-bar .site-main { margin-top: calc(72px + 32px); }
@media screen and (max-width: 782px) {
  .admin-bar .site-main { margin-top: calc(72px + 46px); }
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-logo img { height: 44px; width: auto; }
.site-logo .logo-text {
  font-size: .72rem;
  line-height: 1.2;
  color: var(--c-text-body);
}
.site-logo .logo-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--c-primary);
  letter-spacing: .24em;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-list a {
  font-size: .95rem;
  color: var(--c-text-body);
  transition: color .2s;
}
.nav-list a:hover { color: var(--c-primary); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 121px;
  min-width: 121px;
  height: 42px;
  box-sizing: border-box;
  background: linear-gradient(109deg, #5F7F68 0%, #3E5A46 100%);
  color: #fff !important;
  font-weight: 700;
  font-size: .95rem;
  line-height: 42px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .2s, color .2s, transform .2s;
  white-space: nowrap;
}
.nav-cta:hover {
  background: #fff;
  color: var(--c-primary-d) !important;
  border-color: var(--c-primary-d);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--c-text-dark);
  transition: transform .25s, opacity .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  background: rgba(255,255,255,.98);
  padding: 24px;
  z-index: 99;
  border-bottom: 1px solid rgba(34,68,55,.08);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 16px; }
.mobile-nav a {
  font-size: 1rem;
  color: var(--c-text-body);
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(34,68,55,.08);
}
.mobile-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 121px;
  height: 42px;
  margin-top: 12px;
  background: linear-gradient(109deg, #5F7F68 0%, #3E5A46 100%);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}
.hero .inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 64px;
  padding-right: 64px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: transparent;
}
.hero-bg.hero-bg-sp {
  display: none;
  background: transparent;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 82% center;
}
.hero-bg.hero-bg-sp img {
  object-position: top center;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding: 100px 0;
  margin-left: 0;
  padding-left: 0;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.92);
  color: var(--c-primary-d);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(61,155,130,.14);
  margin-bottom: 18px;
}
.hero-title {
  font-family: 'Rounded Mplus 1c', var(--font-jp) !important;
  font-size: 52px !important;
  font-weight: 500 !important;
  font-style: normal !important;
  color: #2F2A24 !important;
  line-height: 1.05;
  margin-bottom: 28px;
}
.hero-title-highlight {
  color: #509063;
}
.hero-text {
  font-size: 1rem;
  color: var(--c-text-body);
  margin-bottom: 34px;
  line-height: 1.9;
  max-width: 560px;
}
.hero-btns {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* ===== PET STORY ===== */
.pet-story { background: #fff; }
.pet-story-inner {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
  gap: 56px;
  align-items: center;
}
.pet-story-illus {
  display: grid;
  place-items: center;
}
.pet-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.pet-card {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(0,0,0,.06);
  padding: 28px 24px;
  text-align: center;
}
.pet-emoji-wrap {
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,.95);
  border-radius: 50%;
  border: 1px solid rgba(34,68,55,.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: .77rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-text-dark);
}
.pet-emoji-wrap .pet-initial {
  font-size: 1.2rem;
  color: var(--c-primary-d);
}
.pet-card-name {
  font-size: .93rem;
  font-weight: 700;
  color: var(--c-text-dark);
  letter-spacing: .08em;
}
.pet-story-content .section-head { margin-bottom: 24px; }
.pet-story-body {
  font-size: .95rem;
  color: var(--c-text-body);
  line-height: 1.95;
  margin-bottom: 32px;
}

/* ===== WHY JUNON ===== */
.why-junon { background: #DCE5E0; }
.why-junon .section-head {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}
.why-junon .section-en {
  color: #3E5A46;
}
.why-junon .section-lead {
  font-size: 1rem;
  color: var(--c-text-dark);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}
.feat-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.feat-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 18px 40px rgba(0,0,0,.06);
  border: none;
}
.feat-card-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
}
.feat-icon {
  width: 56px;
  min-width: 56px;
  height: 56px;
  background: #C4DCCA;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-family: 'Garamond Premier Pro', serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  color: #3E5A46;
}
.feat-title {
  font-family: 'Rounded Mplus 1c', var(--font-jp);
  font-style: normal;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-text-dark);
  margin: 0;
}
.feat-text {
  font-size: .95rem;
  color: var(--c-text-dark);
  line-height: 1.9;
  margin: 0;
}

/* ===== SERVICES (TOP) ===== */
.services-top { background: #EEF3EE; }
.services-top .section-en,
.services-top .section-title {
  color: #3E5A46;
}
.svc-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.svc-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(0,0,0,.06);
  transition: transform .25s, box-shadow .25s;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: 0 24px 60px rgba(0,0,0,.1); }
.svc-card-img {
  width: 100%;
  height: 240px;
  background: #f2f4f1;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}
.svc-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.svc-card:hover .svc-card-img img { transform: scale(1.04); }
.svc-card-body { padding: 26px 24px 28px; }
.svc-card-num {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #3E5A46;
  letter-spacing: .12em;
  margin-bottom: 10px;
}
.svc-card-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--c-text-dark);
  margin-bottom: 12px;
  line-height: 1.45;
}
.svc-card-text {
  font-size: .92rem;
  color: var(--c-text-body);
  margin-bottom: 16px;
  line-height: 1.85;
}
.svc-card-link {
  font-size: .88rem;
  font-weight: 700;
  color: var(--c-primary-d);
}

/* ===== WORKS ===== */
.works { background: var(--c-bg-warm); }
.works .section-en,
.works .section-title { color: #3E5A46; }
.ba-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.ba-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(0,0,0,.06);
  transition: transform .2s;
}
.ba-card:hover { transform: translateY(-2px); }
.ba-card-img {
  width: 100%;
  height: 172px;
  background: #f3f4f1;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}
.ba-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-card-body { padding: 22px 22px 26px; }
.ba-card-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--c-text-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}
.ba-card-sub {
  font-size: .82rem;
  color: var(--c-text-light);
  margin-bottom: 10px;
}
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
}
.tag-pet  { background: #e5f4e8; color: #34614f; border-radius: 6px; }
.tag-paint { background: #f5e6df; color: #8e554d; border-radius: 6px; }
.tag-sub  { background: #f8e6e4; color: #7d5b51; border-radius: 6px; }
.tag-water { background: #e8eef4; color: #3d6170; border-radius: 6px; }

.company-story {
  background: linear-gradient(116deg, #EAD8DA 0%, #F8F4F1 48%, #C5E4C5 100%);
  position: relative;
  padding: 56px 0 72px;
  overflow: hidden;
}
.company-story .bg-logo {
  position: absolute;
  left: 50%;
  top: 260px;
  transform: translateX(-50%);
  width: 1028px;
  height: 154.57px;
  opacity: .22;
  pointer-events: none;
  z-index: 0;
}
.company-story .bg-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.company-story .section-head {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.company-story .section-en,
.company-story .section-title { color: #3E5A46; }
.company-story .section-lead {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}
.company-images {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin: 18px 0 28px;
  position: relative;
  z-index: 1;
  background: transparent !important;
}
.company-images img {
  width: 282px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: none !important;
  background: transparent !important;
  border: none !important;
}
.company-text {
  max-width: 920px;
  margin: 0 auto 28px;
  text-align: center;
  line-height: 1.9;
  position: relative;
  z-index: 1;
}
.company-cta { text-align: center; position: relative; z-index: 1; }
.company-cta .btn-company {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 290px;
  height: 54px;
  background: #fff;
  color: var(--c-primary-d);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

/* 強制的にヘッダーのお問い合わせボタンを指定サイズにする（優先度を上げる） */
.site-header .nav-list .nav-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 121px !important;
  height: 42px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  min-width: 121px !important;
  line-height: 42px !important;
  border-radius: 9999px !important;
  background: linear-gradient(109deg, #5F7F68 0%, #3E5A46 100%) !important;
  color: #fff !important;
  white-space: nowrap !important;
}

/* ===== SNS ===== */
.sns-section { background: #DCE5E0; }
.x-placeholder {
  max-width: 1120px;
  width: 100%;
  min-height: 228px;
  margin: 0 auto;
  background: transparent !important;
  border-radius: 0 !important;
  overflow: hidden;
  box-shadow: none !important;
  position: relative;
}
.x-placeholder-img {
  background: transparent !important;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.x-placeholder-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.x-placeholder-cta {
  position: absolute;
  left: 36px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.sns-section .section-en,
.sns-section .section-title { color: #3E5A46; }
.btn-x {
  width: 290px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, rgba(62, 90, 70, 0.85) 0%, rgba(95, 127, 104, 0.85) 100%);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  border-radius: 9999px;
  text-decoration: none;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--c-footer);
  padding: 80px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top center, rgba(255,255,255,.15), transparent 30%);
  opacity: .35;
}
.cta-banner-inner { position: relative; z-index: 1; }
.cta-banner-title {
  font-family: 'Rounded Mplus 1c', var(--font-jp);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 500;
  color: #fff;
  margin-bottom: 16px;
}
.cta-banner-text {
  font-family: 'Rounded Mplus 1c', var(--font-jp);
  font-size: 1rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 30px;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.cta-banner-tel {
  font-family: 'Rounded Mplus 1c', var(--font-jp);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
  color: #fff;
  letter-spacing: .04em;
  margin-bottom: 8px;
}
.cta-banner-tel a { color: inherit; }
.cta-banner-hours { font-size: .92rem; color: rgba(255,255,255,.7); margin-bottom: 28px; }

/* ===== FOOTER ===== */
.site-footer {
  background: #293720;
  color: #fff;
  padding: 56px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 40px;
}
.footer-logo { margin-bottom: 20px; }
.footer-logo img { height: 32px; filter: none; }
.footer-address {
  font-size: .825rem;
  line-height: 1.9;
  color: rgba(255,255,255,.85);
}
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { font-size: .875rem; color: rgba(255,255,255,.85); }
.footer-nav a:hover { color: #fff; }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 16px 0;
  text-align: center;
  font-size: .78rem;
  color: rgba(255,255,255,.8);
}

/* ===== PAGE HERO ===== */
.page-hero {
  position: relative;
  height: 460px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
  overflow: hidden;
  margin-top: 72px;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: #e8ece7;
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,.15), rgba(255,255,255,.82));
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.page-hero-en {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-primary-d);
  margin-bottom: 10px;
}
.page-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--c-text-dark);
  line-height: 1.15;
  margin-bottom: 16px;
}
.page-hero-sub {
  font-size: .95rem;
  color: var(--c-text-body);
  line-height: 1.85;
}

/* ===== ABOUT PAGE ===== */
.ceo-message { background: var(--c-bg-white); }
.ceo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.ceo-img {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: 400px;
  background: #e0e0e0;
}
.ceo-img img { width: 100%; height: 100%; object-fit: cover; }
.ceo-body .section-head { margin-bottom: 20px; }
.ceo-paragraphs { display: flex; flex-direction: column; gap: 16px; }
.ceo-paragraphs p { font-size: .9rem; line-height: 1.9; }
.ceo-sign { margin-top: 24px; font-size: .9rem; font-weight: 700; color: var(--c-text-dark); }

.company-story { overflow: hidden; }
.company-story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.company-table-section { background: var(--c-bg-green2); }
.company-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.company-table th,
.company-table td {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  font-size: .9rem;
  text-align: left;
  vertical-align: top;
}
.company-table th {
  width: 160px;
  background: var(--c-bg-green);
  font-weight: 700;
  color: var(--c-primary-d);
}
.company-table td { color: var(--c-text-body); }

.access-section { background: var(--c-bg-warm); }
.access-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.access-info { font-size: .9rem; line-height: 2; }
.access-address { font-weight: 700; color: var(--c-text-dark); font-size: 1rem; margin-bottom: 12px; }
.access-detail { color: var(--c-text-body); }
.access-map {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: 300px;
  background: #e0e0e0;
}
.access-map iframe { width: 100%; height: 100%; border: 0; }

/* ===== SERVICE PAGE ===== */
.anchor-strip {
  background: var(--c-bg-white);
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding: 16px 0;
  position: sticky;
  top: 68px;
  z-index: 50;
}
.anchor-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.anchor-pill {
  font-size: .8rem;
  font-weight: 700;
  color: var(--c-primary-d);
  background: var(--c-bg-green);
  padding: 8px 20px;
  border-radius: 50px;
  transition: background .2s, color .2s;
}
.anchor-pill:hover { background: var(--c-primary-d); color: #fff; }

.service-section {
  padding: 80px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.service-section:nth-child(even) { background: var(--c-bg-green2); }
.service-num {
  font-size: .72rem;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: .12em;
  margin-bottom: 4px;
}
.service-section-title {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 800;
  color: var(--c-text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}
.service-section-lead { font-size: .9rem; color: var(--c-text-body); line-height: 1.85; margin-bottom: 40px; }
.service-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-item {
  background: rgba(255,255,255,.9);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.service-item-img {
  width: 100%;
  height: 160px;
  background: #ddd;
  overflow: hidden;
  position: relative;
}
.service-item-img img { width: 100%; height: 100%; object-fit: cover; }
.item-icon-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--c-primary);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}
.service-item-body { padding: 18px 18px 22px; }
.service-item-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--c-text-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}
.service-item-text { font-size: .85rem; color: var(--c-text-body); line-height: 1.75; }

.eco-box {
  background: #fff;
  border: 2px solid var(--c-primary);
  border-radius: var(--radius-card);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  margin-top: 32px;
}
.eco-badge {
  background: var(--c-primary);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 6px;
  letter-spacing: .08em;
  white-space: nowrap;
}
.eco-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.popular-tag {
  background: #f3c7c8;
  color: #9a3030;
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 50px;
}
.eco-text { font-size: .875rem; color: var(--c-text-body); line-height: 1.8; }

.subsidy-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}
.badge {
  display: inline-block;
  background: var(--c-bg-green);
  color: var(--c-primary-d);
  font-size: .8rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 50px;
}
.subsidy-note { font-size: .8rem; color: var(--c-text-light); margin-top: 8px; }

.hi-box {
  background: rgba(255,255,255,.9);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 40px;
}
.hi-box-img {
  height: 280px;
  background: #ddd;
  overflow: hidden;
}
.hi-box-img img { width: 100%; height: 100%; object-fit: cover; }
.hi-box-body { padding: 32px; }
.hi-box-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-text-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}
.hi-box-text { font-size: .875rem; color: var(--c-text-body); line-height: 1.85; }

/* ===== CONTACT PAGE ===== */
.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.ctc-card {
  background: var(--c-bg-green);
  border-radius: var(--radius-card);
  padding: 28px 28px 32px;
}
.cc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-primary);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 14px;
}
.ctc-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text-dark);
  margin-bottom: 8px;
}
.ctc-tel {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--c-primary-d);
  letter-spacing: .03em;
}
.ctc-tel a { color: inherit; }
.ctc-sub { font-size: .8rem; color: var(--c-text-light); margin-top: 4px; }

/* Contact Form */
.contact-form-section { background: var(--c-bg-white); }
.contact-form { max-width: 720px; margin: 0 auto; }
.form-group { margin-bottom: 28px; }
.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  font-weight: 700;
  color: var(--c-text-dark);
  margin-bottom: 8px;
}
.req, .opt {
  font-size: .68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}
.req { background: var(--c-primary); color: #fff; }
.opt { background: var(--c-bg-green); color: var(--c-primary-d); }
.f-input, .f-select, .f-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(0,0,0,.15);
  border-radius: 8px;
  font-family: var(--font-jp);
  font-size: .9rem;
  color: var(--c-text-dark);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.f-input:focus, .f-select:focus, .f-textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(0,162,115,.12);
}
.f-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M6 7 0 0h12z' fill='%23625950'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; cursor: pointer; }
.f-textarea { resize: vertical; min-height: 140px; line-height: 1.7; }
.form-note {
  font-size: .78rem;
  color: var(--c-text-light);
  line-height: 1.7;
  margin-bottom: 28px;
}
.form-note a { color: var(--c-primary-d); text-decoration: underline; }
.f-submit {
  display: block;
  width: 100%;
  background: var(--c-primary);
  color: #fff;
  font-family: var(--font-jp);
  font-size: 1rem;
  font-weight: 700;
  padding: 16px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: opacity .2s;
}
.f-submit:hover { opacity: .85; }
.form-caveat {
  font-size: .78rem;
  color: var(--c-text-light);
  text-align: center;
  margin-top: 12px;
}

/* ===== PRIVACY POLICY PAGE ===== */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 48px 48px 56px;
}
.privacy-intro { margin-bottom: 36px; }
.privacy-intro p { font-size: .9rem; color: var(--c-text-body); line-height: 1.9; }
.privacy-section { margin-bottom: 36px; }
.privacy-section h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-primary-d);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1.5px solid var(--c-icon-bg);
}
.privacy-section p { font-size: .875rem; color: var(--c-text-body); line-height: 1.9; }
.privacy-contact-box {
  background: var(--c-bg-green);
  border-radius: var(--radius-card);
  padding: 24px 28px;
  margin-top: 40px;
}
.privacy-contact-box h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text-dark);
  margin-bottom: 10px;
}
.privacy-contact-box p { font-size: .875rem; color: var(--c-text-body); line-height: 1.9; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 12px 0;
  font-size: .78rem;
  color: var(--c-text-light);
}
.breadcrumb a { color: var(--c-primary-d); }
.breadcrumb span + span::before { content: ' › '; margin: 0 4px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .feat-cards { grid-template-columns: repeat(2, 1fr); }
  .ba-cards { grid-template-columns: repeat(2, 1fr); }
  .svc-cards { grid-template-columns: repeat(2, 1fr); }
}

.hero-sp-buttons { display: none; }

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .nav-list { display: none; }
  .hamburger { display: flex; }

  .hero .hero-bg-pc { display: none; }
  .hero .hero-bg-sp { display: block; }
  .hero { position: relative; min-height: calc(100vh - 72px); min-height: calc(100svh - 72px); padding: 0; overflow: visible; }
  .hero .inner { display: block; padding: 0; min-height: 100%; }
  .hero-content { position: absolute; top: 20px; left: 16px; right: 16px; width: calc(100% - 32px); max-width: 100%; margin: 0; text-align: left; padding: 0; overflow: hidden; }
  .hero-label { margin: 0 0 6px; display: inline-block; font-size: .72rem; padding: 4px 10px; background: rgba(255,255,255,.85); }
  .hero-title { font-size: 30px !important; line-height: 1.03 !important; letter-spacing: 2.08px !important; margin: 0 0 8px !important; width: 100%; max-width: 100%; white-space: normal; word-break: break-word; overflow-wrap: break-word; }
  .hero-text { margin: 0 0 6px; font-size: .92rem; line-height: 1.25; width: 100%; max-width: 100%; white-space: normal !important; word-break: break-word !important; overflow-wrap: break-word !important; }
  .hero-text br { display: block; margin: 0; }
  .hero-text .pc-br { display: none; }
  .hero-text .no-break { display: inline-block; white-space: nowrap; }
  .hero-btns { display: none; }
  section.hero .hero-title { font-size: 30px !important; line-height: 1.03 !important; letter-spacing: 2.08px !important; white-space: pre-line; word-break: keep-all; overflow-wrap: normal; }

  /* Mobile hero buttons below MV */
  .hero-sp-buttons { display: block; position: absolute; bottom: 0; left: 0; right: 0; width: 100%; padding: 0; margin: 0; z-index: 3; box-sizing: border-box; }
  .hero-sp-buttons .inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; width: 100%; max-width: none; }
  .btn-sp-left, .btn-sp-right { box-sizing: border-box; flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; padding: 0; height: 57px; font-weight: 700; font-size: .92rem; border-radius: 0; margin: 0; width: auto; }
  .btn-sp-left { background: linear-gradient(109deg, #5F7F68 0%, #3E5A46 100%); color: #fff; border: none; }
  .btn-sp-right { background: #fff; color: var(--c-primary-d); border: 1px solid var(--c-primary-d); border-left: 1px solid var(--c-primary-d); }

  .company-images { justify-content: center; flex-wrap: wrap; gap: 18px; }
  .company-images img { width: 282px; max-width: calc(100% - 48px); }

  .footer-logo,
  .footer-nav { display: none !important; }

  /* hide footer address/phone/hours on mobile */
  .footer-address { display: none !important; }
  .site-footer .footer-inner { display: none !important; }
  .site-footer { padding: 16px 0; }

  .pet-story-inner { grid-template-columns: 1fr; }
  .pet-cards { justify-content: center; }

  .feat-cards { grid-template-columns: 1fr; }
  .svc-cards { grid-template-columns: 1fr; }
  .ba-cards { grid-template-columns: repeat(2, 1fr); }

  .ceo-inner { grid-template-columns: 1fr; }
  .company-story-inner { grid-template-columns: 1fr; }
  .access-inner { grid-template-columns: 1fr; }
  .hi-box { grid-template-columns: 1fr; }
  .service-items { grid-template-columns: 1fr; }
  .contact-info { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .privacy-content { padding: 28px 20px 36px; }
  .eco-box { grid-template-columns: 1fr; }
  .company-table th { width: 120px; }

  .page-hero { height: 320px; }
}

@media (max-width: 480px) {
  .ba-cards { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn-primary,
  .hero-btns .btn-outline { width: 100%; justify-content: center; }
}

/* ============================================================
   LARGE-SCALE REDESIGN — 2026-05
   SERVICE / ABOUT / CONTACT / PRIVACY POLICY
   ============================================================ */

/* ----- PAGE HERO: オーバーレイ削除 ----- */
/* 既存 .page-hero-overlay は各ページで出力しないことで対応。
   念のため透明化ルールも追加 */
.page-hero--service .page-hero-overlay,
.page-hero--about   .page-hero-overlay,
.page-hero--contact .page-hero-overlay { display: none; }

/* ----- PAGE HERO 共通 align-items: flex-start ----- */
.page-hero--service,
.page-hero--about,
.page-hero--contact {
  align-items: flex-start;
  padding-top: 60px;
  padding-bottom: 0;
}

/* ----- SERVICE PAGE HERO ----- */
.page-hero--service { height: 548px; }
.page-hero--service .inner { width: 100%; padding-left: 100px; }
/* MV画像：右寄せ表示 */
.page-hero--service .page-hero-bg img {
  object-fit: cover;
  object-position: right center;
}
/* SP のみ：40%白オーバーレイ */
@media (max-width: 768px) {
  .page-hero--service .page-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.4);
  }
}

/* ----- SERVICE PAGE: HERO TITLE ----- */
.page-hero-title--service {
  font-family: 'Rounded Mplus 1c', var(--font-jp) !important;
  font-size: 36px !important;
  font-weight: 500 !important;
  line-height: 44px !important;
  letter-spacing: 1.52px !important;
  color: var(--c-text-dark);
  margin-bottom: 16px;
}

/* ----- ANCHOR STRIP: SERVICE ----- */
.anchor-strip--service {
  background: linear-gradient(116deg, #EAD8DA 0%, #F8F4F1 48%, #C5E4C5 100%);
  border-bottom: none;
}
.anchor-strip--service .anchor-pill { background: transparent; color: #fff; }
.anchor-pill--pet      { background: #3E5A46 !important; color: #fff !important; }
.anchor-pill--paint    { background: #8B7031 !important; color: #fff !important; }
.anchor-pill--subsidy  { background: #9F6579 !important; color: #fff !important; }
.anchor-pill--pet:hover,
.anchor-pill--paint:hover,
.anchor-pill--subsidy:hover { opacity: .85; }

/* ----- SERVICE SECTION 01 ----- */
.service-section--s1 { background: #EEF3EE !important; }
.service-num--s1 {
  display: inline-block;
  background: #3E5A46;
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 6px 20px;
  border-radius: 4px;
  margin-bottom: 16px;
}

/* ----- SERVICE SECTION 02 ----- */
.service-section--s2 { background: #FFF4EB !important; }
.service-num--s2 {
  display: inline-block;
  background: #8B7031;
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 6px 20px;
  border-radius: 4px;
  margin-bottom: 16px;
}

/* ----- SERVICE SECTION 03 ----- */
.service-section--s3 { background: #F1E8E6 !important; }
.service-num--s3 {
  display: inline-block;
  background: #9F6579;
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 6px 20px;
  border-radius: 4px;
  margin-bottom: 16px;
}

/* section-title Rounded Mplus 1c 適用 */
.service-section-title--rounded {
  font-family: 'Rounded Mplus 1c', var(--font-jp) !important;
  font-weight: 500 !important;
}

/* ----- SERVICE ITEMS カード ----- */
.service-items--cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

.service-item--card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: #fff;
}

.service-item-img--fixed {
  width: 100%;
  height: 231px;
  aspect-ratio: 120/77;
  overflow: hidden;
  background: #ddd;
  position: relative;
}
.service-item-img--fixed img { width: 100%; height: 100%; object-fit: cover; }

/* バッジ非表示 */
.item-icon-badge { display: none !important; }

/* SERVICE 02 カード: 高さ 230px */
.service-section--s2 .service-item-img--fixed {
  height: 230px;
  aspect-ratio: 36/23;
}

/* ----- ECO BOX (S2) ----- */
.eco-box--new {
  background: #ECDAD1;
  border: none;
  border-radius: 12px;
  margin-top: 32px;
}
.eco-badge--new {
  background: #9A746D;
  color: #fff;
  display: inline-block;
  width: auto !important;
  align-self: flex-start;
}
.popular-tag--new {
  background: #9A746D;
  color: #fff;
  border-radius: 50px;
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 10px;
  white-space: nowrap;
}
/* ECOボックス内：バッジ行を横並びに（バッジ + 人気タグ） */
.eco-box--new .eco-box-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

/* ----- HI-BOX S3（上:画像 124px / 下:テキスト白背景 124px） ----- */
.hi-box-new {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 40px;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}
.hi-box-new-img {
  width: 100%;
  height: 124px;
  background: #ddd;
  overflow: hidden;
  flex-shrink: 0;
}
.hi-box-new-img img { width: 100%; height: 100%; object-fit: cover; object-position: calc(50% - 150px) 50%; }
.hi-box-new-body {
  width: 100%;
  height: 124px;
  background: #fff;
  padding: 20px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
}

/* S3 バッジ */
.badge--eco   { background: #E1CCCC !important; color: #5A3E41 !important; }
.badge--fire  { background: #F5F0EA !important; color: #7A5E40 !important; }

/* subsidy-note */
.subsidy-note--new { color: #9D9288; }

/* ----- WORKS: SERVICE PAGE ----- */
.works--service { background: #FFF4EB !important; }
.ba-cards--service {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ba-card-img--service {
  width: 100%;
  height: 172px;
  overflow: hidden;
  background: #f3f4f1;
  border-radius: 12px 12px 0 0;
}
.ba-card-img--service img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* ----- ABOUT HERO ----- */
.page-hero--about {
  height: 620px;
}
.page-hero-content--center {
  text-align: center;
  width: 100%;
  max-width: 100%;
}
.page-hero-title--about {
  font-family: 'Rounded Mplus 1c', var(--font-jp) !important;
  font-size: 36px !important;
  font-weight: 500 !important;
  line-height: 44px !important;
  letter-spacing: 1.52px !important;
  color: var(--c-text-dark);
  margin-bottom: 16px;
}

/* ----- OUR STORY ----- */
.company-story {
  background: linear-gradient(116deg, #EAD8DA 0%, #F8F4F1 48%, #C5E4C5 100%) !important;
}
.about-story-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: start;
}
.about-story-images {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-story-img {
  width: 282px;
  height: 178px;
  aspect-ratio: 141/89;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.about-story-logo {
  margin-bottom: 20px;
}
.about-story-logo img {
  width: 239.417px;
  height: 34.649px;
  object-fit: contain;
  display: block;
}

/* ----- MESSAGE ----- */
.ceo-message { position: relative; overflow: hidden; }
.ceo-message-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.ceo-message-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ceo-message-overlay-content {
  position: relative;
  z-index: 1;
  max-width: 1107px;
  margin: 0 auto;
}
.ceo-message-text-area {
  max-width: 560px;
  padding: 56px 0;
}
.ceo-message .section-en { color: #3E5A46; }
.ceo-message .section-title { margin-bottom: 24px; }
.ceo-message .ceo-paragraphs { display: flex; flex-direction: column; gap: 16px; }
.ceo-message .ceo-paragraphs p { font-size: .9rem; line-height: 1.9; }
.ceo-message .ceo-sign { margin-top: 24px; font-size: .9rem; font-weight: 700; color: var(--c-text-dark); }

/* ----- COMPANY TABLE ----- */
.company-table-section { background: #EEF3EE !important; }
.company-table--new {
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.company-table--new th { background: transparent !important; }
.company-table--new td { background: transparent !important; }

/* ----- ACCESS SECTION ----- */
.access-section--new { background: #DCE5E0 !important; }
.section-head--left { text-align: left !important; }
.access-info-box {
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border-radius: 12px;
  padding: 0 32px;
  width: 100%;
  max-width: 1120px;
  height: 140px;
  margin: 0 auto;
  box-sizing: border-box;
}
.access-info-col {
  flex: 1;
  font-size: .875rem;
  line-height: 2;
  color: var(--c-text-body);
  padding: 0 24px;
}
.access-info-col:first-child { padding-left: 0; }
.access-info-col:last-child { padding-right: 0; }
.access-info-addr { font-size: .875rem; color: var(--c-text-dark); }
.access-info-sep {
  width: 1px;
  height: 80px;
  background: rgba(0,0,0,.12);
  flex-shrink: 0;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

/* ----- CONTACT HERO ----- */
.page-hero--contact { height: 621px; padding-top: 111px; }
.page-hero--contact .inner { width: 100%; padding-left: 100px; }
.page-hero-content--contact-left {
  align-items: flex-start;
  text-align: left;
}

.page-hero-title--contact {
  font-family: 'Rounded Mplus 1c', var(--font-jp) !important;
  font-size: 40px !important;
  font-weight: 500 !important;
  line-height: 51.3px !important;
  letter-spacing: 1.52px !important;
  color: #2F2A24 !important;
  margin-bottom: 16px;
}

/* ----- CONTACT FORM SECTION ----- */
.contact-form-section--new { background: #F2EEE8 !important; }

.contact-info--new {
  display: grid;
  grid-template-columns: repeat(2, 295px);
  gap: 24px;
  justify-content: center;
  margin-bottom: 56px;
}

.ctc-card--tel {
  background: linear-gradient(180deg, #F1F6F2 0%, #E7EFE8 100%) !important;
  border-radius: var(--radius-card) !important;
  padding: 32px 28px !important;
  width: 295px;
  min-height: 268px;
  box-shadow: 0 8px 32px rgba(0,0,0,.1) !important;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
}
.ctc-card--mail {
  background: #fff !important;
  border-radius: var(--radius-card) !important;
  padding: 32px 28px !important;
  width: 295px;
  min-height: 268px;
  box-shadow: 0 8px 32px rgba(0,0,0,.1) !important;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
}

/* TEL/MAIL ラベル（緑ボックスなし） */
.ctc-label--green {
  color: #3E5A46;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 51.8px;
  letter-spacing: 3.92px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0;
}

.ctc-title--new {
  color: #2F2A24;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 24.05px;
  letter-spacing: 0.15px;
  margin-bottom: 4px;
}

.ctc-tel--new {
  color: #3E5A46;
  font-family: 'Rounded Mplus 1c', var(--font-jp);
  font-size: 28px !important;
  font-weight: 500 !important;
  line-height: 51.8px;
  letter-spacing: 1.12px;
}
.ctc-tel--new a { color: inherit; }

.ctc-sub--new {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: var(--c-text-body);
  line-height: 1.8;
  text-align: center;
}

.ctc-form-note {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 22.2px;
  letter-spacing: 0.15px;
  color: #3E5A46;
  text-align: center;
  margin-top: 8px;
}

/* ============================================================
   PRIVACY POLICY PAGE
   ============================================================ */

.privacy-main { margin-top: 72px; }

.privacy-page-section { background: #F8FAF6 !important; }

.privacy-page-header {
  text-align: center;
  margin-bottom: 56px;
}

.privacy-page-title {
  font-family: 'Rounded Mplus 1c', var(--font-jp);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  color: var(--c-text-dark);
  letter-spacing: 1.36px;
}

.privacy-page-content {
  max-width: 820px;
  margin: 0 auto;
}

.privacy-intro-box {
  background: #EEF3EE;
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 40px;
}
.privacy-intro-box p {
  font-size: .875rem;
  color: var(--c-text-body);
  line-height: 1.9;
}

.privacy-item {
  margin-bottom: 36px;
}
.privacy-item-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-primary-d);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1.5px solid var(--c-icon-bg);
}
.privacy-item p {
  font-size: .875rem;
  color: var(--c-text-body);
  line-height: 1.9;
}

.privacy-contact-box-new {
  background: #EEF3EE;
  border-radius: 12px;
  padding: 28px 32px;
  margin-top: 48px;
}
.privacy-contact-box-new h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-primary-d);
  margin-bottom: 12px;
}
.privacy-contact-box-new p {
  font-size: .875rem;
  color: var(--c-text-body);
  line-height: 2;
}
.privacy-contact-box-new a { color: var(--c-primary-d); text-decoration: underline; }

/* ============================================================
   RESPONSIVE — 追加分
   ============================================================ */
@media (max-width: 1024px) {
  .about-story-layout { grid-template-columns: 1fr; }
  .about-story-images { flex-direction: row; justify-content: center; }
  .access-info-box { height: auto; padding: 24px 20px; flex-wrap: wrap; }
  .access-info-sep { display: none; }
  .access-info-col { flex: 1 1 160px; }
}

@media (max-width: 768px) {
  .service-items--cards { grid-template-columns: 1fr; }
  .ba-cards--service { grid-template-columns: repeat(2, 1fr); }
  .hi-box-new { grid-template-columns: 1fr; }
  .contact-info--new { grid-template-columns: 1fr; justify-content: stretch; }
  .ctc-card--tel,
  .ctc-card--mail { width: 100%; }
  .about-story-layout { gap: 32px; }
  .about-story-images { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .about-story-img { width: calc(50% - 8px); height: auto; aspect-ratio: 141/89; }
  .access-info-box { flex-direction: column; height: auto; align-items: center; gap: 6px; padding: 16px 20px; text-align: center; }
  .access-info-box .access-info-col { flex: 0 0 auto; width: 100%; line-height: 1.7; }
  .access-info-addr { text-align: center; }
  /* iOS Safari の住所自動リンク無効化 */
  a[x-apple-data-detectors] { color: inherit !important; text-decoration: none !important; pointer-events: none; }
  .page-hero--service { height: 360px; }
  .page-hero--service .inner { padding-left: 24px; }
  .page-hero--about { height: 360px; }
  .page-hero--contact { height: 420px; }
  .page-hero--contact .inner { padding-left: 24px; }
  .ceo-message-text-area { padding: 32px 0; }

  /* ===== SP追加修正 ===== */

  /* TOP: MVサブテキスト行間を広げる */
  .hero-text { line-height: 1.9 !important; }

  /* SERVICE: アンカーストリップをスクロールに追従させない */
  .anchor-strip { position: static !important; }

  /* SERVICE: ECOバッジをauto幅（左寄せ）、人気タグを横に並べる */
  .eco-box--new { grid-template-columns: 1fr; }
  .eco-badge--new {
    display: inline-block;
    width: auto !important;
    align-self: flex-start;
  }
  .eco-title {
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
  }

  /* SERVICE: hi-box-newのテキストエリアを高さautoにしてテキストが入るように */
  .hi-box-new-body {
    height: auto !important;
    min-height: 100px;
    padding: 20px 20px;
  }
  .hi-box-new-img { height: 180px; }

  /* SERVICE: MVキャッチコピーのSP向け調整 */
  .page-hero-title--service {
    font-size: 27px !important;
    letter-spacing: 0.76px !important;
    line-height: 1.3 !important;
  }

  /* ABOUT: MVキャッチコピーのSP向け調整 */
  .page-hero-title--about {
    font-size: 27px !important;
    letter-spacing: 0.76px !important;
    line-height: 1.3 !important;
  }
  .page-hero--about { padding-top: 30px; }

  /* ABOUT: 会社概要テーブルの左右余白を縮小 */
  .company-table-section .inner { padding: 0 12px; }
  .company-table--new th,
  .company-table--new td { padding: 12px 8px; }

  /* ABOUT: アクセスの住所リンク装飾を除去 */
  .access-info-addr a {
    color: inherit !important;
    text-decoration: none !important;
    pointer-events: none;
  }
  .access-info-col { padding: 0 !important; width: 100%; }
}

@media (max-width: 480px) {
  .ba-cards--service { grid-template-columns: 1fr; }
  .about-story-img { width: 100%; }
}

/* ===== CONTACT FORM 7 ===== */
.contact-form { max-width: 760px; margin: 0 auto; }
.contact-form fieldset {
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* CF7がcf7-field内に自動挿入するpタグ：線・余白を除去してflexコンテナに */
.contact-form .cf7-field p,
.contact-form .cf7-field--full p {
  border: none !important;
  border-top: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
}
/* フォーム全体の区切り線を除去 */
.contact-form .wpcf7-form p { border: none !important; border-top: none !important; }
.contact-form .wpcf7 hr { display: none !important; }
.contact-form .cf7-field br,
.contact-form .cf7-field--full br { display: none; }
/* プライバシーテキスト内は通常のインライン表示を維持 */
.contact-form .cf7-privacy { display: block; line-height: 1.8; }

.cf7-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 16px;
}
.cf7-field { display: flex; flex-direction: column; gap: 3px; }
.cf7-field--full { margin-bottom: 16px; }
.cf7-field label,
.cf7-field--full label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: .875rem;
  font-weight: 700;
  color: var(--c-text-body);
  display: flex;
  align-items: center;
  gap: 8px;
}
.cf7-req {
  display: inline-block;
  background: #9A746D;
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: .04em;
}
.cf7-opt {
  display: inline-block;
  background: #b0a89e;
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: .04em;
}

/* inputs / select / textarea */
.contact-form .wpcf7-form-control:not([type="submit"]):not([type="checkbox"]) {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #d5ccc7;
  border-radius: 8px;
  background: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: .9rem;
  color: var(--c-text-body);
  outline: none;
  transition: border-color .2s;
  box-sizing: border-box;
  appearance: none;
}
.contact-form .wpcf7-form-control:not([type="submit"]):not([type="checkbox"]):focus {
  border-color: var(--c-primary);
}
.contact-form select.wpcf7-form-control,
.contact-form .wpcf7-select {
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23625950' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-color: #fff !important;
  padding-right: 40px !important;
  cursor: pointer;
}
.contact-form textarea.wpcf7-form-control,
.contact-form .wpcf7-form-control.wpcf7-textarea {
  resize: vertical;
  min-height: 120px;
  height: 120px;
  width: 100% !important;
  display: block;
  box-sizing: border-box;
}

/* privacy text (チェックボックスなし) */
.cf7-privacy {
  margin-bottom: 24px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: .8rem;
  color: #9A8A84;
  line-height: 1.7;
}
.cf7-privacy a { color: var(--c-primary); text-decoration: underline; }

/* submit button */
.cf7-submit { text-align: center; }
.contact-form .wpcf7-submit {
  display: block;
  width: 100%;
  padding: 18px 24px;
  background: linear-gradient(95deg, #5F7F68 0%, #3E5A46 100%);
  color: #fff;
  font-family: 'Rounded Mplus 1c', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .1em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
}
.contact-form .wpcf7-submit:hover {
  opacity: .88;
  transform: translateY(-1px);
}
.cf7-submit-note {
  margin-top: 12px !important;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: .78rem;
  color: #9A8A84;
  text-align: center;
  white-space: normal;
  overflow: visible;
  padding: 0 !important;
  border: none !important;
}

/* validation messages */
.contact-form .wpcf7-not-valid-tip {
  font-size: .75rem;
  color: #e05050;
  margin-top: 4px;
  display: block;
}
.contact-form .wpcf7-response-output {
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: .875rem;
  text-align: center;
}

/* CF7 responsive */
@media (max-width: 640px) {
  .cf7-row { grid-template-columns: 1fr; gap: 14px; }
  /* スマホでのズーム防止のため入力欄は16px以上 */
  .contact-form .wpcf7-form-control:not([type="submit"]):not([type="checkbox"]) {
    font-size: 16px;
  }
}
