/*
Theme Name: HIMECARE
Theme URI: https://www.himecare.com
Description: HIMECARE コーポレートサイト用テーマ
Version: 1.0
Author: HIMECARE
Text Domain: himecare
*/
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:      #96C78C;
  --green-lt:   #B8D9B3;
  --green-pale: #D6ECDA;
  --green-mist: #EAF5E8;
  --green-snow: #F4FAF3;
  --white:      #FFFFFF;
  --text:       #3A4E3A;
  --mid:        #789078;
  --border:     #C8E0C4;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  background: var(--white);
  color: var(--text);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ─── PAGE WRAPPER ─── */
.wrap {
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 64px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1600px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem;
}
.logo {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0.12em;
  color: var(--green); text-decoration: none; text-transform: uppercase;
}
/* デスクトップ nav */
nav {
  display: flex; align-items: center; gap: 2.5rem;
}
nav a {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text); text-decoration: none;
  position: relative; padding-bottom: 2px;
  transition: color 0.2s;
}
nav a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1.5px; background: var(--text);
  transform: scaleX(0); transition: transform 0.25s;
}
nav a:hover::after { transform: scaleX(1); }
nav a:hover { color: var(--text); }
.nav-cta {
  background: var(--green); color: var(--white) !important;
  padding: 0.5rem 1.4rem; border-radius: 24px;
  font-weight: 500 !important;
  transition: background 0.2s !important;
  letter-spacing: 0.06em !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--green-lt) !important; }

/* ハンバーガーボタン（スマホ） */
.hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 32px; height: 32px; cursor: pointer;
  background: none; border: none; padding: 4px;
  z-index: 200;
}
.hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ドロワー */
.drawer {
  position: fixed; inset: 0; z-index: 150;
  background: #EDF7EA;
  display: flex; flex-direction: column;
  padding: 5rem 2.5rem 3rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1);
  overflow-y: auto;
  overflow-x: hidden;
}
/* アニメするグラデーション疑似要素 */
.drawer::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(150,199,140,0.65) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 10%, rgba(197,232,160,0.55) 0%, transparent 45%),
    radial-gradient(ellipse at 70% 75%, rgba(107,191,181,0.45) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 80%, rgba(184,237,216,0.55) 0%, transparent 45%);
  animation: drawerGrad 8s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
@keyframes drawerGrad {
  0%   { opacity: 0.8; filter: blur(0px); }
  50%  { opacity: 1;   filter: blur(2px); }
  100% { opacity: 0.8; filter: blur(0px); }
}
.drawer.open { transform: translateX(0); }
.drawer-logo {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0.12em;
  color: var(--text); text-decoration: none; text-transform: uppercase;
  position: fixed; top: 1.4rem; left: 2.5rem; z-index: 2;
}
.drawer-close {
  position: fixed; top: 1.2rem; right: 2rem; z-index: 2;
  font-size: 1.5rem; color: var(--text); background: none; border: none;
  cursor: pointer; padding: 0.3rem; line-height: 1;
}
.drawer-nav {
  display: flex; flex-direction: column; gap: 0; margin-bottom: 3rem;
  position: relative; z-index: 1;
}
.drawer-nav a {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.3rem; font-weight: 300;
  color: var(--text); text-decoration: none;
  padding: 1rem 0; border-bottom: 1px solid rgba(58,78,58,0.15);
  transition: color 0.2s;
}
.drawer-nav a:first-child { border-top: 1px solid rgba(58,78,58,0.15); }
.drawer-nav a:hover { color: var(--green); }
.drawer-nav a.active-link { color: var(--green); }
.drawer-divider { height: 1px; background: rgba(58,78,58,0.15); margin: 1.5rem 0; position: relative; z-index: 1; }
.drawer-contact {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.1rem; font-weight: 400;
  color: var(--text); text-decoration: none;
  padding: 1rem 0; position: relative; z-index: 1;
}
.drawer-contact-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 1rem 2rem;
  border: 1px solid var(--text); border-radius: 4px;
  color: var(--text); text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
  position: relative; z-index: 1;
}
.drawer-contact-btn:hover { background: var(--text); color: var(--white); }

/* ─── HERO: dododododo fullscreen slideshow ─── */
.hero {
  position: relative;
  height: 100svh; min-height: 600px;
  overflow: hidden;
  background: #111; /* スライド切替中に黒を見せる */
}

/* slides */
.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s ease;
  z-index: 0;
}
.slide.active   { opacity: 1; z-index: 2; }
.slide.prev     { opacity: 1; z-index: 1; } /* フェード中は前スライドを残す */
/* dark gradient overlay */
.slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.0) 0%,
    rgba(0,0,0,0.10) 50%,
    rgba(0,0,0,0.25) 100%
  );
}

/* left sidebar: logo + vertical text — dododododo style */
.hero-sidebar {
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 64px; z-index: 10;
  display: flex; flex-direction: column;
  align-items: center;
  padding: calc(56px + 1.5rem) 0 2rem;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.hero-vtext {
  writing-mode: vertical-rl;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.72rem; font-weight: 300;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.55);
  margin-top: auto;
  line-height: 1;
  user-select: none;
}

/* bottom-right: slide caption */
.hero-caption {
  position: absolute; bottom: 0; right: 0; left: 64px;
  z-index: 10;
  padding: 0 3rem 3rem 3rem;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem;
}
.hero-caption-text {}
.hero-cat {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--green-lt); margin-bottom: 1.4rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.hero-cat::before {
  content: ''; display: inline-block;
  width: 24px; height: 1px; background: var(--green);
}
.hero-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 700; line-height: 1.45; letter-spacing: -0.01em;
 color: #ffffff !important; max-width: 800px;
	
}
.hero-title em { font-style: normal; color: var(--green-lt); }

/* slide counter: 01 ── 03 */
.hero-counter {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  display: flex; align-items: center; gap: 0.8rem;
  flex-shrink: 0; padding-bottom: 0.3rem;
}
.hero-counter-cur { color: var(--white); }
.hero-counter-line {
  width: 40px; height: 1px; background: rgba(255,255,255,0.25);
  position: relative; overflow: hidden;
}
.hero-counter-line::after {
  content: ''; position: absolute; left: 0; top: 0;
  height: 100%; background: var(--green);
  animation: progress 5s linear infinite;
}
@keyframes progress { 0%{width:0%} 100%{width:100%} }

/* scroll indicator */
.hero-scroll {
  position: absolute; bottom: 3rem; left: 64px;
  margin-left: 2rem;
  z-index: 10;
  display: flex; align-items: center; gap: 0.8rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.hero-scroll-circle {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.55rem;
}
@keyframes scrolldown { 0%{top:-100%} 100%{top:100%} }

/* ─── TICKER ─── */
.ticker {
  overflow: hidden; background: transparent;
  position: relative;
  height: 3.2rem !important;
  min-height: 3.2rem !important;
  box-sizing: content-box;
}
#ticker-wrap {
  display: flex; align-items: center;
  height: 3.2rem;
  position: relative; z-index: 1;
}
.ticker-track {
  display: flex; align-items: center;
  flex-shrink: 0;
}
.ticker-item {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(58,78,58,0.7); padding: 0 2rem; white-space: nowrap;
  flex-shrink: 0; line-height: 1;
}

/* ─── SECTION ─── */
.section { padding: 5rem 2rem; }
.sec-header {
  display: flex; align-items: baseline; justify-content: space-between;
  border-bottom: 1px solid var(--border); padding-bottom: 1rem; margin-bottom: 2.5rem;
}
.sec-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--green);
}
.sec-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.5rem; font-weight: 700; letter-spacing: 0.02em; color: var(--text);
}
.sec-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mid); text-decoration: none; transition: color 0.2s;
}
.sec-link:hover { color: var(--green); }

/* ─── ABOUT ─── */
.about { background: var(--green-snow); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center; max-width: 1000px; margin: 0 auto;
}
.about-img {
  aspect-ratio: 3/4;
  background: url('https://www.himecare.com/wp-content/uploads/2026/04/62-scaled.jpg')
    center/cover no-repeat;
  border-radius: 100px 100px 40px 40px;
}
.about-body { font-size: 0.86rem; line-height: 2.2; color: var(--mid); margin: 1.5rem 0 2.5rem; }
.about-stats { display: flex; gap: 2rem; flex-wrap: wrap; }
.stat-box {
  background: var(--white); border-radius: 12px;
  padding: 1rem 1.5rem; text-align: center;
  box-shadow: 0 2px 12px rgba(150,199,140,0.1);
}
.stat-num {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.6rem; font-weight: 700; color: var(--green);
}
.stat-label { font-size: 0.68rem; color: var(--mid); }

/* ─── VISION ─── */
.vision {
  background: var(--white);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.vision-inner {
  position: relative;
  max-width: 100%;
}
/* photo: left-aligned, bleeds off left edge slightly */
.vision-photo {
  margin-left: 4rem;
  margin-right: 8rem; /* leave room for vertical title on right */
  aspect-ratio: 4/3;
  background: url('https://www.himecare.com/wp-content/uploads/2024/06/547884D8-45C7-4F25-AEE0-51995A8F4D1C.jpg')
    center / cover no-repeat;
  border-radius: 0 24px 24px 0;
  position: relative;
}
/* vertical title — top-right, partially overlapping photo */
.vision-vtitle {
  position: absolute;
  top: 2rem; right: 1.5rem;
  writing-mode: vertical-rl;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700; letter-spacing: 0.18em;
  color: var(--text); line-height: 1;
  white-space: nowrap;
}
/* text card: bottom-left, overlapping photo */
.vision-card {
  position: absolute;
  bottom: -2rem; left: 0.8rem;
  background: var(--white);
  padding: 2rem 2.5rem;
  max-width: 420px;
  border-top: 3px solid var(--green);
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
}
.vision-card-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--green); margin-bottom: 0.8rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.vision-card-label::before {
  content: ''; display: inline-block;
  width: 20px; height: 1px; background: var(--green);
}
.vision-card-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.86rem; line-height: 2.2;
  color: var(--mid); margin-bottom: 0;
}
/* bottom-left corner label (like スクショの「私たちについて」) */
.vision-corner-label {
  position: absolute;
  bottom: -4rem; left: 2rem;
  writing-mode: vertical-rl;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.72rem; letter-spacing: 0.2em;
  color: var(--mid); opacity: 0.6;
}


/* ─── AGENTS ─── */
.agents { background: var(--white); }
.agents-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.acard {
  border-radius: 16px; overflow: hidden;
  text-decoration: none; display: flex; flex-direction: column;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s, transform 0.3s;
}
.acard:hover { box-shadow: 0 12px 40px rgba(150,199,140,0.2); transform: translateY(-4px); }
.acard-img {
  width: 100%; aspect-ratio: 16/9;
  background-size: cover; background-position: center;
  position: relative; overflow: hidden;
}
.acard-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(58,78,58,0.4) 100%);
}
.acard-img-tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 1;
  font-family: 'Inter', sans-serif;
  font-size: 0.55rem; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--green); color: var(--white);
  padding: 0.22rem 0.7rem; border-radius: 20px;
}
.acard-body {
  background: var(--white); padding: 1.8rem 2rem 2rem;
  display: flex; flex-direction: column; flex: 1;
}
.acard-name {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.3rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem;
}
.acard-desc { font-size: 0.76rem; color: var(--mid); line-height: 1.85; flex: 1; }
.acard-ext {
  margin-top: 1.4rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green);
}

/* ─── NEWS: dododododo list style ─── */
.news { background: var(--white); }
.news-list { }
.nitem {
  display: grid;
  grid-template-columns: 90px 70px 1fr 1.2rem;
  align-items: center; gap: 1.5rem;
  padding: 1.2rem 0; border-bottom: 1px solid var(--border);
  text-decoration: none; color: inherit;
  transition: background 0.2s, padding-left 0.2s;
}
.nitem:first-child { border-top: 1px solid var(--border); }
.nitem:hover { padding-left: 0.5rem; }
.ndate { font-family: 'Inter', sans-serif; font-size: 0.7rem; color: var(--mid); }
.ncat {
  font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--green-mist); color: var(--green);
  padding: 0.18rem 0.6rem; border-radius: 20px; display: inline-block;
}
.nttl { font-size: 0.84rem; color: var(--text); line-height: 1.5; }
.narr { color: var(--border); font-size: 0.8rem; }
.nitem:hover .narr { color: var(--green); }

/* ─── CONTACT ─── */
.contact-band {
  background: transparent;
  padding: 4.5rem 0;
  border-top: 1px solid var(--border);
}
.contact-band .wrap {
  padding-left: 2rem;
  padding-right: 2rem;
}
.contact-copy {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 700; color: var(--text);
}
.btn-green {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--green); color: var(--white);
  padding: 0.8rem 1.8rem; border-radius: 24px;
  text-decoration: none; white-space: nowrap;
  box-shadow: 0 4px 16px rgba(150,199,140,0.35);
  transition: background 0.2s, transform 0.2s;
}
.btn-green:hover { background: var(--green-lt); transform: translateY(-2px); }

/* ─── FOOTER ─── */
footer {
  background: var(--white); padding: 3.5rem 2rem 1.8rem;
  border-top: 1px solid var(--border);
}
.footer-top {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-logo {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--green); margin-bottom: 0.8rem; display: block;
}
.footer-tagline { font-size: 0.74rem; line-height: 1.9; color: var(--mid); }
.footer-col {
  font-family: 'Inter', sans-serif;
  font-size: 0.57rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--green); margin-bottom: 1rem;
}
.flinks { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.flinks a { font-size: 0.74rem; color: var(--mid); text-decoration: none; transition: color 0.2s; }
.flinks a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border); padding-top: 1.5rem;
  font-size: 0.63rem; color: var(--mid); letter-spacing: 0.05em;
}

/* ─── SERVICE SECTION ─── */
.svc-section { background: #F8F8F8;  }
.svc-layout {
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: 4rem;
  align-items: stretch;
  padding-bottom: 4rem;
}

/* 左：rightと同じ高さを占めるが、中身はabsolute */
.svc-left {
  position: relative;
  width: 100%;
}

/* 色ブロック：aspect-ratioで自前の高さを持つ */
.svc-color-block {
  position: absolute;
  top: 0; left: 0;
  width: 62%;
  aspect-ratio: 1 / 1.05;
  background: #EDF7EA;
  border-radius: 4px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 2.5rem 3rem;
  z-index: 1;
}
.svc-block-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 700; line-height: 1.1; letter-spacing: 0.02em;
  color: var(--text);
  position: relative; z-index: 1;
}

/* 写真：色ブロックの右下にはみ出す */
.svc-photo {
  position: absolute;
 top: 30%;
left: 38%;
width: 58%;
  margin: 0;
  aspect-ratio: 4/3;
  border-radius: 4px;
  background-size: cover; background-position: center;
  transition: opacity 0.5s ease;
  box-shadow: 0 8px 40px rgba(0,0,0,0.14);
  z-index: 2;
}

/* デスクトップではスマホ用写真を非表示 */
.svc-photo-sp { display: none; }
.svc-right {
  display: flex; flex-direction: column;
  gap: 0;
  padding-top: 0rem;
}
.svc-item {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1.4rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
 
}
.svc-item:first-child {  }
.svc-item:hover { background: var(--green-snow); }
.svc-item.active {
  background: var(--white);
  box-shadow: none;
  border-color: var(--border);
  border-radius: 8px;
}

.svc-item.active + .svc-item { border-top: none; }
.svc-icon {
  width: 56px; height: 56px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--green-mist);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.svc-icon svg { width: 26px; height: 26px; color: var(--green); }
.svc-item.active .svc-icon { background: var(--green); }
.svc-item.active .svc-icon svg { color: var(--white); }
.svc-item-name {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.2rem;
}
.svc-item-desc { font-size: 0.75rem; color: var(--mid); line-height: 1.6; }

/* ─── RESPONSIVE ─── */
@media (max-width: 860px) {
  header { }
  .header-inner { padding: 0 1.5rem; }
  #desktop-nav { display: none; }
  .hamburger { display: flex; }

  /* Hero */
.hero {
  height: 100vh;
  min-height: -webkit-fill-available;
}
  .hero-sidebar { width: 44px; }
  .hero-vtext { font-size: 0.62rem; }
  .hero-caption { left: 44px; padding: 0 1.5rem 2.5rem 1.5rem; flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero-title { font-size: clamp(1.4rem, 6vw, 2rem); }
  .hero-scroll { left: 44px; margin-left: 1rem; }
  .hero-counter { align-self: flex-end; }

  /* Vision */
  .vision { padding: 3rem 0 6rem; }
  .vision-inner { padding-bottom: 8rem; }
  .vision-photo { margin-left: 1rem; margin-right: 4rem; aspect-ratio: 3/2; border-radius: 0 16px 16px 0; }
  .vision-vtitle { font-size: 1.1rem; right: 0.5rem; }
  .vision-card {
    position: absolute;
    bottom: -7rem; left: 0.8rem;
    max-width: calc(100% - 2rem);
    padding: 1.4rem 1.5rem;
  }
  .vision-corner-label { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-img { aspect-ratio: 4/3; border-radius: 40px 40px 20px 20px; order: -1; }

  /* Service */
.svc-layout { grid-template-columns: 1fr; gap: 1.5rem; padding-bottom: 2rem; }
  .svc-left { position: static; width: 100%; height: auto; padding-bottom: 0; max-height: 600px; }
  .svc-color-block {
    position: static;
    width: 100%; height: auto; aspect-ratio: unset;
    flex-direction: column; align-items: flex-start;
    padding: 1.5rem 1.5rem 1.8rem; gap: 1.2rem;
  }
  .svc-block-title { font-size: 1.5rem; }
  /* デスクトップ写真を隠してスマホ用を表示 */
  .svc-photo { display: none !important; }
  .svc-photo-sp {
    display: block;
    width: 88%; margin: 0 auto;
    aspect-ratio: 4/3;
    border-radius: 8px;
    background-size: cover; background-position: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  }
  .svc-right { padding-top: 0; }

  /* Agents */
  .agents-grid { grid-template-columns: 1fr; }

  /* News */
  .nitem { grid-template-columns: 80px 1fr 1rem; gap: 0.8rem; }
  .ncat { display: none; }

  /* Contact */
  .contact-band .wrap { flex-direction: column; align-items: flex-start; gap: 1.5rem; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }

  /* Section */
  .section { padding: 3.5rem 1.2rem; }
  .vision { padding: 4.5rem 1.5rem; }
}
