* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

details > summary {
  list-style: none;
}

details > summary::-webkit-details-marker {
  display: none;
}

details[open] .faq-plus {
  transform: rotate(45deg);
}

.site-shell {
  font-family: "Noto Sans JP", sans-serif;
  color: #23303a;
  background: #fbfaf7;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.cta-primary:hover {
  background: #c85f42 !important;
  transform: translateY(-1px);
}

.cta-line:hover {
  background: #05b14d !important;
  transform: translateY(-1px);
}

.cta-ghost:hover {
  background: #eef4f7 !important;
}

.work-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(28, 61, 82, 0.10) !important;
}

.nav-link:hover {
  color: #c85f42 !important;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  padding: clamp(22px, 3vw, 30px);
  box-shadow: 0 18px 50px rgba(8, 25, 36, 0.26);
}

.contact-form-head {
  padding-bottom: 14px;
  border-bottom: 1px solid #e9eef1;
}

.contact-form-head > div {
  color: #16313f;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.35;
}

.contact-form-head p {
  margin: 7px 0 0;
  color: #5d6c77;
  font-size: 13.5px;
  line-height: 1.7;
}

.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.contact-form label > span {
  color: #1c3d52;
  font-size: 13px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d8e2e8;
  border-radius: 12px;
  background: #f8fafb;
  color: #16313f;
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  background: #fff;
  border-color: #f0a48c;
  box-shadow: 0 0 0 4px rgba(224, 117, 85, 0.18);
}

.contact-consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px !important;
}

.contact-consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 5px;
  accent-color: #e07555;
}

.contact-submit {
  min-height: 54px;
  border: 0;
  border-radius: 14px;
  background: #e07555;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(224, 117, 85, 0.32);
  transition: background .15s ease, transform .15s ease;
}

.contact-submit:hover {
  background: #c85f42;
  transform: translateY(-1px);
}

.contact-status {
  min-height: 1.7em;
  margin: -2px 0 0;
  color: #c85f42;
  font-size: 13.5px;
}

.contact-side {
  display: grid;
  gap: 14px;
}

.line-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.07));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 18px 42px rgba(8, 25, 36, 0.18);
}

.line-card-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(6, 199, 85, 0.16);
  color: #9bf2bd;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.line-card-title {
  margin-top: 14px;
  color: #fff;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.45;
}

.line-card p {
  margin: 10px 0 18px;
  color: #c3d2db;
  font-size: 13.5px;
  line-height: 1.8;
  text-align: left;
}

.line-qr-wrap {
  width: min(100%, 210px);
  margin: 0 auto;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(8, 25, 36, 0.18);
}

.line-qr-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.area-layout {
  min-width: 0;
}

.area-panel {
  background: #f3f7f9;
  border: 1px solid #e1e9ed;
  border-radius: 20px;
  padding: clamp(22px, 3vw, 30px);
}

.area-panel-head {
  padding-bottom: 18px;
  border-bottom: 1px solid #dce6eb;
}

.area-panel-head > div {
  color: #16313f;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.4;
}

.area-panel-head p {
  margin: 7px 0 0;
  color: #5d6c77;
  font-size: 13.5px;
  line-height: 1.8;
}

.area-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.area-group {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  border: 1px solid #e2ebef;
  border-radius: 14px;
  background: #fff;
}

.area-group h3 {
  margin: 0;
  color: #c85f42;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.7;
  white-space: nowrap;
}

.area-group p {
  margin: 0;
  color: #3a4954;
  font-size: 13.5px;
  line-height: 1.9;
}

@keyframes floatBadge {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes drift1 {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 22px -26px;
  }
}

@keyframes drift2 {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: -28px 18px;
  }
}

@keyframes drift3 {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 16px 24px;
  }
}

@media (max-width: 560px) {
  .site-shell header a:last-child {
    padding: 9px 13px !important;
    font-size: 12.5px !important;
  }

  .site-shell h1 br {
    display: none;
  }
}

@media (max-width: 760px) {
  .contact-layout,
  .contact-form-row,
  .area-layout {
    grid-template-columns: 1fr;
  }

  .area-group {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
