/*
Theme Name: remini
Theme URI: https://remini.jp
Author: REMINI
Author URI: https://remini.jp
Description: 株式会社REMINI オフィシャルテーマ
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: remini
*/

/* ===== リセット & ベース ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #091f33;
  --dark:    #0f2942;
  --mid:     #1a3a5c;
  --gray:    #7a8fa6;
  --light:   #f0f4f8;
  --white:   #ffffff;
  --accent:  #c8a96e;
  --accent2: #a07840;
  --font-jp: 'Noto Sans JP', sans-serif;
  --font-en: 'Montserrat', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-jp);
  background: #f4f6f9;
  color: var(--dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ===== ヘッダー ===== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s, backdrop-filter 0.4s;
}
#header.scrolled {
  background: rgba(9, 31, 51, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200, 169, 110, 0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 100%;
  padding: 0 112px;
}

.logo {
  font-family: var(--font-en);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--white);
  position: relative;
}
.logo::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.logo:hover::after { transform: scaleX(1); }

header nav ul {
  display: flex;
  gap: 40px;
  align-items: center;
}
header nav a {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 4px;
}
header nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
header nav a:hover { color: var(--white); }
header nav a:hover::after { transform: scaleX(1); }

.btn-nav {
  border: 1px solid rgba(200,169,110,0.6) !important;
  padding: 9px 22px !important;
  border-radius: 1px;
  color: var(--accent) !important;
  transition: background 0.25s, color 0.25s !important;
  letter-spacing: 0.14em !important;
}
.btn-nav::after { display: none !important; }
.btn-nav:hover {
  background: var(--accent) !important;
  color: var(--black) !important;
}

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 1px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.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;
  background: rgba(9,31,51,0.98);
  backdrop-filter: blur(16px);
  padding: 20px 0 28px;
  border-top: 1px solid rgba(200,169,110,0.1);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.mobile-nav a {
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.8);
}

/* ===== ヒーロー ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(9,31,51,0.82) 0%, rgba(15,41,66,0.55) 50%, rgba(9,31,51,0.82) 100%);
  z-index: 1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(to left, rgba(200,169,110,0.04), transparent);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-left: 10vw;
  color: var(--white);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.36em;
  color: var(--accent);
  margin-bottom: 28px;
  animation: heroFadeUp 1s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(2.4rem, 4.8vw, 3.6rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.06em;
  margin-bottom: 28px;
  animation: heroFadeUp 1s ease forwards;
  animation-delay: 0.7s;
  opacity: 0;
}

.hero-sub {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 2;
  margin-bottom: 48px;
  letter-spacing: 0.04em;
  animation: heroFadeUp 1s ease forwards;
  animation-delay: 1.1s;
  opacity: 0;
}

.hero-cta { display: flex; gap: 20px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  padding: 16px 36px;
  border-radius: 1px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--black);
}
.btn-primary:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(200,169,110,0.3);
}
.btn-outline {
  border: 1px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.85);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn-full { width: 100%; }

.scroll-indicator {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.3);
  font-family: var(--font-en);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
}
.scroll-indicator span {
  display: block;
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, rgba(200,169,110,0.6), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ===== セクション共通 ===== */
.section { padding: 120px 0; }
.section-dark {
  background: var(--dark);
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--accent);
  margin-bottom: 20px;
}
.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
}
.section-label::after { margin-left: -0.32em; }

.section-desc {
  font-size: 0.9rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.9;
  letter-spacing: 0.03em;
}
.section-dark .section-desc { color: rgba(255,255,255,0.4); }

/* ===== サービス ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 0.8px solid #c5d2de;
  border-left: 0.8px solid #c5d2de;
}

.service-card {
  background: #f4f6f9;
  border-right: 0.8px solid #c5d2de;
  border-bottom: 0.8px solid #c5d2de;
  padding: 44px 36px;
  transition: background 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}
.service-card:hover { background: #f8fafc; }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: 24px;
  opacity: 0.9;
}
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
  color: var(--dark);
}
.service-card p {
  font-size: 0.85rem;
  color: #5a7a99;
  line-height: 1.9;
}

.works-more {
  text-align: center;
  margin-top: 80px;
}
.btn-outline-gold {
  border: 1px solid rgba(200,169,110,0.6);
  color: var(--accent);
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  padding: 16px 48px;
  border-radius: 1px;
  display: inline-block;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.btn-outline-gold:hover {
  background: var(--accent);
  color: var(--black);
  transform: translateY(-2px);
}

/* ===== 実績 ===== */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.06);
}

.work-card {
  background: var(--mid);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.work-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.work-thumb-1 { background: linear-gradient(135deg, #0d1b3e, #1a2f5e); }
.work-thumb-2 { background: linear-gradient(135deg, #0a2a4a, #1a4a7a); }
.work-thumb-3 { background: linear-gradient(135deg, #0f2035, #1c3a5a); }
.work-thumb-4 { background: linear-gradient(135deg, #122a1a, #1e4a2e); }
.work-thumb-5 { background: linear-gradient(135deg, #2a1500, #4a2800); }
.work-thumb-6 { background: linear-gradient(135deg, #0f1a2a, #1a2e46); }

.work-thumb::before {
  content: '▶';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.8rem;
  color: rgba(255,255,255,0.1);
  transition: color 0.3s, transform 0.3s;
}
.work-card:hover .work-thumb::before {
  color: rgba(200,169,110,0.4);
  transform: translate(-50%, -50%) scale(1.2);
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9,31,51,0.9) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}
.work-card:hover .work-overlay { opacity: 1; }

.work-tag {
  font-family: var(--font-en);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  background: none;
  color: var(--accent);
  border: 0.5px solid var(--accent);
  padding: 2px 10px;
  border-radius: 1px;
  white-space: nowrap;
  display: inline-block;
  margin-bottom: 8px;
}

.work-info {
  padding: 16px 20px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.work-info h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

/* ===== 制作の流れ ===== */
.flow-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}

.flow-step {
  flex: 1;
  max-width: 180px;
  text-align: center;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-num {
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 16px;
}

.flow-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--accent);
  opacity: 0.9;
}
.flow-icon svg { width: 100%; height: 100%; }

.flow-step h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: 0.03em;
  line-height: 1.5;
  min-height: 3em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-step p {
  font-size: 0.78rem;
  color: #4a6a88;
  line-height: 1.9;
}

.flow-arrow {
  color: var(--accent);
  font-size: 1.2rem;
  opacity: 0.5;
  padding-top: 101px;
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .flow-grid { flex-wrap: wrap; justify-content: center; gap: 32px; }
  .flow-arrow { display: none; }
  .flow-step { max-width: 140px; }
}

@media (max-width: 640px) {
  .flow-grid { flex-direction: column; align-items: center; }
  .flow-step { max-width: 100%; }
}

/* ===== Chapter2バナー ===== */
.chapter2-banner {
  margin-top: 64px;
  border: 1px solid rgba(200,169,110,0.25);
  border-radius: 2px;
  background: rgba(255,255,255,0.03);
}
.chapter2-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 48px 56px;
  flex-wrap: wrap;
}
.chapter2-label {
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--accent);
  margin-bottom: 10px;
}
.chapter2-text h3 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 12px;
  font-family: var(--font-en);
}
.chapter2-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.9;
  max-width: 620px;
}
.chapter2-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--white);
  background: #ff0000;
  padding: 16px 32px;
  border-radius: 2px;
  white-space: nowrap;
  transition: background 0.25s, transform 0.25s;
  flex-shrink: 0;
}
.chapter2-btn svg { width: 20px; height: 20px; }
.chapter2-btn:hover {
  background: #cc0000;
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .chapter2-inner { padding: 36px 28px; }
  .chapter2-btn { width: 100%; justify-content: center; }
}

/* ===== NEWS ===== */
.news-list {
  max-width: 800px;
  margin: 0 auto;
}
.news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid #dde8f0;
  transition: opacity 0.2s;
}
.news-item:first-child { border-top: 1px solid #dde8f0; }
.news-item:hover { opacity: 0.65; }
.news-item-link {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  text-decoration: none;
  color: inherit;
}
.news-date {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.1em;
  white-space: nowrap;
  width: 110px;
  flex-shrink: 0;
}
.news-tag {
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--black);
  background: var(--accent);
  padding: 3px 10px;
  border-radius: 1px;
  white-space: nowrap;
  width: 90px;
  text-align: center;
  flex-shrink: 0;
  margin-right: 24px;
}
.news-title {
  font-size: 0.9rem;
  color: var(--dark);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .news-item { flex-wrap: wrap; gap: 10px; }
}

/* ===== プロフィール ===== */
.profile-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: center;
}

.profile-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.profile-photo-placeholder {
  width: 100%;
  aspect-ratio: 4/4;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b0c4d8;
  overflow: hidden;
}
.profile-photo-placeholder svg {
  width: 80px;
  height: 80px;
}

.profile-photo img {
  width: 100%;
  aspect-ratio: 4/4;
  object-fit: cover;
}

.profile-name-block {
  text-align: center;
}
.profile-name-en {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent2);
  margin-bottom: 6px;
}
.profile-name {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  color: var(--white);
}
.profile-title {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
  line-height: 1.8;
}

.profile-message {
  padding-top: 8px;
  position: relative;
}
.profile-message p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  line-height: 2.1;
  margin-top: 24px;
  margin-bottom: 0;
}
.profile-strong {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: var(--white) !important;
  letter-spacing: 0.04em;
  margin: 28px 0 !important;
}

@media (max-width: 900px) {
  .profile-layout {
    grid-template-columns: 1fr;
    gap: 48px;
    justify-items: center;
  }
  .profile-photo {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .profile-photo-placeholder {
    width: 100%;
    max-width: 320px;
    flex-shrink: 0;
  }
  .profile-name-block { text-align: center; align-items: center; display: flex; flex-direction: column; width: 100%; }
  .profile-message { width: 100%; overflow-wrap: break-word; word-break: break-all; }
  .profile-message p { font-size: 0.85rem; }
}

/* ===== 会社概要 ===== */
.about-table-wrap { max-width: 720px; margin: 0 auto; }
.about-table { width: 100%; border-collapse: collapse; }
.about-table th,
.about-table td {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.86rem;
  vertical-align: middle;
  text-align: left;
}
.about-table th {
  width: 140px;
  min-width: 140px;
  padding-right: 32px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  font-family: var(--font-jp);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}
.about-table td { color: rgba(255,255,255,0.8); line-height: 1.8; }

/* ===== お問い合わせ ===== */
.contact-layout {
  max-width: 720px;
  margin: 0 auto;
}

.contact-form { display: flex; flex-direction: column; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-group { display: flex; flex-direction: column; gap: 10px; }
.form-group label {
  font-size: 0.78rem;
  font-weight: 500;
  color: #4a6a88;
  letter-spacing: 0.06em;
}
.required { color: var(--accent); }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--white);
  border: 1px solid #ccd8e4;
  border-radius: 1px;
  padding: 14px 18px;
  font-family: var(--font-jp);
  font-size: 0.88rem;
  color: var(--dark);
  transition: border-color 0.25s, background 0.25s;
  outline: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #aabccc; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: #fafcfe;
}
.form-group textarea { resize: vertical; min-height: 130px; }

.form-note {
  font-size: 0.75rem;
  color: var(--gray);
  text-align: center;
  letter-spacing: 0.04em;
}

/* ===== フッター ===== */
.footer { background: var(--black); }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 56px;
  padding-bottom: 56px;
  flex-wrap: wrap;
  gap: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer .logo { font-size: 1.2rem; margin-bottom: 8px; color: var(--white); }
.footer-nav { display: flex; gap: 32px; flex-wrap: wrap; }
.footer-nav a {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--accent); }
.footer-bottom {
  text-align: center;
  padding: 22px 32px;
  font-family: var(--font-en);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.08em;
}

/* ===== フェードイン ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== レスポンシブ ===== */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid    { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { max-width: 100%; }
}

@media (max-width: 640px) {
  .container { padding: 0 24px; }
  .section { padding: 80px 0; }
  .section-header { margin-bottom: 48px; }

  header nav { display: none; }
  .hamburger { display: flex; }

  .hero {
    height: 56.25vw;
    min-height: 320px;
    max-height: 520px;
  }
  .hero-content { margin-left: 24px; margin-right: 24px; padding-top: 80px; }
  .hero-eyebrow { font-size: 0.6rem; }
  .hero h1 { font-size: 1.2rem; line-height: 1.5; margin-bottom: 10px; }
  .hero-sub { font-size: 0.72rem; line-height: 1.7; }

  .services-grid { grid-template-columns: 1fr; }
  .works-grid    { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-nav { gap: 20px; }
}

/* ===== Contact Form 7 スタイル ===== */
.wpcf7-form { display: flex; flex-direction: column; gap: 22px; }
.wpcf7-form p {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}
.wpcf7-form label {
  font-size: 0.78rem;
  font-weight: 500;
  color: #4a6a88;
  letter-spacing: 0.06em;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  background: var(--white);
  border: 1px solid #ccd8e4;
  border-radius: 1px;
  padding: 14px 18px;
  font-family: var(--font-jp);
  font-size: 0.88rem;
  color: var(--dark);
  transition: border-color 0.25s, background 0.25s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
  border-color: var(--accent);
  background: #fafcfe;
}
.wpcf7-form textarea { resize: vertical; min-height: 130px; }
.wpcf7-form .form-group { gap: 6px; }
.wpcf7-form .form-group br { display: none; }
.wpcf7-form .form-group .wpcf7-form-control-wrap { display: block; }
.wpcf7-form abbr[title="required"] { display: none; }
.wpcf7-form input[type="submit"] {
  background: var(--accent);
  color: var(--black);
  border: none;
  padding: 18px;
  font-family: var(--font-jp);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: opacity 0.2s;
  width: 100%;
}
.wpcf7-form input[type="submit"]:hover { opacity: 0.85; }
.wpcf7-not-valid-tip { color: #e05; font-size: 0.75rem; margin-top: 4px; }
.wpcf7-response-output { margin-top: 16px; font-size: 0.85rem; padding: 12px 16px; border-radius: 1px; }
