:root {
  font-family:
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    sans-serif;
  color: #112e23;
  background: #fcf7ed;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
body,
figure,
h1,
h2,
h3,
p {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}

.tomotti {
  --ink: #112e23;
  --muted: #41574a;
  --cream: #fcf7ed;
  --rule: #d5d4c4;
  --green: #154731;
  --mint: #dceee0;
  --peach: #ffc697;
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-height: 1.55;
}

.tomotti a {
  color: inherit;
  text-underline-offset: 0.18em;
}
.tomotti a:focus-visible,
.tomotti button:focus-visible,
.tomotti input:focus-visible,
.tomotti select:focus-visible {
  outline: 3px solid #b54916;
  outline-offset: 3px;
}
.tomotti-wrap {
  width: min(1140px, calc(100% - 64px));
  margin-inline: auto;
}
.tomotti-header,
.tomotti-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.tomotti-header {
  min-height: 71px;
  border-bottom: 1px solid #a5b2a5;
}
.tomotti-wordmark,
.tomotti-home,
.tomotti-footer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 750;
  text-decoration: none;
}
.tomotti-wordmark {
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.tomotti-wordmark svg {
  width: 25px;
}
.tomotti-wordmark span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.tomotti-home,
.tomotti-footer a {
  font-size: 14px;
}
.tomotti-home:hover,
.tomotti-footer a:hover {
  text-decoration: underline;
}
.tomotti-home svg,
.tomotti-footer svg {
  width: 16px;
  height: 16px;
}

.tomotti-hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: clamp(22px, 5vw, 72px);
  padding-block: clamp(46px, 6vw, 84px);
}
.tomotti h1,
.tomotti h2 {
  letter-spacing: -0.045em;
  line-height: 1.13;
  font-weight: 860;
}
.tomotti h1 {
  font-size: clamp(2.2rem, 5.25vw, 4.65rem);
}
.tomotti h2 {
  font-size: clamp(1.6rem, 3.35vw, 2.42rem);
}
.tomotti-hero p {
  margin-block: 24px 27px;
  max-width: 25em;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}
.tomotti .tomotti-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 22px;
  border: 0;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 780;
  cursor: pointer;
}
.tomotti .tomotti-button:hover {
  background: #0e3625;
}
.tomotti .tomotti-button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.tomotti-button svg {
  width: 19px;
  height: 19px;
  flex: none;
}

.tomotti-diagram {
  border: 1px solid #e9d5b8;
  border-radius: 22px;
  background: #fbedd7;
  overflow: hidden;
}
.tomotti-stall {
  position: relative;
  aspect-ratio: 1.45;
  container-type: inline-size;
  background: linear-gradient(to top, #f4dcb6 19%, transparent 19%);
}
.tomotti-awning {
  position: absolute;
  inset: 9% 7% auto;
  display: flex;
  height: 17%;
  filter: drop-shadow(0 6px 0 #e6c69c);
}
.tomotti-awning span {
  flex: 1;
  background: #f39150;
  border-radius: 0 0 42% 42%;
}
.tomotti-awning span:nth-child(even) {
  background: #ffcb83;
}
.tomotti-awning span:first-child {
  border-top-left-radius: 12px;
}
.tomotti-awning span:last-child {
  border-top-right-radius: 12px;
}
.tomotti-menu {
  position: absolute;
  left: 10%;
  bottom: 12%;
  width: 34%;
  padding: 2.3%;
  border: 0.9cqw solid #a36a3f;
  border-radius: 3cqw;
  transform: rotate(-6deg);
  background: #fffaf0;
  box-shadow: 0.9cqw 1.1cqw #ca9a60;
  text-align: center;
  font-size: 3.2cqw;
}
.tomotti-menu-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1cqw;
  margin-top: 1cqw;
}
.tomotti-menu-items span {
  display: grid;
  place-items: center;
  gap: 0.25cqw;
  padding-block: 0.8cqw;
  border: 1px solid #d7d6b8;
  border-radius: 1.4cqw;
  background: #fff3db;
  font-size: 2.55cqw;
  font-weight: 700;
}
.tomotti-reader {
  position: absolute;
  display: grid;
  place-items: center;
  bottom: 24%;
  left: 48%;
  width: 22%;
  height: 24%;
  border-radius: 2.8cqw;
  background: #253e36;
  color: #fff9eb;
  transform: rotate(-13deg);
  box-shadow: 0 1.3cqw #132b23;
}
.tomotti-reader svg {
  width: 6cqw;
  height: 6cqw;
}
.tomotti-nfc-card {
  position: absolute;
  bottom: 12%;
  left: 43%;
  display: inline-flex;
  align-items: end;
  justify-content: space-between;
  width: 21%;
  height: 19%;
  padding: 1.7%;
  border-radius: 2cqw;
  background: #f5a062;
  color: #40250f;
  box-shadow: 0 0.7cqw #a95832;
  transform: rotate(-17deg);
  font-size: 3cqw;
  font-weight: 900;
}
.tomotti-nfc-card svg {
  align-self: start;
  width: 4cqw;
  height: 4cqw;
}
.tomotti-diagram-phone {
  position: absolute;
  right: 9%;
  bottom: 14%;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 1.1cqw;
  width: 24%;
  height: 51%;
  border: 1.5cqw solid #253e36;
  border-radius: 4cqw;
  background: #e4f2df;
  transform: rotate(9deg);
  box-shadow: 0.8cqw 0.8cqw #a1a98e;
  font-size: 2.9cqw;
}
.tomotti-diagram-phone svg {
  width: 8cqw;
  height: 8cqw;
  border-radius: 50%;
  background: #256b45;
  color: white;
  padding: 1.45cqw;
}
.tomotti-diagram figcaption {
  padding: 10px 8px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
}
.tomotti-diagram figcaption span {
  margin-inline: 2px;
}

.tomotti-equipment {
  padding-block: 26px 48px;
  border-top: 1px solid var(--rule);
}
.tomotti-equipment-list,
.tomotti-flow ol {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}
.tomotti-equipment-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tomotti-equipment-list li {
  display: flex;
  gap: 13px;
  align-items: start;
}
.tomotti-equipment-list li + li {
  padding-left: 24px;
  border-left: 1px solid var(--rule);
}
.tomotti h3 {
  font-size: 1.13rem;
  line-height: 1.3;
  font-weight: 800;
}
.tomotti-equipment p,
.tomotti-flow p {
  margin-top: 7px;
  color: var(--muted);
}
.tomotti-equipment-icon,
.tomotti-step-icon {
  display: grid;
  place-items: center;
  flex: none;
}
.tomotti-equipment-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--peach);
  color: #512711;
}
.tomotti-equipment-icon svg,
.tomotti-step-icon svg {
  width: 22px;
  height: 22px;
}
.tomotti-equipment-list li:nth-child(2) .tomotti-equipment-icon {
  background: #eae3c9;
  color: var(--ink);
}
.tomotti-equipment-list li:nth-child(3) .tomotti-equipment-icon {
  background: var(--mint);
  color: var(--green);
}

.tomotti-flow {
  margin-bottom: 58px;
}
.tomotti-flow ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 18px;
  background: var(--mint);
  padding: 25px 14px;
}
.tomotti-flow li {
  position: relative;
  padding-inline: 18px;
}
.tomotti-step-icon {
  width: 41px;
  height: 41px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: #f9fdf7;
}
.tomotti-step-arrow {
  position: absolute;
  top: 10px;
  left: calc(100% - 8px);
  width: 16px;
  height: 16px;
  color: #386449;
}
.tomotti-flow li p {
  font-size: 0.95rem;
}
.tomotti-evidence {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 28px;
  align-items: center;
  margin-top: 26px;
  padding: 19px 24px;
  border: 1px solid var(--rule);
  border-radius: 16px;
}
.tomotti-evidence h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tomotti-evidence h3 svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.tomotti-evidence img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 9px;
  border: 1px solid #dfe7e5;
}
.tomotti-evidence figcaption {
  margin-top: 5px;
  color: var(--muted);
  text-align: center;
  font-size: 0.78rem;
}

.tomotti-interest {
  padding-block: clamp(34px, 6vw, 68px);
  background: var(--green);
  color: #fff9ed;
}
.tomotti-interest-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}
.tomotti-interest h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}
.tomotti-interest-copy p {
  margin-top: 17px;
  max-width: 26em;
  color: #ebf3e8;
  font-size: 1.05rem;
}
.tomotti-interest-copy strong {
  color: #ffce9f;
}
.tomotti-form-panel {
  background: var(--cream);
  color: var(--ink);
  padding: clamp(18px, 4vw, 33px);
  border-radius: 20px;
}
.tomotti-form-panel h3 {
  font-size: 1.44rem;
  letter-spacing: -0.035em;
}
.tomotti-form-fields {
  min-width: 0;
  margin: 18px 0 0;
  padding: 0;
  border: 0;
}
.tomotti-form-fields legend,
.tomotti-contact-row label {
  font-size: 0.9rem;
  font-weight: 750;
}
.tomotti-form-fields legend {
  padding: 0;
}
.tomotti-roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 7px;
}
.tomotti-roles label,
.tomotti-consent label {
  display: flex;
  align-items: start;
  gap: 8px;
  cursor: pointer;
  font-weight: 750;
}
.tomotti-roles label {
  align-items: center;
  min-height: 46px;
  padding: 7px 10px;
  border: 1px solid #9caa9d;
  border-radius: 9px;
  background: #fffefa;
}
.tomotti-roles label:has(:checked) {
  background: var(--mint);
  border-color: var(--green);
}
.tomotti input[type="radio"],
.tomotti input[type="checkbox"] {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--green);
}
.tomotti-contact-row {
  display: grid;
  grid-template-columns: minmax(105px, 0.45fr) minmax(0, 1fr);
  gap: 10px;
  margin-top: 15px;
}
.tomotti-contact-row input,
.tomotti-contact-row select {
  display: block;
  width: 100%;
  min-height: 45px;
  padding: 7px 9px;
  margin-top: 5px;
  border: 1px solid #9caa9d;
  border-radius: 8px;
  background: #fffefa;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
}
.tomotti-field-note {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
}
.tomotti-consent {
  margin-block: 15px;
  padding: 12px;
  border-radius: 9px;
  background: #f1eddf;
  font-size: 0.85rem;
}
.tomotti-consent p {
  color: var(--muted);
}
.tomotti-consent label {
  margin-top: 9px;
  padding-block: 5px;
}
.tomotti-consent input {
  margin-top: 2px;
}
.tomotti-form-fields button {
  width: 100%;
}
.tomotti-error,
.tomotti-success {
  margin-top: 12px;
  padding: 10px 13px;
  border-radius: 9px;
}
.tomotti-error {
  color: #891e12;
  background: #fce8df;
  font-weight: 650;
}
.tomotti-success {
  display: flex;
  gap: 10px;
  background: var(--mint);
  color: var(--green);
}
.tomotti-success svg {
  width: 24px;
  height: 24px;
  flex: none;
}
.tomotti-success p {
  margin-top: 4px;
}
.tomotti-footer {
  min-height: 68px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

@media (max-width: 820px) {
  .tomotti-wrap {
    width: calc(100% - 40px);
  }
  .tomotti-equipment-list {
    gap: 15px;
  }
  .tomotti-equipment-list li {
    display: block;
  }
  .tomotti-equipment-list li + li {
    padding-left: 15px;
  }
  .tomotti-equipment-icon {
    margin-bottom: 8px;
  }
}

@media (max-width: 640px) {
  .tomotti-header {
    min-height: 57px;
  }
  .tomotti-wordmark {
    font-size: 22px;
  }
  .tomotti-wordmark svg {
    width: 21px;
  }
  .tomotti-hero,
  .tomotti-interest-layout,
  .tomotti-evidence {
    grid-template-columns: 1fr;
  }
  .tomotti-hero {
    gap: 28px;
    padding-block: 37px;
  }
  .tomotti-hero p {
    margin-block: 13px 18px;
  }
  .tomotti-equipment {
    padding-bottom: 34px;
  }
  .tomotti-equipment-list {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 16px;
  }
  .tomotti-equipment-list li {
    display: flex;
  }
  .tomotti-equipment-list li + li {
    padding: 12px 0 0;
    border: 0;
    border-top: 1px solid var(--rule);
  }
  .tomotti-flow {
    margin-bottom: 38px;
  }
  .tomotti-flow ol {
    grid-template-columns: 1fr;
    padding: 10px 15px;
    margin-top: 15px;
  }
  .tomotti-flow li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 12px;
    align-items: center;
    padding: 11px 0;
  }
  .tomotti-flow li + li {
    border-top: 1px solid #b9d1be;
  }
  .tomotti-flow li p {
    grid-column: 2;
    margin: 0;
  }
  .tomotti-step-icon {
    grid-row: span 2;
    margin: 0;
  }
  .tomotti-step-arrow {
    display: none;
  }
  .tomotti-evidence {
    gap: 14px;
    padding: 15px;
    margin-top: 17px;
  }
  .tomotti-interest-layout {
    gap: 24px;
  }
}

@media (max-width: 360px) {
  .tomotti-wrap {
    width: calc(100% - 32px);
  }
  .tomotti-contact-row {
    grid-template-columns: 1fr;
  }
}

.tomotti-wordmark img { display: block; width: 130px; height: auto; }
