/*
Theme Name: Hayashi Kenso Original
Theme URI: https://example.com
Author: Hayashi Kenso
Author URI: https://example.com
Description: 株式会社ハヤシ建装（塗装業・除雪業）のためのオリジナルWordPressテーマ。黒×水色をベースに、筆で描いたようなブラシエフェクトを取り入れたクール&スタイリッシュなデザイン。
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: hayashikenso
*/

/* ==========================================================================
   00. CSS Variables（デザイントークン）
   ========================================================================== */
:root {
  /* Colors */
  --color-black: #121212;
  --color-black-soft: #1c1e22;
  --color-black-06: rgba(18, 18, 18, 0.06);
  --color-black-12: rgba(18, 18, 18, 0.12);

  --color-blue: #2f8fd1;
  --color-blue-light: #6cc3f0;
  --color-blue-lighter: #eaf6fd;
  --color-blue-dark: #164f73;

  --color-accent: #ff7a30;
  --color-accent-dark: #e0611b;

  --color-white: #ffffff;
  --color-off-white: #f6f8f9;
  --color-gray-100: #eef1f3;
  --color-gray-300: #cbd2d8;
  --color-gray-500: #7a848c;
  --color-gray-700: #454b50;

  /* Layout */
  --sidebar-width: 264px;
  --container-width: 1120px;
  --header-height-mobile: 64px;

  /* Type */
  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-heading: "Oswald", "Noto Sans JP", sans-serif;

  /* Motion */
  --ease-brush: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ==========================================================================
   01. Reset / Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-base);
  color: var(--color-black);
  background: var(--color-white);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}
@media (max-width: 782px) {
  .section { padding: 64px 0; }
}

.section-label {
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--color-blue);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-label .label-brush {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 68px;
  height: 16px;
  color: var(--color-blue);
  opacity: 0;
  transform: translateX(-50%);
  clip-path: inset(0 100% 0 0);
}
.reveal.is-visible .section-label .label-brush,
.section-label.is-visible .label-brush {
  opacity: 0.9;
  animation: brush-reveal 0.7s var(--ease-brush) 0.15s forwards;
}
.section-label .label-brush svg {
  display: block;
  width: 100%;
  height: 100%;
}
.section-label .label-brush svg path { fill: currentColor; }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-black);
  margin-bottom: 16px;
}

.section-lead {
  color: var(--color-gray-700);
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head {
  text-align: center;
}
.section-head .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.strengths-section {
  position: relative;
  padding-top: 0;
}
.strengths-head {
  position: relative;
  overflow: hidden;
  padding: 100px 0 72px;
  margin-bottom: 64px;
}
.strengths-head-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 0;
}
.strengths-head-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}
.strengths-head-bg::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(180deg, rgba(18,18,18,0.72) 0%, rgba(18,18,18,0.8) 100%);
}
.strengths-head .container {
  position: relative;
  z-index: 1;
}
.strengths-head .section-label,
.strengths-head .section-title,
.strengths-head .section-lead {
  color: var(--color-white);
}
.strengths-head .section-lead { color: rgba(255,255,255,0.82); }
@media (max-width: 782px) {
  .strengths-head { padding: 72px 0 48px; margin-bottom: 40px; }
}

/* 画像が無くても崩れないプレースホルダー */
.ph-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--color-blue-lighter) 0%, var(--color-gray-100) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ph-media img {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ph-media::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  border: 1px solid var(--color-black-12);
}
.ph-media .ph-icon {
  width: 46px;
  height: 46px;
  opacity: 0.25;
}

/* ==========================================================================
   02. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 2px;
  border: 2px solid transparent;
  transition: transform 0.25s var(--ease-brush), box-shadow 0.25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-accent {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 8px 20px rgba(255, 122, 48, 0.28);
}
.btn-accent:hover { background: var(--color-accent-dark); }

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

.btn-dark {
  background: var(--color-black);
  color: var(--color-white);
}
.btn-dark:hover { background: var(--color-black-soft); }

.btn-block { width: 100%; }

/* ==========================================================================
   03. Layout: Sidebar Navigation（左側縦ナビ）
   ========================================================================== */
.site {
  display: flex;
  min-height: 100vh;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  background: var(--color-black);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  z-index: 100;
  transition: transform 0.35s var(--ease-brush);
}

.site-branding {
  padding: 28px 24px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-branding a { display: inline-block; }
.site-branding img.custom-logo { width: 100%; max-width: 180px; }
.site-branding .site-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-white);
}
.site-branding .site-description {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--color-blue-light);
  margin-top: 4px;
}
.hk-default-logo { display: inline-block; }
.hk-default-logo img { width: 100%; max-width: 180px; height: auto; display: block; }

.main-navigation {
  flex: 1;
  overflow-y: auto;
  padding: 12px 0;
}
.main-navigation ul { display: flex; flex-direction: column; }
.main-navigation a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
  position: relative;
}
.main-navigation a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-blue);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.05);
  border-left-color: var(--color-blue);
}
.main-navigation a:hover::before,
.main-navigation .current-menu-item > a::before { opacity: 1; }

.site-header-contact {
  padding: 20px 24px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header-contact .tel-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--color-gray-300);
  margin-bottom: 4px;
}
.site-header-contact .tel-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 4px;
}
.site-header-contact .tel-number span { color: var(--color-blue-light); }
.site-header-contact .tel-note {
  font-size: 0.68rem;
  color: var(--color-gray-500);
  margin-bottom: 14px;
}

/* モバイルトグルボタン */
.menu-toggle {
  display: none;
  position: fixed;
  top: 12px;
  right: 16px;
  z-index: 200;
  width: 48px;
  height: 48px;
  background: var(--color-black);
  border: none;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-white);
  transition: all 0.3s ease;
}
.mobile-bar {
  display: none;
}

/* コンテンツ側 */
.site-content-wrapper {
  margin-left: var(--sidebar-width);
  width: calc(100% - var(--sidebar-width));
  min-height: 100vh;
}

@media (max-width: 1024px) {
  .site-header {
    transform: translateX(-100%);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.3);
  }
  .site-header.is-open { transform: translateX(0); }
  .site-content-wrapper {
    margin-left: 0;
    width: 100%;
    padding-top: var(--header-height-mobile);
  }
  .menu-toggle { display: flex; }
  .mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-height-mobile);
    background: var(--color-black);
    padding: 0 16px;
    z-index: 150;
  }
  .mobile-bar img { max-height: 40px; width: auto; }
  .nav-overlay {
    display: none;
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(0,0,0,0.5);
    z-index: 90;
  }
  .nav-overlay.is-open { display: block; }
}

/* ==========================================================================
   04. Hero（筆エフェクト付きキービジュアル）
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-black);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-bg::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background:
    linear-gradient(100deg, rgba(18,18,18,0.94) 0%, rgba(18,18,18,0.86) 38%, rgba(18,18,18,0.55) 68%, rgba(18,18,18,0.72) 100%),
    linear-gradient(0deg, rgba(18,18,18,0.6) 0%, rgba(18,18,18,0.1) 30%);
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 80% 20%, rgba(47, 143, 209, 0.25), transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(47, 143, 209, 0.15), transparent 50%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 120px 56px;
}
@media (max-width: 782px) {
  .hero-inner { padding: 90px 24px 60px; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--color-blue-light);
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--color-blue-light);
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  line-height: 1.25;
  color: var(--color-white);
  letter-spacing: 0.01em;
  max-width: 820px;
}
.hero-title .brush-highlight {
  position: relative;
  display: inline-block;
  color: var(--color-white);
  padding-bottom: 0.22em;
}
.hero-title .brush-highlight .brush-mark {
  position: absolute;
  left: -6%;
  bottom: -0.3em;
  width: 118%;
  height: 1em;
  color: var(--color-blue);
  z-index: -1;
  opacity: 0.95;
  clip-path: inset(0 100% 0 0);
  animation: brush-reveal 0.9s var(--ease-brush) 0.5s forwards;
}
.hero-title .brush-highlight .brush-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-title .brush-highlight .brush-mark svg path { fill: currentColor; }
@media (max-width: 782px) {
  .hero-title .brush-highlight .brush-mark {
    height: 0.85em;
    bottom: -0.26em;
  }
}

.hero-text {
  margin-top: 28px;
  max-width: 560px;
  color: var(--color-gray-300);
  font-size: 1.05rem;
}

.hero-actions {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-ring {
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: min(560px, 58vw);
  color: var(--color-blue);
  z-index: 1;
  opacity: 0;
  transform: scale(0.85) rotate(-6deg);
  animation: ring-fade-in 1.5s var(--ease-brush) 0.3s forwards;
}
.hero-ring svg {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-ring svg path { fill: currentColor; }
@media (max-width: 782px) {
  .hero-ring { width: min(420px, 80vw); right: -80px; bottom: -60px; }
}

.hero-scroll {
  position: absolute;
  left: 56px;
  bottom: 32px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-gray-300);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
}
.hero-scroll .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--color-blue-light), transparent);
  animation: scroll-line 1.6s ease-in-out infinite;
}
@media (max-width: 782px) { .hero-scroll { display: none; } }

@keyframes brush-reveal {
  to { clip-path: inset(0 0 0 0); }
}
@keyframes ring-fade-in {
  to { opacity: 0.32; transform: scale(1) rotate(0deg); }
}
@keyframes scroll-line {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.4); opacity: 0.4; }
}

/* ==========================================================================
   05. Strengths（選ばれる理由）
   ========================================================================== */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-black-12);
  border: 1px solid var(--color-black-12);
}
@media (max-width: 1024px) { .strengths-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .strengths-grid { grid-template-columns: 1fr; } }

.strength-card {
  background: var(--color-white);
  padding: 40px 28px;
  transition: background 0.25s ease;
}
.strength-card:hover { background: var(--color-blue-lighter); }
.strength-card .num {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--color-blue);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.strength-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--color-black);
}
.strength-card p {
  font-size: 0.9rem;
  color: var(--color-gray-700);
}

/* ==========================================================================
   06. Services（塗装業／除雪業）
   ========================================================================== */
.services {
  background: var(--color-off-white);
}
.service-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  border-radius: 4px;
  overflow: hidden;
}
@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr; }
}

.service-card {
  position: relative;
  padding: 56px 44px;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  overflow: hidden;
}
.service-card-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 0;
}
.service-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-brush);
}
.service-card:hover .service-card-bg img {
  transform: scale(1.05);
}
.service-card.is-main .service-card-bg::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(180deg, rgba(22,79,115,0.55) 0%, rgba(18,18,18,0.88) 78%), linear-gradient(100deg, rgba(18,18,18,0.55) 0%, transparent 55%);
}
.service-card.is-sub .service-card-bg::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(180deg, rgba(20,22,24,0.5) 0%, rgba(18,18,18,0.9) 78%), linear-gradient(100deg, rgba(18,18,18,0.55) 0%, transparent 55%);
}
.service-card.is-main {
  background: linear-gradient(160deg, var(--color-blue-dark) 0%, var(--color-black) 90%);
}
.service-card.is-sub {
  background: linear-gradient(160deg, #2b2f33 0%, var(--color-black) 90%);
}
.service-card > *:not(.service-card-bg) {
  position: relative;
  z-index: 1;
}
.service-season {
  align-self: flex-start;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--color-blue-light);
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  margin-bottom: 20px;
}
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  margin-bottom: 14px;
}
.service-card p {
  color: var(--color-gray-300);
  max-width: 420px;
  margin-bottom: 24px;
}
.service-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 28px;
}
.service-card ul li {
  font-size: 0.85rem;
  color: var(--color-gray-300);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-card ul li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--color-blue-light);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ==========================================================================
   07. About / Message
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
}
.about-text .rep-name {
  margin-top: 28px;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-black);
}
.about-text .rep-name span {
  display: block;
  font-size: 0.75rem;
  color: var(--color-gray-500);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

/* ==========================================================================
   08. Company Info Table（会社概要）
   ========================================================================== */
.company-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--color-black-12);
}
.company-table th,
.company-table td {
  text-align: left;
  padding: 22px 20px;
  border-bottom: 1px solid var(--color-black-12);
  font-size: 0.95rem;
  vertical-align: top;
}
.company-table th {
  width: 200px;
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  color: var(--color-gray-500);
  font-weight: 500;
}
@media (max-width: 600px) {
  .company-table th, .company-table td { display: block; width: 100%; padding: 8px 0; }
  .company-table tr { display: block; padding: 16px 0; border-bottom: 1px solid var(--color-black-12); }
  .company-table th, .company-table td { border-bottom: none; }
}
.company-table-note {
  font-size: 0.85rem;
  color: var(--color-gray-500);
  margin-top: 16px;
}

/* ==========================================================================
   09. CTA / Contact
   ========================================================================== */
.cta {
  position: relative;
  background: var(--color-black);
  color: var(--color-white);
  text-align: center;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 0;
}
.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}
.cta-bg::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(180deg, rgba(18,18,18,0.9) 0%, rgba(18,18,18,0.75) 40%, rgba(18,18,18,0.92) 100%);
}
.cta .container { position: relative; z-index: 2; }
.cta-brush {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%) scale(1.08);
  width: 900px;
  max-width: 170%;
  color: var(--color-blue);
  opacity: 0;
  z-index: 1;
  transition: opacity 1s ease, transform 1.1s var(--ease-brush);
}
.cta-brush svg {
  display: block;
  width: 100%;
  height: auto;
}
.cta-brush svg path { fill: currentColor; }
.cta.reveal.is-visible .cta-brush {
  opacity: 0.22;
  transform: translateX(-50%) scale(1);
}
.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  margin-bottom: 16px;
}
.cta-lead {
  color: var(--color-gray-300);
  max-width: 520px;
  margin: 0 auto 40px;
}
.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
}
.cta-tel {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
}
.cta-tel span { font-size: 0.75rem; display: block; color: var(--color-blue-light); letter-spacing: 0.1em; margin-bottom: 4px; }

.contact-form-wrap {
  max-width: 640px;
  margin: 56px auto 0;
  text-align: left;
  background: var(--color-black-soft);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 40px;
}
@media (max-width: 600px) { .contact-form-wrap { padding: 24px; } }

.contact-form-wrap .wpcf7-form p { margin-bottom: 18px; }
.contact-form-wrap .wpcf7-form label,
.contact-form-wrap .wpcf7-form .field-label {
  display: block;
  font-size: 0.85rem;
  color: var(--color-gray-300);
  margin-bottom: 6px;
}
.contact-form-wrap .wpcf7-form .req {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.02em;
}
.contact-form-wrap .wpcf7-form input[type="text"],
.contact-form-wrap .wpcf7-form input[type="tel"],
.contact-form-wrap .wpcf7-form input[type="email"],
.contact-form-wrap .wpcf7-form textarea,
.contact-form-wrap .wpcf7-form select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 3px;
  color: var(--color-white);
}
.contact-form-wrap .wpcf7-form textarea { min-height: 140px; resize: vertical; }
.contact-form-wrap .wpcf7-form .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 4px;
}
.contact-form-wrap .wpcf7-form .wpcf7-list-item {
  margin: 0;
}
.contact-form-wrap .wpcf7-form .wpcf7-list-item-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--color-gray-300);
  cursor: pointer;
}
.contact-form-wrap .wpcf7-form input[type="radio"] {
  accent-color: var(--color-blue);
  width: 16px;
  height: 16px;
}
.contact-form-wrap .wpcf7-form input[type="submit"] {
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  padding: 16px 40px;
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  border-radius: 2px;
  transition: background 0.2s ease;
}
.contact-form-wrap .wpcf7-form input[type="submit"]:hover { background: var(--color-accent-dark); }
.contact-form-wrap .wpcf7-not-valid-tip { color: #ff8a8a; font-size: 0.8rem; margin-top: 4px; }
.contact-form-wrap .wpcf7-response-output { border-radius: 4px; margin-top: 20px; }
.cf7-notice {
  color: var(--color-gray-300);
  font-size: 0.9rem;
  text-align: center;
  padding: 40px 0;
  border: 1px dashed rgba(255,255,255,0.2);
  border-radius: 6px;
  margin-top: 56px;
}

/* ==========================================================================
   10. Footer
   ========================================================================== */
.site-footer {
  background: var(--color-black-soft);
  color: var(--color-gray-300);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 782px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
.footer-brand img { max-width: 160px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.9; }
.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--color-blue-light);
  margin-bottom: 18px;
}
.footer-info dl { display: flex; flex-wrap: wrap; font-size: 0.88rem; line-height: 2; }
.footer-info dt { width: 90px; color: var(--color-gray-500); }
.footer-info dd { width: calc(100% - 90px); margin: 0; }
.footer-note {
  font-size: 0.78rem;
  color: var(--color-gray-500);
  margin-top: 14px;
}
.footer-nav a {
  display: block;
  font-size: 0.9rem;
  padding: 6px 0;
  color: var(--color-gray-300);
}
.footer-nav a:hover { color: var(--color-white); }
.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-gray-500);
  letter-spacing: 0.05em;
}

/* ==========================================================================
   11. Reveal Animation（スクロール表示）
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-brush), transform 0.7s var(--ease-brush);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   12. Utilities
   ========================================================================== */
.u-hide-sp { display: inline; }
.u-hide-pc { display: none; }
@media (max-width: 782px) {
  .u-hide-sp { display: none; }
  .u-hide-pc { display: inline; }
}

/* ==========================================================================
   13. Blog / Archive（index.php）
   ========================================================================== */
.blog-list { max-width: 780px; margin: 0 auto; }
.blog-item {
  padding: 32px 0;
  border-bottom: 1px solid var(--color-black-12);
}
.blog-item .date {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--color-blue);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: block;
}
.blog-item h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.blog-item h2 a:hover { color: var(--color-blue); }
.blog-item .excerpt { color: var(--color-gray-700); font-size: 0.92rem; }

.single-content { max-width: 780px; margin: 0 auto; }
.single-content .entry-title { font-family: var(--font-heading); font-size: clamp(1.6rem,3vw,2.2rem); margin-bottom: 24px; }
.single-content .entry-meta { font-size: 0.8rem; color: var(--color-gray-500); margin-bottom: 32px; }
.single-content .entry-content > * + * { margin-top: 1.4em; }
