/*
Theme Name: Fujisan Location Original Theme
Version: 2.1.0
Author: OpenAI
Description: 富士山ロケーションサービス向けの直書き安定版オリジナルWordPressテーマ。
*/

:root {
  --bg: #f5f2ea;
  --main: #1f1f1f;
  --accent: #2f4f4f;
  --sub-gray: #d9d2c7;
  --line: rgba(31, 31, 31, 0.08);
  --font-en: "Oswald", sans-serif;
  --font-jp: "Noto Sans JP", sans-serif;
  --transition: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg); color: var(--main); font-family: var(--font-jp); line-height: 1.8; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1440px; margin: 0 auto; padding: 0 4vw; }
.en { font-family: var(--font-en); text-transform: uppercase; letter-spacing: 0.15em; }
.label { display: block; margin-bottom: 2rem; font-size: 0.75rem; font-weight: 700; color: var(--accent); }
section, .fls-section { padding: 180px 0; border-top: 1px solid var(--line); }
h1, h2, h3 { line-height: 1.15; font-weight: 700; }
p { font-weight: 300; letter-spacing: 0.02em; }
header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 30px 4vw; display: flex; justify-content: space-between; align-items: center; background: rgba(245, 242, 234, 0.84); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(31, 31, 31, 0.04); }
.brand { font-family: var(--font-en); font-size: 1.4rem; font-weight: 700; letter-spacing: 0.2em; }
nav { display: flex; gap: 40px; align-items: center; }
nav a { font-size: 0.75rem; font-weight: 700; transition: 0.3s; }
nav a:hover { opacity: 0.5; }
.hero { min-height: 760px; height: 100vh; display: flex; align-items: center; position: relative; border-top: none; }
.hero-visual { position: absolute; top: 12%; right: 4vw; width: 58%; height: 76vh; background: url("https://images.unsplash.com/photo-1549692520-acc6669e2f0c?q=80&w=2000") no-repeat center/cover; filter: grayscale(10%) contrast(1.05); z-index: 1; overflow: hidden; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(245,242,234,0.95) 0%, rgba(245,242,234,0.45) 26%, rgba(0,0,0,0.14) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 820px; }
.hero-content h1 { font-size: 5.5rem; margin-bottom: 36px; }
.hero-content p { max-width: 560px; margin-bottom: 60px; font-size: 1.08rem; font-weight: 400; opacity: 0.85; }
.cta-wrap { display: flex; gap: 24px; flex-wrap: wrap; }
.btn { min-width: 220px; padding: 22px 44px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 2px; transition: var(--transition); text-align: center; font-family: var(--font-en); font-size: 0.9rem; font-weight: 600; }
.btn span { margin-top: 4px; font-family: var(--font-jp); font-size: 0.65rem; font-weight: 400; letter-spacing: 0.04em; opacity: 0.7; }
.btn-dark { background: var(--main); color: #fff; }
.btn-dark:hover { background: var(--accent); transform: translateY(-2px); }
.btn-outline { border: 1px solid var(--main); color: var(--main); background: transparent; }
.btn-outline:hover { background: var(--main); color: #fff; transform: translateY(-2px); }
.trust-strip { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: #fff; white-space: nowrap; }
.trust-move { display: inline-block; animation: marquee 60s linear infinite; font-size: 0.85rem; font-weight: 600; opacity: 0.4; white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.section-title-lg { max-width: 980px; margin-bottom: 80px; font-size: 3.2rem; line-height: 1.2; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 80px; background: var(--line); }
.service-card { padding: 60px 30px; background: var(--bg); transition: background 0.35s ease; }
.service-card:hover { background: #fff; }
.service-card h3 { margin-bottom: 28px; padding-left: 15px; border-left: 3px solid var(--accent); font-family: var(--font-en); font-size: 1.2rem; }
.service-card ul { list-style: none; font-size: 0.85rem; opacity: 0.82; }
.service-card li { margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid rgba(0, 0, 0, 0.035); }
.area-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.map-box { aspect-ratio: 1.2 / 1; position: relative; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(circle at 48% 26%, rgba(47,79,79,0.08), transparent 18%), linear-gradient(180deg, #ece8de 0%, #e5e0d4 100%); }
.map-surface { position: absolute; inset: 10%; }
.map-surface svg { width: 100%; height: 100%; display: block; opacity: 0.8; }
.map-point { position: absolute; display: flex; flex-direction: column; align-items: center; white-space: nowrap; color: var(--accent); font-family: var(--font-en); font-size: 0.65rem; font-weight: 700; }
.map-point::before { content: ""; width: 6px; height: 6px; margin-bottom: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(47, 79, 79, 0.1); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.tag { padding: 6px 14px; border: 1px solid var(--line); background: #fff; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.drone-sec { background: var(--main); color: var(--bg); border-top: none; }
.drone-visual { width: 100%; height: 60vh; margin-bottom: 80px; background: url("https://images.unsplash.com/photo-1501785888041-af3ef285b470?q=80&w=2000") no-repeat center/cover; filter: contrast(1.08) brightness(0.8); }
.drone-content { display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.why-item { position: relative; min-height: 260px; padding: 50px; border: 1px solid var(--line); }
.why-num { position: absolute; top: 20px; right: 30px; opacity: 0.05; font-family: var(--font-en); font-size: 3rem; }
.why-item h3 { margin-bottom: 24px; font-size: 1.4rem; line-height: 1.4; }
.why-item p { font-size: 0.9rem; font-weight: 300; }
.case-wrap { border-top: none; }
.case-study { margin: 100px 0; padding: 120px 80px; background: var(--accent); color: #fff; }
.case-study h2 { font-size: 2rem; line-height: 1.3; }
.case-study blockquote { max-width: 1000px; margin-top: 30px; font-size: 2.1rem; font-weight: 300; line-height: 1.5; }
.works-container { position: relative; }
.work-bg-overlay { position: absolute; inset: 0; z-index: 0; opacity: 0; pointer-events: none; background-size: cover; background-position: center; filter: grayscale(1) contrast(1.12); transition: opacity 0.6s ease; }
.work-bg-overlay::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(245,242,234,0.96) 0%, rgba(245,242,234,0.88) 35%, rgba(245,242,234,0.82) 100%); }
.work-list { position: relative; z-index: 1; }
.work-item { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 48px 0; border-bottom: 1px solid var(--line); transition: var(--transition); overflow: hidden; }
.work-item:hover { padding-left: 24px; color: var(--accent); border-bottom-color: var(--accent); }
.work-item .cat { width: 260px; font-family: var(--font-en); font-size: 0.9rem; opacity: 0.4; }
.work-item .title { flex: 1; font-size: 2.6rem; font-weight: 700; line-height: 1.3; }
.work-item .detail { min-width: 100px; text-align: right; font-family: var(--font-en); font-size: 0.8rem; opacity: 0.45; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
input, select, textarea { width: 100%; margin-bottom: 30px; padding: 20px 0; border: none; border-bottom: 1px solid var(--line); outline: none; background: transparent; border-radius: 0; color: var(--main); font-family: var(--font-jp); font-size: 1rem; transition: 0.3s; }
input:focus, select:focus, textarea:focus { border-bottom-color: var(--accent); }
.submit-btn { width: 100%; margin-top: 40px; border: none; cursor: pointer; }
footer { padding: 100px 4vw 60px; background: var(--main); color: #666; font-size: 0.8rem; }
.footer-logo { display: block; margin-bottom: 40px; color: #fff; font-family: var(--font-en); font-size: 1.8rem; letter-spacing: 0.2em; }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 18px; }
.footer-links a { transition: 0.3s; }
.footer-links a:hover { color: #aaa; }
@media (max-width: 1024px) {
  header { padding: 24px 4vw; }
  nav { gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
  .hero-content h1 { font-size: 3.5rem; }
  .hero-visual { width: 100%; right: 0; opacity: 0.2; }
  .service-grid, .why-grid, .area-layout, .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .drone-content { flex-direction: column; align-items: flex-start; }
  .work-item { flex-direction: column; align-items: flex-start; gap: 12px; }
  .work-item .title { font-size: 1.8rem; }
  .work-item .cat, .work-item .detail { width: auto; min-width: 0; text-align: left; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 640px) {
  section, .fls-section { padding: 120px 0; }
  .hero { min-height: 680px; }
  .hero-content h1 { font-size: 2.8rem; }
  .cta-wrap { flex-direction: column; }
  .btn { width: 100%; }
  .section-title-lg { font-size: 2.2rem !important; }
  .case-study { padding: 70px 28px; }
  .case-study h2 { font-size: 1.4rem; }
  .case-study blockquote { font-size: 1.35rem; }
  .why-item { padding: 36px 28px; }
  .work-item .title { font-size: 1.45rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 24px; }
}
.contact-form-wrap .wpcf7 {
  width: 100%;
}

.contact-form-wrap .wpcf7 form {
  width: 100%;
}

.contact-form-wrap .wpcf7 p {
  margin: 0;
}

.contact-form-wrap .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.contact-form-wrap input,
.contact-form-wrap select,
.contact-form-wrap textarea {
  width: 100%;
  margin-bottom: 30px;
  padding: 20px 0;
  border: none;
  border-bottom: 1px solid var(--line);
  outline: none;
  background: transparent;
  border-radius: 0;
  color: var(--main);
  font-family: var(--font-jp);
  font-size: 1rem;
  transition: 0.3s;
}

.contact-form-wrap input:focus,
.contact-form-wrap select:focus,
.contact-form-wrap textarea:focus {
  border-bottom-color: var(--accent);
}

.contact-form-wrap textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form-wrap .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact-form-wrap .wpcf7-submit {
  width: 100%;
  margin-top: 40px;
  border: none;
  cursor: pointer;
}

.contact-form-wrap .wpcf7-spinner {
  display: block;
  margin-top: 12px;
}

.contact-form-wrap .wpcf7-response-output {
  margin: 20px 0 0 !important;
  padding: 12px 16px !important;
  border: 1px solid var(--line) !important;
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .contact-form-wrap .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}