@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #FFFFFF;
  --text: #1a1a1a;
  --muted: #404040;
  --accent: #D02D2F;
  --accent-bg: rgba(208, 45, 47, 0.07);
  --border: #EBEBEB;
  --light: #F7F7F7;
  --max-w: 1280px;
  --py: 88px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight:500;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  letter-spacing:0.1em;
  font-feature-settings: "palt";
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

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

@media (min-width:881px) {
	.pc {}
	.sp { display: none !important;}
	.br-pc { display: block !important;}
	.br-sp { display: none !important;}
	.aC-pc { text-align: center !important;}
	.aC-sp { text-align: left !important;}
	.mt-1{ margin-top:20px;}
	.mt-2{ margin-top:40px;}
	.mt-3{ margin-top:70px;}
	.mb-1{ margin-bottom:20px;}
	.mb-2{ margin-bottom:40px;}
	.mb-3{ margin-bottom:70px;}
}
@media (max-width: 880px) {
	.pc { display: none !important;}
	.sp {}
	.br-pc { display: none !important;}
	.br-sp { display: block !important;}
	.aC-pc { text-align: left !important;}
	.aC-sp { text-align: center !important;}
	.mt-1{ margin-top:10px;}
	.mt-2{ margin-top:20px;}
	.mt-3{ margin-top:30px;}
	.mb-1{ margin-bottom:10px;}
	.mb-2{ margin-bottom:20px;}
	.mb-3{ margin-bottom:30px;}
}
/* ── Header ── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  /* border-bottom: 1px solid var(--border); */
  height: 72px; display: flex; align-items: center;
}
.header.smaller {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 60px; width: auto; display: block; }
.logo-name { font-size: 20px; font-weight: 800; letter-spacing: 0.04em; line-height: 1.35; white-space: nowrap; }
.logo-mark {
  width: 34px; height: 34px; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; letter-spacing: -0.02em; border-radius: 6px;
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 15px; font-weight: 700; color: var(--text); transition: color .18s; white-space: nowrap; transition:0.3s;}
.nav a:hover, .nav a.active { color: var(--accent); }
.nav a.cta {
  color: var(--accent); background: var(--accent-bg);
  padding: 6px 14px; border-radius: 4px; font-weight: 600;
}
.nav a.cta:hover { background: var(--accent); color: #fff; }

.hamburger { display: none; background: none; border: none; padding: 4px; flex-direction: column; gap: 8px; }
.hamburger span { display: block; width: 30px; height: 2px; background: var(--text); transition: all .3s; border-radius: 1px; }
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-12px) rotate(-45deg); }

.mob-nav {
  display: flex; position: fixed; top: 60px; left: 0; right: 0; z-index: 99;
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 8px 24px 20px; flex-direction: column;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-10px);
  transition: opacity .35s ease, transform .35s ease, visibility .35s;
}
.mob-nav.open {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0);
}
.mob-nav a { font-size: 15px; font-weight: 500; padding: 13px 0; border-bottom: 1px solid var(--border); display: block; }
.mob-nav a:last-child { border-bottom: none; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  height: 60px; padding: 0 28px; font-size: 16px; font-weight: 600;
  border-radius: 4px; transition: all .2s; white-space: nowrap; border: 2px solid transparent;
  min-width:250px;
}
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: #cf4c24; border-color: #cf4c24; }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-sm { height: 38px; padding: 0 18px; font-size: 14px; }
.btn-tel{font-size:21px;font-weight:700;}

/* ── Section base ── */
.section { padding: var(--py) 0; }
.sec-label-l {
  font-size: 22px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 2px; display: block;
}
.sec-label {
  font-size: 16px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 2px; display: block;
}
.sec-title {
  font-size: clamp(32px, 5vw, 56px); font-weight: 900;
  line-height: 1.28; margin-bottom: 20px;
}
.sec-sub { font-size: 15.5px; color: var(--muted); line-height: 1.85; max-width: 840px; }
.sec-head { margin-bottom: 48px; }
.sec-head.center { text-align: center; }
.sec-head.center .sec-sub { margin: 0 auto; }
.mini{font-size:0.8em;}

/* ── Hero ── */
.hero { padding: 50px 0 64px; min-height: calc(100vh - 64px); display: flex; align-items: center; }
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.hero-eyebrow {
  font-size: 16px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 22px; display: block;
}
.hero-title {
  font-size: clamp(60px, 8vw, 110px); font-weight: 900;
  line-height: 1.15; letter-spacing: -.04em; margin-bottom: 10px;
  font-feature-settings: "palt";
  letter-spacing:0.02em;
  
}
.hero-title-sub {
  font-size: clamp(19px, 3vw, 32px); font-weight: 800;
  /* color: var(--muted); */
  letter-spacing: -.025em; margin-bottom: 24px;
  font-feature-settings: "palt";
  letter-spacing:0.08em;

}
.hero-desc { font-size: 14px; color: var(--muted); line-height: 1.9; margin-bottom: 36px; max-width: 460px; }
.hero-btns { display: flex; gap: 20px; flex-wrap: wrap; }

/* ── Hero Logo Animation (Vivus.js) ── */
.hero-logo-anim {
  width: 100%;
  max-width: 620px;
  height: auto;
  display: block;
  margin: 0 auto;
}
/* 描画中：アウトラインのみ表示 */
.hero-logo-anim path {
  fill: none;
  stroke: #231815;
  stroke-width: 1.5;
  fill-opacity: 0;
  transition: fill-opacity 0.5s ease, stroke 0.5s ease, stroke-width 0.5s ease;
}
/* 描画完了後（.doneクラス付与時）：色を塗る */
.hero-logo-anim.done path {
  fill-opacity: 1;
  stroke: none;
}
.hero-logo-anim.done .st0 { fill: #231815; }
.hero-logo-anim.done .st1 { fill: #D02D2F; }
.hero-logo-anim.done .st2 { fill: #007BC5; }
.hero-logo-anim.done .st3 { fill: #009B43; }

/* ── Services grid ── */
.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border); background: var(--border); gap: 1px;
}
.svc-card {
  background: #fff; padding: 32px 28px 28px;
  transition: background .2s; position: relative;
}
.svc-card:hover { background: var(--accent); color:#fff; }
.svc-icon { font-size: 26px; margin-bottom: 16px; line-height: 1; }
.svc-card h3 { font-size: 28px; font-weight: 900; margin-bottom: 8px; }
.svc-card p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 18px; }
.svc-card:hover p { color:#fff !important; }
.svc-link-top { font-size: 14px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 5px; }
.svc-card:hover .svc-link-top { gap: 8px; color:#fff;}
.svc-link { position:relative; font-size: 14px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 5px; }
.svc-link-top::before { content: ''; position: absolute; inset: 0; }


.service_img{
	margin-bottom:15px;
	width:100%;
}
.service_img img{
	width:100%;
}
.svc-card:hover .service_img img{
	filter: brightness(0) invert(1);
}


/* ── AI Pickup ── */
.ai-section { background: var(--light); }
.ai-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.check-list { margin: 24px 0 28px; }
.check-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 16px; line-height: 1.65;
}
.check-item:last-child { border-bottom: none; }
.check-dot {
  width: 20px; height: 20px; background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.check-dot::after {
  content: ''; width: 5px; height: 9px;
  border: 2px solid #fff; border-top: none; border-left: none;
  transform: rotate(45deg) translateY(-1px); display: block;
}
.ai-price-box {
  background: #fff; border: 1px solid var(--border); padding: 22px 24px; margin-bottom: 22px;
}
.ai-price-box h4 {
  font-size: 20px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text); margin-bottom: 14px;
}
.price-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 16px;
}
.price-row:last-child { border-bottom: none; }
.price-row .amount { font-weight: 700; font-size: 16px; }

/* ── Works grid ── */
.works-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.work-card { display: block; }
.work-img-wrap {
  aspect-ratio: 4/3; overflow: hidden; background: var(--light);
}
.work-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s ease; display: block;
}
.work-card:hover .work-img-wrap img { transform: scale(1.06); }
.work-label {
  font-size: 13px; padding: 10px 2px 4px;
  color: var(--text); font-weight: 500; line-height: 1.5;
  display: flex; flex-direction: column; gap: 1px;
}
.work-type { font-size: 12px; color: var(--muted); font-weight: 400; }
.works-more { text-align: center; margin-top: 44px; }

/* ── Pricing ── */
.price-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border); background: var(--border); gap: 1px; margin-bottom: 20px;
}
.price-item { background: #fff; padding: 28px 24px; }
.price-item h3 { font-size: 18px; font-weight: 500; color: var(--muted); margin-bottom: 8px; }
.price-item .big { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.price-item .big small { font-size: 13px; font-weight: 400; color: var(--muted); }
.price-note { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.price-note::before { content: '✓'; color: var(--accent); font-weight: 700; font-size: 15px; }

/* ── Contact ── */
.contact-bg { background: var(--light); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; }
.contact-examples { margin: 20px 0 28px; }
.contact-examples li {
  font-size: 16px; padding: 11px 0; border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 10px;
}
.contact-examples li::before { content: '—'; color: var(--accent); flex-shrink: 0; font-weight: 600; }
.contact-examples li:last-child { border-bottom: none; }
.contact-direct { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.contact-direct a { font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 9px; transition: color .18s; }
.contact-direct a:hover { color: var(--accent); }
.c-icon { width: 32px; height: 32px; border: 1.5px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }

/* ── Form ── */
.form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fgrp { display: flex; flex-direction: column; gap: 6px; }
.fgrp label { font-size: 16px; font-weight: 600; }
.fgrp label .req { color: var(--accent); margin-left: 3px; font-size: 11px; }
.fgrp input, .fgrp textarea, .fgrp select {
  width: 100%; padding: 12px 14px; font-size: 16px; font-family: inherit;
  border: 1px solid var(--border); background: #fff; color: var(--text);
  outline: none; transition: border-color .18s; border-radius: 3px;
  -webkit-appearance: none; appearance: none;
}
.fgrp input:focus, .fgrp textarea:focus { border-color: var(--text); }
.fgrp textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.fgrp.has-error input, .fgrp.has-error textarea { border-color: #e53e3e; }
.fgrp .error-msg { font-size: 12px; color: #e53e3e; margin-top: 2px; }

/* ── Footer ── */
.footer { padding: 52px 0 28px; background: #111; border-top: none; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 48px; margin-bottom: 36px; }
.footer-logo-link { flex-shrink: 0; }
.footer-logo-img { height: 80px; width: auto; display: block; filter: brightness(0) invert(1); }
.footer-logo-inst { width: 36px; height: auto; margin-top:20px; margin-left:24px; display: block; filter: brightness(0) invert(1); }
.footer-right { display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }
.footer-info p { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.7; text-align: right; }
.footer-info a { color: rgba(255,255,255,0.55); transition: color .18s; }
.footer-info a:hover { color: #fff; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: flex-end; }
.footer-nav a { font-size: 13px; color: rgba(255,255,255,0.55); transition: color .18s; }
.footer-nav a:hover { color: #fff; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.35); padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1); }

/* ── Page header ── */
.page-hero { padding: 56px 0 52px; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(36px, 7vw, 84px); font-weight: 900; letter-spacing: .035em; line-height: 1.18; margin-bottom: 14px; }
.page-hero p { font-size: 15.5px; color: var(--muted); line-height: 1.85; max-width: 560px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; padding-bottom: 24px; font-size: 12px; color: var(--muted); }
.breadcrumb a { color: var(--muted); transition: color .18s; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb-sep { opacity: .35; font-size: 10px; }

/* ── Back to top ── */
.btt {
  position: fixed; bottom: 28px; right: 24px; z-index: 50;
  width: 44px; height: 44px; background: var(--text); color: #fff;
  border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 16px; opacity: 0; pointer-events: none; transition: opacity .3s, background .2s;
}
.btt.on { opacity: 1; pointer-events: auto; }
.btt:hover { background: var(--accent); }

/* ── Divider ── */
.hr { height: 1px; background: var(--border); }

/* ── Utility ── */
.text-accent { color: var(--accent); }
.text-muted { color: var(--muted); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mb-40 { margin-bottom: 40px; }

/* ── Table ── */
.info-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.info-table th, .info-table td { padding: 14px 0; border-bottom: 1px solid var(--border); vertical-align: top; text-align: left; }
.info-table th { font-weight: 600; width: 160px; color: var(--muted); padding-right: 24px; white-space: nowrap; }
.info-table td { line-height: 1.75; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }

/* ── Service detail ── */
.svc-detail { padding: 56px 0; border-bottom: 1px solid var(--border); }
.svc-detail:last-child { border-bottom: none; }
.svc-detail-inner { display: grid; grid-template-columns: 250px 1fr; gap: 48px; align-items: start; }
.svc-num { font-size: 64px; font-weight: 700; color: var(--accent); letter-spacing: -.04em; line-height: 1; }
.svc-detail h2 { font-size: 42px; font-weight: 900; letter-spacing: .02em; margin-bottom: 10px; }
.svc-detail p { font-size: 14.5px; color: var(--muted); line-height: 1.85; margin-bottom: 16px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 13px; font-weight: 500; padding: 4px 10px; background: var(--light); border: 1px solid var(--border); border-radius: 2px; }

/* ── Steps ── */
.steps { display: flex; gap: 0; margin: 32px 0; }
.step { flex: 1; padding: 20px 16px; background: var(--light); border-right: 1px solid var(--border); position: relative; }
.step:last-child { border-right: none; }
.step-num { font-size: 16px; font-weight: 700; color: var(--accent); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.step p { font-size: 16px; line-height: 1.6; }
.step p strong{ font-size: 20px; display:block; margin-bottom:10px;}
.step-arrow { position: absolute; right: -10px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 16px; z-index: 1; }

.zeibetsu{font-size:0.8em;}

/* ── Responsive ── */
@media (max-width: 880px) {
  :root { --py: 60px; }
  .header{height:60px;}
  .header-inner{padding: 0 16px;}
  .nav { display: none; }
  .hamburger { display: flex; }
  .hero { min-height: auto; padding: 52px 0 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-eyebrow{font-size:13px;}
  .hero-visual { order: -1; }
  .hero-logo-anim { max-width: 60%; }
  .logo-img { height: 50px; width: auto; display: block; }
  .logo-name { font-size: 15px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-inner { grid-template-columns: 1fr; gap: 40px; }
  .ai-price-box {padding: 20px 20px;}
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 44px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-right { align-items: flex-start; }
  .footer-info p { text-align: left; }
  .footer-nav { justify-content: flex-start; }
  .sec-label-l {
    font-size: 16px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom:2px;
  }
  .sec-label {
    font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom:2px;
  }
  .svc-detail-inner { grid-template-columns: 1fr; gap: 16px; }
  .svc-detail h2 { font-size: 30px; font-weight: 900; letter-spacing: .02em; margin-bottom: 10px; }
  .svc-num { font-size: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .step { border-right: none; border-bottom: 1px solid var(--border); }
  .step:last-child { border-bottom: none; }
  .step-arrow { display: none; }
  .info-table th { width: 100px; white-space: normal; }
  .price-row {
    font-size: 14.5px;
  }
}

@media (max-width: 580px) {
  .svc-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .hero-btns .btn { width: 100%; }
}
