@charset "UTF-8";

:root {
  --orange: #ed741f;
  --deep: #d85d0c;
  --ink: #22252b;
  --sub: #636873;
  --line: #e7e8ea;
  --paper: #fff;
  --soft: #fff8f2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Meiryo, "メイリオ", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.wrap {
  width: min(1080px, calc(100% - 48px));
  margin: auto;
}

/* ヘッダー */
header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.brand-logo {
  width: min(200px, 28vw);
  height: auto;
}

.head-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.head-nav a.nav-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  transition: color .2s;
}

.head-nav a.nav-link:hover {
  color: var(--orange);
}

.head-contact {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 99px;
  padding: 10px 20px;
  white-space: nowrap;
  box-shadow: 0 4px 12px #ed741f22;
  transition: all .2s;
}

.head-contact:hover {
  background: var(--deep);
  border-color: var(--deep);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(124deg, #fff 25%, #fff9f4 100%);
}

.hero:after {
  content: "";
  position: absolute;
  right: -170px;
  top: -245px;
  width: 650px;
  height: 650px;
  border: 110px solid rgba(244, 117, 32, .065);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  padding: 80px 0 90px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.eyebrow:before {
  content: "";
  display: block;
  height: 2px;
  width: 27px;
  background: var(--orange);
}

h1 {
  font-size: clamp(30px, 4.3vw, 52px);
  letter-spacing: .025em;
  line-height: 1.45;
  margin: 24px 0 23px;
  font-weight: 850;
}

h1 em {
  font-style: normal;
  color: var(--orange);
}

.hero-desc {
  color: var(--sub);
  font-size: 16px;
  line-height: 2.05;
  margin: 0 0 35px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--orange);
  color: white;
  border-radius: 6px;
  padding: 17px 28px;
  font-weight: 750;
  font-size: 15px;
  box-shadow: 0 9px 22px #ed741f23;
  transition: background .2s, transform .2s;
}

.cta:hover {
  background: var(--deep);
  transform: translateY(-2px);
}

.cta .arrow {
  font-size: 21px;
  line-height: 0;
  transition: transform .2s;
}

.cta:hover .arrow {
  transform: translateX(4px);
}

.mail-lead {
  margin-top: 16px;
  color: var(--sub);
  font-size: 13px;
  line-height: 1.8;
}

/* 事業内容 */
section.services {
  padding: 86px 0 97px;
}

.section-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--deep);
  letter-spacing: .18em;
  margin: 0 0 12px;
}

h2 {
  font-size: 29px;
  line-height: 1.45;
  margin: 0 0 11px;
  letter-spacing: .03em;
}

.section-lead {
  color: var(--sub);
  font-size: 14px;
  line-height: 1.9;
  margin: 0 0 33px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service {
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 193px;
  padding: 28px 22px 24px;
  background: white;
  transition: all .25s ease;
}

.service:hover {
  border-color: #f2c5a5;
  box-shadow: 0 12px 28px #22252b0a;
  transform: translateY(-4px);
}

.service-icon {
  height: 48px;
  width: 48px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--soft);
  color: var(--orange);
  margin-bottom: 20px;
}

.service-icon svg {
  height: 24px;
  width: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service h3 {
  font-size: 16px;
  letter-spacing: .01em;
  margin: 0 0 10px;
}

.service p {
  margin: 0;
  color: var(--sub);
  font-size: 13px;
  line-height: 1.8;
}

/* 会社概要 */
.company {
  background: #f8f9fa;
  padding: 83px 0 88px;
}

.company-panel {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  align-items: start;
  gap: 60px;
}

.company-info {
  margin: 0;
  border-top: 1px solid #dedfe1;
}

.info-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid #dedfe1;
  font-size: 14px;
  line-height: 1.7;
}

dt {
  color: var(--sub);
}

dd {
  margin: 0;
  font-weight: 650;
}

/* お問い合わせ */
.contact {
  padding: 85px 0 95px;
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 65px;
}

.contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.contact-card p {
  margin: 0 0 10px;
  line-height: 1.8;
  color: var(--sub);
}

.contact-card .form-guide {
  font-size: 20px;
  font-weight: 800;
  color: var(--deep);
  line-height: 1.6;
}

.contact-card .phone-note {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed #e7c2a9;
}

.contact-form label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin: 0 0 8px;
}

.contact-form input:not([type=checkbox]),
.contact-form textarea {
  display: block;
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #cfd3d8;
  border-radius: 6px;
  background: #fff;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px #ed741f30;
}

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

.field {
  margin-bottom: 21px;
}

.required {
  font-size: 11px;
  color: var(--deep);
  margin-left: 8px;
  background: #fde8dc;
  padding: 2px 6px;
  border-radius: 4px;
}

.form-note {
  font-size: 12px;
  line-height: 1.8;
  color: var(--sub);
  margin-bottom: 19px;
}

.form-alert {
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 600;
}

.form-alert.error {
  background: #fff0ed;
  color: #962b18;
  border: 1px solid #f9c5bc;
}

.form-alert.success {
  background: #eaf8f0;
  color: #175a34;
  border: 1px solid #bcead0;
}

.form-alert ul {
  margin: 5px 0 0;
  padding-left: 20px;
}

/* スパム対策ボットフィールド用スタイル */
.bot-field {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
  height: 0 !important;
  width: 0 !important;
}

.send-button {
  border: 0;
  cursor: pointer;
  font: inherit;
  width: 100%;
}

/* フッター */
footer {
  background: #27292d;
  color: #fff;
  padding: 32px 0;
}

.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.foot-name {
  font-size: 13px;
  font-weight: 700;
}

.copyright {
  color: #b1b4bb;
  font-size: 11px;
}

/* レスポンシブ */
@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 36px, 560px);
  }
  .header-inner {
    min-height: 70px;
    padding: 10px 0;
  }
  .head-nav .nav-link {
    display: none;
  }
  .brand-logo {
    width: min(160px, 40vw);
  }
  .head-contact {
    padding: 9px 14px;
    font-size: 12px;
  }
  .hero-inner {
    padding: 60px 0 70px;
  }
  .hero-desc {
    font-size: 14px;
  }
  .company-panel {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .contact {
    padding: 67px 0 75px;
  }
  section.services {
    padding: 69px 0 75px;
  }
  .company {
    padding: 67px 0 75px;
  }
  h2 {
    font-size: 25px;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: 28px;
  }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .info-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .foot-inner {
    display: block;
    text-align: center;
  }
  .copyright {
    margin-top: 8px;
    display: block;
  }
}