/*
Theme Name: Solaleaf
Author: Solaleaf / 有限会社宮崎観光
Description: 太陽光発電設備保守管理 O&M 専門サイト
Version: 2.0
Text Domain: solaleaf
*/

/* ============================================================
   VARIABLES & RESET
============================================================ */
:root {
  --primary:       #1A7A5C;
  --primary-dark:  #115C44;
  --accent:        #F5A623;
  --accent-light:  #FFF3DC;
  --white:         #FFFFFF;
  --light:         #EDFAF5;
  --border:        #C0E4D4;
  --text:          #1A2B24;
  --text-mid:      #3D5A50;
  --text-light:    #7A9A8C;
  --shadow:        0 4px 20px rgba(26,122,92,0.10);
  --shadow-hover:  0 8px 32px rgba(26,122,92,0.20);
  --radius:        6px;
  --radius-lg:     12px;
  --transition:    all 0.25s ease;
  --max-width:     1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 62.5%; scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  font-size: 1.6rem;
  line-height: 1.9;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
ul { list-style: none; }

/* ============================================================
   UTILITIES
============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2.4rem;
}

.section {
  padding: 8rem 0;
}

.section--light { background: var(--light); }
.section--dark  { background: linear-gradient(135deg, #115C44 0%, #1A7A5C 60%, #22956E 100%); color: var(--white); }

.section__label {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section__title {
  font-size: clamp(2.4rem, 3vw, 3.2rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--primary);
  margin-bottom: 1.6rem;
}

.section--dark .section__title { color: var(--white); }

.section__lead {
  font-size: 1.6rem;
  color: var(--text-mid);
  max-width: 640px;
  line-height: 2;
}

.section--dark .section__lead { color: rgba(255,255,255,0.80); }

.section__head {
  margin-bottom: 5.6rem;
}

.section__head--center {
  text-align: center;
}

.section__head--center .section__lead {
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  padding: 1.4rem 3.2rem;
  border-radius: var(--radius);
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn--primary:hover {
  background: #d08c10;
  border-color: #d08c10;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--primary);
}

.btn--dark {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn--dark:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* ============================================================
   HEADER
============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(26,122,92,0.10);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(26,122,92,0.12);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2.4rem;
  height: 7.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.site-logo img {
  height: 4rem;
  width: auto;
}

.site-logo__text {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .05em;
}

.site-logo__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.60);
  letter-spacing: .08em;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 3.2rem;
}

.primary-nav a {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: .04em;
  position: relative;
  padding-bottom: .4rem;
}

.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .25s ease;
}

.primary-nav a:hover { color: var(--primary-dark); }
.primary-nav a:hover::after { width: 100%; }

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: .8rem 2rem;
  border-radius: var(--radius);
  font-weight: 700 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: #d08c10; color: var(--white) !important; }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .8rem;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 2.4rem; height: 2px;
  background: var(--primary);
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 7.2rem; left: 0; right: 0;
  background: var(--white);
  padding: 2.4rem;
  z-index: 999;
  border-top: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(21,101,192,0.10);
}

.mobile-nav.open { display: block; }

.mobile-nav ul { display: flex; flex-direction: column; gap: 0; }

.mobile-nav li { border-bottom: 1px solid var(--border); }

.mobile-nav a {
  display: block;
  padding: 1.6rem 0;
  font-size: 1.6rem;
  color: var(--primary);
  font-weight: 600;
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  /* 画像はテンプレート側からインラインで指定（カスタマイザーで変更可能） */
  background: linear-gradient(135deg, #0D4A34 0%, #1A7A5C 100%);
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 12s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.00); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(17,92,68,0.72) 0%,
    rgba(26,122,92,0.48) 60%,
    rgba(17,92,68,0.65) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12rem 2.4rem 8rem;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .25em;
  color: var(--accent);
  margin-bottom: 2.4rem;
  text-transform: uppercase;
}

.hero__label::before {
  content: '';
  display: block;
  width: 3.2rem; height: 2px;
  background: var(--accent);
}

.hero__title {
  font-size: clamp(3.6rem, 5.5vw, 6.4rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 2.4rem;
  letter-spacing: .02em;
}

.hero__title span {
  color: var(--accent);
}

.hero__text {
  font-size: clamp(1.5rem, 2vw, 1.8rem);
  color: rgba(255,255,255,0.85);
  line-height: 2;
  margin-bottom: 4rem;
  max-width: 540px;
}

.hero__actions {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 4rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
  color: rgba(255,255,255,0.60);
  font-size: 1.1rem;
  letter-spacing: .15em;
  z-index: 1;
}

.hero__scroll::after {
  content: '';
  display: block;
  width: 1px; height: 4rem;
  background: rgba(255,255,255,0.40);
  animation: scrollLine 1.8s ease infinite;
}

@keyframes scrollLine {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* ============================================================
   CREDENTIALS BAR
============================================================ */
.credentials-bar {
  background: linear-gradient(90deg, #115C44 0%, #1A7A5C 50%, #115C44 100%);
  padding: 2.4rem 0;
}

.credentials-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .8rem 2.4rem;
  color: rgba(255,255,255,0.90);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: .03em;
}

.credential-item + .credential-item {
  border-left: 1px solid rgba(255,255,255,0.15);
}

.credential-icon {
  width: 2.4rem; height: 2.4rem;
  fill: var(--accent);
  flex-shrink: 0;
}

/* ============================================================
   INTRO
============================================================ */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6.4rem;
  align-items: center;
}

.intro__label { color: var(--accent); }
.intro__title { color: var(--primary); }
.intro__text {
  color: var(--text-mid);
  margin-bottom: 2.4rem;
  line-height: 2;
}

.intro__list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 3.2rem;
}

.intro__list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1.5rem;
  color: var(--text-mid);
}

.intro__list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .1rem;
}

.intro__image {
  position: relative;
}

.intro__image img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.intro__badge {
  position: absolute;
  bottom: -2.4rem; left: -2.4rem;
  background: var(--primary);
  color: var(--white);
  padding: 2rem 2.4rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
}

.intro__badge-num {
  display: block;
  font-size: 3.6rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.intro__badge-text {
  display: block;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.75);
  margin-top: .4rem;
  white-space: nowrap;
}

/* ============================================================
   SERVICES
============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.service-card__img {
  width: 100%;
  height: 22rem;
  object-fit: cover;
}

.service-card__body {
  padding: 2.4rem;
}

.service-card__num {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .12em;
  margin-bottom: .8rem;
}

.service-card__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.2rem;
  line-height: 1.4;
}

.service-card__text {
  font-size: 1.4rem;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 2rem;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.tag {
  font-size: 1.2rem;
  padding: .3rem 1rem;
  border-radius: 20px;
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 500;
}

/* ============================================================
   STRENGTHS
============================================================ */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.4rem;
}

.strength-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 3.2rem;
  transition: var(--transition);
}

.strength-item:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(245,166,35,0.50);
  transform: translateY(-4px);
}

.strength-item__icon {
  width: 5.6rem; height: 5.6rem;
  background: rgba(232,160,32,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.strength-item__icon svg {
  width: 2.8rem; height: 2.8rem;
  fill: var(--accent);
}

.strength-item__title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.strength-item__text {
  font-size: 1.4rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.9;
}

/* ============================================================
   AREA
============================================================ */
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6.4rem;
  align-items: center;
}

.area-map {
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.area-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.area-list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.area-item {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 1.6rem 2rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 1.6rem;
  color: var(--primary);
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(26,56,87,0.06);
}

.area-item::before {
  content: '';
  width: 1rem; height: 1rem;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.area-note {
  font-size: 1.4rem;
  color: var(--text-light);
  margin-top: 1.6rem;
}

/* ============================================================
   BLOG
============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.blog-card__img {
  width: 100%;
  height: 18rem;
  object-fit: cover;
}

.blog-card__body {
  padding: 2rem 2.4rem;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.blog-card__date {
  font-size: 1.2rem;
  color: var(--text-light);
}

.blog-card__cat {
  font-size: 1.1rem;
  padding: .2rem .8rem;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 20px;
  font-weight: 500;
}

.blog-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.6;
}

.blog-card__title:hover { color: var(--accent); }

/* ============================================================
   CTA SECTION
============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, #d08c10 100%);
  padding: 8rem 0;
  text-align: center;
}

.cta-section .section__title {
  color: var(--white);
  margin-bottom: 1.6rem;
}

.cta-section .section__lead {
  color: rgba(255,255,255,0.88);
  margin: 0 auto 4rem;
}

.cta-actions {
  display: flex;
  gap: 1.6rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn--white {
  background: var(--white);
  color: var(--accent);
  border-color: var(--white);
}
.btn--white:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: linear-gradient(160deg, #0D4A34 0%, #115C44 100%);
  color: rgba(255,255,255,0.75);
  padding: 6.4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4.8rem;
  padding-bottom: 4.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.footer-brand__logo {
  height: 4rem;
  width: auto;
  margin-bottom: 1.6rem;
  /* 濃緑背景では透過ロゴを白抜きで表示 */
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.footer-brand__name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .4rem;
}

.footer-brand__sub {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.50);
  margin-bottom: 1.6rem;
}

.footer-brand__text {
  font-size: 1.3rem;
  line-height: 2;
  color: rgba(255,255,255,0.60);
}

.footer-nav__title,
.footer-contact__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  padding-bottom: .8rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-nav a {
  font-size: 1.4rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}

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

.footer-contact__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 1.4rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.footer-contact__item svg {
  width: 1.8rem; height: 1.8rem;
  fill: var(--accent);
  flex-shrink: 0;
  margin-top: .2rem;
}

.footer-bottom {
  padding: 2rem 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.40);
}

/* ============================================================
   PAGE HEADER
============================================================ */
.page-header {
  background: linear-gradient(135deg, #115C44 0%, #1A7A5C 60%, #22956E 100%);
  padding: 12rem 0 5.6rem;
  text-align: center;
}

.page-header__label {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.page-header__title {
  font-size: clamp(3rem, 4vw, 4.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 1.2rem;
}

.page-header__sub {
  font-size: 1.5rem;
  color: rgba(255,255,255,0.70);
}

/* ============================================================
   SERVICES PAGE
============================================================ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6.4rem;
  align-items: center;
  margin-bottom: 7.2rem;
  padding-bottom: 7.2rem;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.service-detail--reverse { direction: rtl; }
.service-detail--reverse > * { direction: ltr; }

.service-detail__img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.service-detail__label {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .15em;
  margin-bottom: .8rem;
}

.service-detail__title {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.6rem;
  line-height: 1.4;
}

.service-detail__text {
  font-size: 1.5rem;
  color: var(--text-mid);
  line-height: 2;
  margin-bottom: 2.4rem;
}

.service-detail__list {
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.service-detail__list li {
  display: flex;
  gap: 1rem;
  font-size: 1.4rem;
  color: var(--text-mid);
  align-items: flex-start;
}

.service-detail__list li::before {
  content: '▸';
  color: var(--accent);
  flex-shrink: 0;
}

/* ============================================================
   ABOUT PAGE
============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6.4rem;
  align-items: start;
}

.cert-list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-top: 3.2rem;
}

.cert-item {
  display: flex;
  gap: 1.6rem;
  align-items: center;
  padding: 1.6rem 2rem;
  background: var(--light);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
}

.cert-item__icon {
  width: 4.8rem; height: 4.8rem;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cert-item__icon svg {
  width: 2.4rem; height: 2.4rem;
  fill: var(--accent);
}

.cert-item__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.cert-item__sub {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-top: .2rem;
}

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

.company-table th,
.company-table td {
  padding: 1.4rem 2rem;
  text-align: left;
  font-size: 1.5rem;
  border-bottom: 1px solid var(--border);
  line-height: 1.8;
}

.company-table th {
  background: var(--light);
  color: var(--primary);
  font-weight: 700;
  width: 30%;
  white-space: nowrap;
}

/* ============================================================
   CONTACT PAGE
============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 6.4rem;
  align-items: start;
}

.contact-info__item {
  display: flex;
  gap: 1.6rem;
  margin-bottom: 2.4rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.contact-info__item:last-child { border-bottom: none; }

.contact-info__icon {
  width: 4.8rem; height: 4.8rem;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info__icon svg {
  width: 2.4rem; height: 2.4rem;
  fill: var(--accent);
}

.contact-info__label {
  font-size: 1.2rem;
  color: var(--text-light);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .4rem;
}

.contact-info__value {
  font-size: 1.5rem;
  color: var(--text);
  font-weight: 500;
  word-break: break-all;
}

.contact-info__note {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-top: .4rem;
  line-height: 1.7;
}

/* Contact Form 7 styles */
.wpcf7 .form-row {
  margin-bottom: 2rem;
}

.wpcf7 label {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .6rem;
}

.wpcf7 .required-mark {
  color: #e53e3e;
  margin-left: .4rem;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 1.2rem 1.6rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 1.5rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  -webkit-appearance: none;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,56,87,0.08);
}

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

.wpcf7-submit {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 1.4rem 4rem !important;
  border: none !important;
  border-radius: var(--radius) !important;
  font-size: 1.6rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: var(--transition) !important;
  width: 100% !important;
}

.wpcf7-submit:hover {
  background: #d08c10 !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-hover) !important;
}

/* ============================================================
   BLOG (single / archive)
============================================================ */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 28rem;
  gap: 5.6rem;
}

.post-header { margin-bottom: 3.2rem; }

.post-meta {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  margin-bottom: 1.6rem;
  flex-wrap: wrap;
}

.post-date { font-size: 1.3rem; color: var(--text-light); }
.post-cat  {
  font-size: 1.2rem;
  padding: .2rem 1rem;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 20px;
  font-weight: 700;
}

.post-title {
  font-size: clamp(2.4rem, 3vw, 3.2rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
}

.post-thumbnail {
  margin-bottom: 3.2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.post-thumbnail img {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
}

.post-content {
  font-size: 1.6rem;
  line-height: 2;
  color: var(--text);
}

.post-content h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
  margin: 3.2rem 0 1.6rem;
  padding-left: 1.2rem;
  border-left: 4px solid var(--accent);
}

.post-content h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 2.4rem 0 1.2rem;
}

.post-content p { margin-bottom: 1.6rem; }

.post-content img {
  border-radius: var(--radius);
  margin: 2.4rem 0;
}

.post-content ul, .post-content ol {
  margin: 1.6rem 0 1.6rem 2rem;
}

.post-content ul li { list-style: disc; margin-bottom: .6rem; }
.post-content ol li { list-style: decimal; margin-bottom: .6rem; }

/* sidebar */
.sidebar-widget {
  margin-bottom: 3.2rem;
}

.sidebar-widget__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .08em;
  padding-bottom: 1rem;
  margin-bottom: 1.6rem;
  border-bottom: 2px solid var(--accent);
}

.recent-post-item {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.6rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--border);
}

.recent-post-item:last-child { border-bottom: none; }

.recent-post-item img {
  width: 6.4rem; height: 6.4rem;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.recent-post-item__title {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--primary);
  line-height: 1.6;
}

.recent-post-item__date {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-top: .4rem;
}

/* ============================================================
   PAGINATION
============================================================ */
.pagination {
  display: flex;
  gap: .8rem;
  justify-content: center;
  margin-top: 4.8rem;
}

.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem; height: 4rem;
  border-radius: var(--radius);
  font-size: 1.4rem;
  font-weight: 500;
  border: 1.5px solid var(--border);
  color: var(--text-mid);
}

.pagination a:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.pagination .current {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 960px) {
  .services-grid     { grid-template-columns: 1fr; }
  .strengths-grid    { grid-template-columns: 1fr; }
  .intro-grid        { grid-template-columns: 1fr; }
  .area-grid         { grid-template-columns: 1fr; }
  .about-grid        { grid-template-columns: 1fr; }
  .contact-grid      { grid-template-columns: 1fr; }
  .blog-grid         { grid-template-columns: 1fr; }
  .footer-grid       { grid-template-columns: 1fr; }
  .blog-layout       { grid-template-columns: 1fr; }
  .service-detail    { grid-template-columns: 1fr; }
  .service-detail--reverse { direction: ltr; }
  .intro__badge { display: none; }
  .credentials-inner { gap: 0; }
  .credential-item   { padding: .8rem 1.4rem; font-size: 1.3rem; }
}

@media (max-width: 640px) {
  html { font-size: 55%; }
  .section { padding: 5.6rem 0; }
  .primary-nav { display: none; }
  .hamburger { display: flex; }
  .hero__title { font-size: 3.6rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { text-align: center; justify-content: center; }
  .credentials-inner { flex-direction: column; align-items: flex-start; padding: 0 2.4rem; }
  .credential-item + .credential-item { border-left: none; border-top: 1px solid rgba(255,255,255,0.10); }
}

/* ============================================================
   V2 ENHANCEMENTS
   （タイポグラフィ / 統計 / 流れ / FAQ / 実績 / 404 / A11y）
============================================================ */

/* --- 英字ラベルに Montserrat を適用して引き締める --- */
.section__label,
.hero__label,
.page-header__label,
.service-card__num,
.service-detail__label,
.footer-nav__title,
.footer-contact__title,
.contact-info__label,
.hero__scroll {
  font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
}

/* --- スキップリンク（キーボード操作対応） --- */
.skip-link {
  position: absolute;
  top: -100px; left: 1rem;
  z-index: 2000;
  background: var(--primary);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-size: 1.4rem;
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; color: var(--white); }

/* --- フォーカス可視化 --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* --- ヒーロー：小さな強みチップ --- */
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3.2rem;
}
.hero__chip {
  font-size: 1.3rem;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(4px);
  padding: .6rem 1.6rem;
  border-radius: 999px;
  letter-spacing: .04em;
}

/* --- カードのホバーアクセント（上端ライン） --- */
.service-card,
.blog-card {
  position: relative;
}
.service-card::before,
.blog-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
  z-index: 1;
}
.service-card:hover::before,
.blog-card:hover::before { transform: scaleX(1); }

/* --- 数字で見る実績（STATS） --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.4rem;
}

.stat-item {
  text-align: center;
  padding: 3.2rem 1.6rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.stat-item__num {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(3.6rem, 5vw, 5.2rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .4rem;
}

.stat-item__unit {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-item__label {
  margin-top: 1.2rem;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-mid);
}

/* --- ご依頼の流れ（FLOW） --- */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.4rem;
  counter-reset: flow;
}

.flow-step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3.2rem 2.4rem 2.8rem;
  box-shadow: var(--shadow);
}

.flow-step::after {
  content: '';
  position: absolute;
  top: 50%; right: -2rem;
  width: 1.4rem; height: 1.4rem;
  border-top: 3px solid var(--accent);
  border-right: 3px solid var(--accent);
  transform: translateY(-50%) rotate(45deg);
}
.flow-step:last-child::after { display: none; }

.flow-step__num {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.flow-step__icon {
  width: 5.6rem; height: 5.6rem;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
}
.flow-step__icon svg { width: 2.8rem; height: 2.8rem; fill: var(--primary); }

.flow-step__title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .8rem;
}

.flow-step__text {
  font-size: 1.35rem;
  color: var(--text-mid);
  line-height: 1.8;
}

/* --- FAQ（details/summary によるアコーディオン） --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(26,122,92,0.06);
  transition: var(--transition);
}

.faq-item[open] {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  padding: 2rem 2.4rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.6;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::before {
  content: 'Q';
  font-family: 'Montserrat', sans-serif;
  flex-shrink: 0;
  width: 3rem; height: 3rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.faq-item summary::after {
  content: '+';
  margin-left: auto;
  flex-shrink: 0;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item__answer {
  display: flex;
  gap: 1.4rem;
  padding: 0 2.4rem 2.4rem;
  font-size: 1.45rem;
  color: var(--text-mid);
  line-height: 2;
}

.faq-item__answer::before {
  content: 'A';
  font-family: 'Montserrat', sans-serif;
  flex-shrink: 0;
  width: 3rem; height: 3rem;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

/* --- 固定ページ汎用コンテンツ --- */
.page-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.5rem;
  line-height: 2;
  color: var(--text);
}
.page-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 3.2rem 0 1.6rem;
  padding-left: 1.2rem;
  border-left: 4px solid var(--accent);
}
.page-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  margin: 2.4rem 0 1.2rem;
}
.page-content p { margin-bottom: 1.6rem; }
.page-content ul, .page-content ol { margin: 1.6rem 0 1.6rem 2rem; }
.page-content ul li { list-style: disc; margin-bottom: .6rem; }
.page-content ol li { list-style: decimal; margin-bottom: .6rem; }

/* --- 404 --- */
.error-404 {
  text-align: center;
  padding: 10rem 2.4rem;
}
.error-404__code {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(8rem, 14vw, 14rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1.6rem;
}
.error-404__title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.2rem;
}
.error-404__text {
  font-size: 1.5rem;
  color: var(--text-mid);
  margin-bottom: 3.2rem;
}

/* --- ページトップへ戻るボタン --- */
.to-top {
  position: fixed;
  right: 2.4rem; bottom: 2.4rem;
  z-index: 900;
  width: 4.8rem; height: 4.8rem;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
}
.to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top:hover { background: var(--accent); }
.to-top svg { width: 2rem; height: 2rem; fill: currentColor; }

/* --- モーション削減設定への配慮 --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* --- V2 レスポンシブ --- */
@media (max-width: 960px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid  { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .flow-step::after {
    top: auto; right: 50%;
    bottom: -2.2rem;
    transform: translateX(50%) rotate(135deg);
  }
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
  .stat-item  { padding: 2.4rem 1.2rem; }
  .hero__chips { gap: .8rem; }
  .to-top { right: 1.6rem; bottom: 1.6rem; }
}
