*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

:root {
  --header-h: 57px;
}

body {
  margin: 0;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Meiryo", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", "Yu Gothic", sans-serif;
  color: #222;
  background-color: #f6f7fb;
  line-height: 1.75;
}

a {
  color: #2a6df4;
  text-decoration: none;
}

ul {
  list-style: none;
  padding-left: 0;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 18px;
}

.card,
.work,
.form,
.demo-box {
  background: #fff;
}

.card,
.work,
.form {
  -webkit-box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
          box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.site-header {
  border-bottom: 1px solid #e7e7e7;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3000;
}

.site-header__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 14px;
  gap: 12px;
}

.site-title {
  font-weight: 700;
  text-decoration: none;
  color: #222;
  white-space: nowrap;
}

.site-nav {
  display: block;
}
@media (max-width: 759px) {
  .site-nav {
    display: none;
  }
}
.site-nav a {
  text-decoration: none;
  color: #666;
  margin-left: 12px;
  font-size: 14px;
}
.site-nav a:hover {
  color: #222;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #e7e7e7;
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
@media (max-width: 759px) {
  .nav-toggle {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
  }
}

.nav-toggle--header {
  display: none;
  z-index: 3001;
}
@media (max-width: 759px) {
  .nav-toggle--header {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
  }
}

.nav-toggle--drawer {
  position: absolute;
  top: 6px;
  right: 6px;
  opacity: 0;
  visibility: hidden;
  -webkit-transform: translateY(-4px);
          transform: translateY(-4px);
  -webkit-transition: opacity 0.3s ease, visibility 0.3s ease, -webkit-transform 0.3s ease;
  transition: opacity 0.3s ease, visibility 0.3s ease, -webkit-transform 0.3s ease;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, -webkit-transform 0.3s ease;
}

.drawer.is-open .nav-toggle--drawer {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

.nav-toggle__icon {
  width: 18px;
  height: 14px;
  position: relative;
  display: inline-block;
}
.nav-toggle__icon::before,
.nav-toggle__icon span, .nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #222;
  border-radius: 2px;
  -webkit-transition: top 0.3s ease, opacity 0.3s ease, -webkit-transform 0.3s ease;
  transition: top 0.3s ease, opacity 0.3s ease, -webkit-transform 0.3s ease;
  transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease;
  transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease, -webkit-transform 0.3s ease;
}
.nav-toggle__icon::before {
  top: 0;
}
.nav-toggle__icon span {
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
.nav-toggle__icon::after {
  top: 100%;
  -webkit-transform: translateY(-100%);
          transform: translateY(-100%);
}

.nav-toggle[aria-expanded=true] .nav-toggle__icon span {
  opacity: 0;
}

.nav-toggle[aria-expanded=true] .nav-toggle__icon::before {
  top: 50%;
  -webkit-transform: translateY(-50%) rotate(45deg);
          transform: translateY(-50%) rotate(45deg);
}

.nav-toggle[aria-expanded=true] .nav-toggle__icon::after {
  top: 50%;
  -webkit-transform: translateY(-50%) rotate(-45deg);
          transform: translateY(-50%) rotate(-45deg);
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: #fff;
  border-left: 1px solid #e7e7e7;
  padding: 14px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-transform: translateX(100%);
          transform: translateX(100%);
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.drawer.is-open .drawer__panel {
  -webkit-transform: translateX(0);
          transform: translateX(0);
}

.drawer__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e7e7e7;
  margin-bottom: 10px;
  min-height: 58px;
}

.drawer__title {
  font-weight: 800;
}

.drawer__close {
  border: 1px solid #e7e7e7;
  background: #fff;
  color: #222;
  border-radius: 10px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  position: relative;
  z-index: 2;
}

.drawer__nav {
  display: grid;
  gap: 8px;
}

.drawer__link {
  display: block;
  padding: 12px 10px;
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  color: #222;
  text-decoration: none;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.drawer__link:hover {
  background: #f7f8fb;
}

body.is-locked {
  overflow: hidden;
}

main {
  padding: calc(28px + var(--header-h)) 0 40px;
}
@media (max-width: 759px) {
  main {
    padding: calc(12px + var(--header-h)) 0 24px;
  }
}

section {
  background: transparent;
  padding: 34px 0;
  border-bottom: 1px solid #e7e7e7;
}
@media (max-width: 759px) {
  section {
    padding: 20px 0;
  }
}
section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.card ul,
.work__summary ul,
.spec-list,
.usecase-list,
.contact-checklist {
  padding-left: 3px;
}

.services li,
.work__summary li,
.usecase-list li,
.spec-list li,
.contact-checklist li {
  position: relative;
  padding-left: 14px;
}

.services li::before,
.work__summary li::before,
.usecase-list li::before,
.spec-list li::before,
.contact-checklist li::before {
  content: "-";
  position: absolute;
  left: 0;
  top: 0.05em;
  color: #bbb;
}

h1 {
  font-size: 28px;
  line-height: 1.35;
  margin: 0 0 10px;
  font-weight: 800;
}

h2,
h3,
h4 {
  font-weight: 700;
}

h2 {
  font-size: 20px;
  margin: 0 0 14px;
}

h3 {
  font-size: 16px;
  margin: 0 0 8px;
}

h4 {
  margin: 16px 0;
}
@media (max-width: 759px) {
  h4 {
    margin: 4px 0;
  }
}

.hero p {
  margin: 0 0 12px;
  line-height: 1.6;
}

.muted {
  color: #666;
  font-size: 14px;
}

.btn {
  display: inline-block;
  background: #2a6df4;
  color: #fff;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
}
.btn:hover {
  opacity: 0.92;
}

.services h2 + .muted {
  line-height: 1.4;
}

.cards {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: 12px;
}
@media (max-width: 759px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.card {
  border: 1px solid #e7e7e7;
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}
.card h3 {
  line-height: 1.4;
}
.card ul {
  margin: 8px 0 0;
}
.card li {
  line-height: 1.4;
}

.price {
  margin-top: 14px;
  font-weight: 600;
}

.days {
  margin-top: 4px;
  font-size: 14px;
  color: #666;
  font-weight: 400;
}

.services-muted {
  margin-top: 14px;
}

.work {
  border: 1px solid #e7e7e7;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
}
.work + .work {
  margin-top: 14px;
}

.work__summary {
  margin-top: 10px;
  padding: 12px 14px;
  background: #f9fafb;
  border: 1px solid #e7e7e7;
  border-radius: 8px;
  font-size: 14px;
}
.work__summary ul {
  margin: 0;
}
.work__summary li {
  margin-bottom: 6px;
}
.work__summary strong {
  font-weight: 600;
}

.work__block {
  background: #fff;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #e7e7e7;
  border-radius: 10px;
}
.work__block h4 {
  margin: 10px 0 8px;
}
@media (max-width: 759px) {
  .work__block h4 {
    margin: 12px 0 10px;
  }
}
.work__block p {
  line-height: 1.4;
}
@media (max-width: 759px) {
  .work__block p {
    line-height: 1.5;
  }
}

.usecase-list {
  margin: 8px 0 0;
  font-size: 14px;
  color: #222;
}
.usecase-list li {
  margin-bottom: 6px;
}

.spec-list {
  margin: 8px 0 0;
  font-size: 14px;
  color: #222;
}
.spec-list li {
  margin-bottom: 6px;
}

.spec-note {
  margin-top: 8px;
  font-size: 13px;
  color: #666;
}
.spec-note p {
  margin: 0 0 4px;
}

.demo-box {
  border: 1px dashed #e9ecef;
  border-radius: 10px;
  padding: 20px;
  background: #f8f9fa;
  margin-top: 8px;
}
@media (max-width: 759px) {
  .demo-box {
    padding: 12px;
  }
}

.input-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 18px;
  margin-top: 10px;
}
@media (max-width: 759px) {
  .input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
  }
}
.input-row select,
.input-row input,
.input-row button {
  width: 120px;
  height: 52px;
}
@media (max-width: 759px) {
  .input-row select,
  .input-row input,
  .input-row button {
    width: 100%;
    height: 48px;
  }
}
.input-row select,
.input-row input {
  font-size: 18px;
}

.era-select {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  padding: 8px 32px;
  font-size: 16px;
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%234a90e2%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%209l6%206%206-6%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  cursor: pointer;
  text-align: center;
}
.era-select:focus {
  outline: none;
  border: 2px solid #245fcc;
}

.year-field {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 6px;
}
@media (max-width: 759px) {
  .year-field {
    grid-column: 2/3;
  }
}

.era-year-input {
  font-size: 18px;
  text-align: center;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.wareki-suffix {
  color: #666;
  white-space: nowrap;
}

.btn-copy,
.btn-reset {
  background: #2a6df4;
  color: #fff;
  border: none;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 400;
  font-size: 18px;
}
.btn-copy:hover,
.btn-reset:hover {
  opacity: 0.92;
}

.btn-copy {
  margin-left: 60px;
}
@media (max-width: 759px) {
  .btn-copy {
    margin-left: 0;
  }
}

.btn-reset {
  background: #e74c3c;
}

.result-row {
  margin-top: 24px;
  position: relative;
}
.result-row.is-copied .badge {
  opacity: 1;
  visibility: visible;
  background: #f39c12;
}

@media (max-width: 759px) {
  .era-select {
    grid-column: 1/2;
  }
  .era-year-input {
    grid-column: 2/3;
  }
  .wareki-suffix {
    grid-column: 2/3;
    align-self: center;
    justify-self: start;
    margin-left: 6px;
  }
  .btn-copy {
    grid-column: 1/2;
    margin-left: 0;
  }
  .btn-reset {
    grid-column: 2/3;
  }
}
.badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: #f39c12;
  color: white;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 6px;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.result-display {
  width: 100%;
  height: 52px;
  padding: 15px 10px;
  font-family: "Consolas", "Monaco", "Courier New", sans-serif;
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.1em;
  color: #2c3e50;
  background-color: #f0f7ff;
  border: 1px solid #4a90e2;
  border-radius: 12px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  outline: none;
  -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
          box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
  cursor: default;
}
@media (max-width: 759px) {
  .result-display {
    font-size: 20px;
  }
}

.click-copy {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 20px;
}

.click-copy__label {
  font-size: 14px;
  color: #7f8c8d;
}

.copy-card {
  width: 100%;
  padding: 24px 20px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  background: #f8fbff;
  border: 1px solid #a5c8ed;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  text-align: left;
  word-break: break-word;
}
@media (max-width: 759px) {
  .copy-card {
    padding: 10px 8px;
  }
}
.copy-card:hover {
  border-color: #4a90e2;
}
.copy-card.is-copied {
  background-color: #fff9f0 !important;
  border-color: #f39c12 !important;
}
.copy-card.is-copied .copy-text {
  color: #784a00;
}
.copy-card.is-copied .badge {
  opacity: 1;
  visibility: visible;
  background: #f39c12;
}

.copy-text {
  margin: 0;
  font-size: 16px;
  color: #34495e;
  line-height: 1.5;
}
@media (max-width: 759px) {
  .copy-text {
    height: 96px;
  }
}
.copy-text:active {
  -webkit-transform: scale(0.98);
          transform: scale(0.98);
  background-color: #f9fbff;
}

.paste-area {
  width: 100%;
  height: 176px;
  padding: 15px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  font-size: 16px;
  color: #34495e;
  resize: vertical;
  outline: none;
  -webkit-transition: border-color 0.3s;
  transition: border-color 0.3s;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}
@media (max-width: 759px) {
  .paste-area {
    height: 320px;
  }
}
.paste-area::-webkit-input-placeholder {
  color: #95a5a6;
}
.paste-area::-moz-placeholder {
  color: #95a5a6;
}
.paste-area:-ms-input-placeholder {
  color: #95a5a6;
}
.paste-area::-ms-input-placeholder {
  color: #95a5a6;
}
.paste-area::placeholder {
  color: #95a5a6;
}
.paste-area:focus {
  border-color: #4a90e2;
}

.about p {
  line-height: 1.4;
}
@media (max-width: 759px) {
  .about p {
    line-height: 1.5;
  }
}

.contact {
  scroll-margin-top: 57px;
}

.contact-lead p {
  line-height: 1.4;
}
@media (max-width: 759px) {
  .contact-lead p {
    line-height: 1.5;
  }
}

.contact-hint {
  margin-top: 20px;
  padding: 14px;
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  background: #f9fafb;
}
.contact-hint h3 {
  font-size: 15px;
  margin: 0 0 8px;
}

.contact-checklist {
  margin: 0 0 8px;
  font-size: 14px;
}
.contact-checklist li {
  margin-bottom: 6px;
}

.form {
  border: 1px solid #e7e7e7;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
  margin-top: 12px;
}

.form-group {
  margin-top: 12px;
}

label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
}

input,
textarea {
  width: 100%;
  font-size: 16px;
  padding: 10px 12px;
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  background: #fff;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

button {
  border: none;
  background: #2a6df4;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
}
button:hover {
  opacity: 0.92;
}

.form-actions {
  margin-top: 14px;
}

.form-muted {
  margin-top: 10px;
}

.site-footer {
  border-top: 1px solid #e7e7e7;
  padding: 18px 0;
  color: #666;
  font-size: 13px;
}

.footer-muted {
  margin-top: 8px;
}

.thanks {
  padding: 34px 0;
}

.thanks-container {
  max-width: 720px;
  padding: 40px 18px;
}

.thanks-card {
  border: 1px solid #e7e7e7;
  border-radius: 12px;
  padding: 18px;
  background: #fff;
}

.thanks-title {
  font-size: 22px;
  margin: 0 0 10px;
  line-height: 1.35;
}

.thanks-block {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e7e7e7;
}

.thanks-subtitle {
  font-size: 15px;
  margin: 0 0 8px;
}

.thanks-steps,
.thanks-notes {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
}
.thanks-steps li,
.thanks-notes li {
  margin-bottom: 6px;
}

.thanks-actions {
  margin-top: 14px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.btn-sub {
  background: transparent;
  color: #2a6df4;
  border: 1px solid #2a6df4;
}