* {
  box-sizing: border-box;
}
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  height: 100%;
  margin: 0;
  color: #111;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a {
  text-decoration: none;
  color: inherit;
}

h2,
h3,
h4,
h5,
h6,
p,
ul {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
}

h1{
  margin-bottom: 30px;
}
 
.Header {
  height: 70px;
  width: 100%;
  padding: 0 24px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid #ccc;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  background: #fff;
}

.header-lastImg {
  justify-self: start;
  display: flex;
  align-items: center;
  height: 100%;
}

.Header img {
  width: 110px;
  height: auto;
  max-height: 55px;
  object-fit: contain;
  display: block;
}

.header-ul {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 1.4rem;
  font-weight: 500;
  color: #111;
  grid-column: 2;
}

.header-ul li {
  display: flex;
}

.header-ul a {
  padding: 6px 12px;
  border-radius: 999px;
  transition: background 0.2s ease;
  white-space: nowrap;
}
.header-ul a:hover {
  background: #f0f2f5;
  cursor: pointer;
}

.header-phone {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  grid-column: 3;
}

.header-phone p {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #111;
  white-space: nowrap;
}

.header-call {
  display: block;
  text-align: center;
  border-right: 1px solid black;
  padding-right: 10px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding-left: 10px;
}
.header-cta:hover {
  opacity: 0.9;
}

.header-cta-img {
  width: 130px;
  height: 50px;
  object-fit: contain;
  display: block;
}

.menu-btn {
  display: none;
  border: none;
  background: transparent;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 0;
  justify-self: center;
  grid-column: 2;
}
.menu-btn:hover {
  background: #f0f2f5;
}
.menu-btn .bar {
  width: 22px;
  height: 2px;
  background: #111;
  border-radius: 999px;
  display: block;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}
.mobile-nav.show {
  display: block;
}
.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(300px, 85vw);
  background: #fff;
  padding: 16px 14px;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
}
.mobile-nav.show .mobile-nav-panel {
  transform: translateX(0);
}
.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e7eb;
}
.mobile-nav-close {
  border: none;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  color: #111;
}
.mobile-nav-close:hover {
  background: #f3f4f6;
}
.mobile-nav-list {
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav-list a {
  display: block;
  padding: 12px 10px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
}
.mobile-nav-list a:hover {
  background: #f0f2f5;
}


.info {
  padding-top: 160px;
  width: 80%;
  margin: 0 auto;
  text-align: center;
}
.info-top-alig {
  line-height: 1.3;
}
.info-top-font {
  margin: 50px;
  margin-top: 0;
  font-size: 24px;
}
.info-top {
  border: 1px solid #ccc;
  border-bottom: none;
  color: #666;
  background: #f9f9f9;
  text-align: left;
  padding: 30px;
  line-height: 2;
}

.agree-bar {
  border: 1px solid #ccc;
  background: #fff;
  padding: 18px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.agree-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  color: #333;
  user-select: none;
  cursor: pointer;
}
.agree-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.agree-box {
  width: 18px;
  height: 18px;
  border: 2px solid #777;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  flex: 0 0 auto;
}
.agree-check input[type="checkbox"]:checked + .agree-box {
  border-color: #111;
  background: #111;
}
.agree-check input[type="checkbox"]:checked + .agree-box::after {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  margin-top: -1px;
}

.info-bottom {
  width: 80%;
  margin: 0 auto;
  text-align: left;
}
.info-object {
  display: flex;
  width: 100%;
  font-size: 24px;
  margin: 30px 0;
  gap: 30px;
}
.info-object > div {
  flex: 1;
}
.info-object input {
  padding: 30px;
  width: 100%;
  font-size: 24px;
  outline: none;
}
.info-object2 {
  width: 100%;
  font-size: 24px;
  margin: 30px 0;
}
.info-object2 input {
  outline: none;
  padding: 30px;
  width: 100%;
  font-size: 24px;
}
.info-title {
  border-bottom: 1px solid black;
  margin: 30px 0;
  padding: 20px 0;
  font-size: 24px;
}

.spam {
  border-bottom: 1px solid #ccc;
  width: 100%;
  padding: 30px 0;
}
.spam-dis {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}
.spam-last {
  display: flex;
  align-items: center;
  gap: 30px;
}
.spam-last input {
  outline: none;
  padding: 15px;
  width: 250px;
}
.spam-img {
  font-size: 24px;
}
.spam p {
  color: red;
}

#captchaImage {
  display: block;
  width: 100%;
  height: 50px;
  object-fit: contain;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  user-select: none;
}

.last-button {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
.last-button button {
  width: 300px;
  font-size: 24px;
  padding: 30px;
  border-radius: 15px;
  border: none;
  background-color: #111;
  color: white;
  box-shadow: 0 0 10px #ccc;
  margin: 30px 0;
  cursor: pointer;
}
.last-button button:hover {
  background-color: #3c3c3c;
  transition: 0.5s;
}
.last-button button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;
}
.modal.show {
  display: flex;
}
.modal-card {
  width: min(520px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 18px 18px 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.modal-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.modal-card p {
  margin: 0;
  line-height: 1.6;
  white-space: pre-wrap;
}
.modal-actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
}
.modal-actions button {
  border: none;
  padding: 10px 14px;
  border-radius: 10px;
  background: #111;
  color: #fff;
  cursor: pointer;
}
.modal-actions button:hover {
  opacity: 0.92;
}

:root {
  --wrap: 1100px;
}

.info,
.info-bottom {
  width: min(92%, var(--wrap));
}

.last {
  display: flex;
  width: 100%;
  justify-content: space-around;
  padding: 75px 20px;
  background-color: #f5f5f5;
  box-sizing: border-box;
  align-items: center;
  font-size: 14px;
  margin-top: auto;
  flex-shrink: 0;
}

.footer-pc {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  gap: 40px;
}

.last img {
  width: 230px;
}

.last-font {
  line-height: 20px;
}

.last-link {
  display: flex;
  flex-wrap: wrap;
  font-size: 15px;
  margin-bottom: 0.5rem;
  gap: 2px;
}
.last-link li {
  padding: 0 10px;
  border-right: 1px solid #ccc;
}
.last-link li:first-child {
  padding-left: 0;
}
.last-link li:last-child {
  border-right: none;
}
.last-link a {
  color: #111;
  text-decoration: none;
  font-size: 14px;
}
.last-link a:hover {
  text-decoration: underline;
}

.info-wrap {
  display: flex;
  gap: 43px;
  flex-wrap: wrap;
}
.info-wrap ul {
  display: flex;
  flex-direction: column;
  gap: 5px;
  line-height: 1.6;
  margin-bottom: 10px;
  color: #111;
  font-size: 13px;
}


.last-p {
  margin-top: 15px;
  font-size: 14px;
  color: #111;
}

.last li{
  color: #111;
}

.footer-inner {
  display: none;
}

@media (max-width: 768px) {
  .info {
    padding-top: 110px;
  }

  .Header {
    grid-template-columns: 1fr auto auto;
    padding: 0 14px;
    gap: 8px;
  }
  .header-ul {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
    justify-self: end;
  }
  .header-phone .header-call {
    display: none;
  }
  .header-cta img {
    width: 110px;
    height: 44px;
    padding-left: 0;
  }
  .Header img {
    width: 96px;
  }

  .last {
    display: block;
    padding: 32px 20px;
    background-color: #f5f5f7;
    border-top: 1px solid #d2d2d7;
  }


  .footer-pc {
    display: none;
  }


  .footer-inner {
    display: block;
    padding: 0 20px;
  }

  .footer-accordion-wrap {
    display: flex;
    flex-direction: column;
  }

  .footer-group {
    border-bottom: 1px solid #d2d2d7;
  }
  .footer-group:first-child {
    border-top: 1px solid #d2d2d7;
  }
  .last img {
    width: 130px;
  }
  .footer-group-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
    text-align: left;
  }

  .footer-arrow {
    font-size: 12px;
    color: #6e6e73;
    transition: transform 0.25s ease;
    display: inline-block;
  }
  .footer-group.open .footer-arrow {
    transform: rotate(180deg);
  }

  .footer-group-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .footer-group.open .footer-group-list {
    max-height: 300px;
  }
  .footer-group-list li {
    padding: 10px 0;
    font-size: 13px;
    color: #6e6e73;
  }
  .footer-group-list a {
    color: #6e6e73;
    text-decoration: none;
    font-size: 13px;
  }
  .footer-group-list a:hover {
    color: #1d1d1f;
  }

  .footer-bottom {
    border-top: 1px solid #d2d2d7;
    padding: 16px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .footer-bottom p {
    font-size: 11px;
    color: #6e6e73;
    margin: 0;
    line-height: 1.6;
  }
  .footer-copy {
    margin-top: 6px !important;
    color: #1d1d1f !important;
    font-weight: 500;
  }


}

.info-top-font {
  font-size: clamp(16px, 3.6vw, 24px);
  margin: 28px 0;
}

.info-top {
  padding: clamp(16px, 3.8vw, 30px);
  line-height: 1.7;
  font-size: clamp(12px, 2.8vw, 16px);
}

.agree-bar {
  padding: 14px 14px;
}
.agree-check {
  font-size: clamp(14px, 3.2vw, 18px);
}

.info-object {
  gap: 14px;
}
@media (max-width: 768px) {
  .info-object {
    flex-direction: column;
    margin: 18px 0;
    font-size: 16px;
  }
}

.info-title {
  font-size: clamp(16px, 3.6vw, 24px);
}

.info-object,
.info-object2 {
  font-size: clamp(14px, 3.2vw, 20px);
}

.info-object input,
.info-object2 input {
  padding: clamp(14px, 3.6vw, 28px);
  font-size: clamp(14px, 3.2vw, 20px);
}

@media (max-width: 768px) {
  .spam-dis {
    flex-direction: column;
    gap: 12px;
  }
  .spam-last {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .spam-last input {
    width: 100%;
  }
  #captchaImage {
    width: 160px;
    height: 54px;
  }
}

.last-button button {
  width: min(320px, 100%);
  font-size: clamp(14px, 3.2vw, 20px);
  padding: clamp(14px, 3.6vw, 28px);
}

.modal-card {
  padding: 16px;
}
.modal-card h3 {
  font-size: clamp(16px, 3.4vw, 18px);
}
.modal-card p {
  font-size: clamp(14px, 3vw, 16px);
}



@media (max-width: 960px) {
  .header-call {
    display: none;
  }
  .header-cta {
    height: 44px;
    padding-left: 0;
  }
  .header-cta-img {
    width: 100px;
    height: 44px;
  }
  .sidebar {
    width: 180px;
    min-width: 180px;
  }
  .main {
    padding: 24px 24px;
  }
}

@media (max-width: 768px) {
  .Header {
    grid-template-columns: auto 1fr auto;
    padding: 0 14px;
    height: 56px;
  }
  .header-ul {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
    justify-self: center;
  }
  .header-cta-img {
    width: 80px;
    height: 36px;
    display: block;
  }
  .header-call {
    display: none;
  }

  .sidebar {
    display: none !important;
  }
  .hoho {
    flex-direction: column;
    align-items: stretch;
    margin-top: 56px;
  }

  .mobile-api-tabs {
    display: block;
    position: sticky;
    top: 40px;
    z-index: 100;
    background: #fff;
    border-bottom: 2px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }
  .mobile-api-tabs-label {
    padding: 20px 16px 0;
    font-size: 11px;
    font-weight: 700;
    color: #888;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .mobile-api-tabs-scroll {
    display: flex;
    overflow-x: auto;
    padding: 8px 12px 10px;
    gap: 6px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .mobile-api-tabs-scroll::-webkit-scrollbar {
    display: none;
  }
  .mobile-api-tab {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    background: #f0f2f5;
    border: 1px solid transparent;
    cursor: pointer;
    transition:
      background 0.2s,
      color 0.2s,
      border-color 0.2s;
    text-decoration: none;
    flex-shrink: 0;
  }
  .mobile-api-tab:hover {
    background: #e0eeff;
    color: #1a8cff;
  }
  .mobile-api-tab.active {
    background: #1a8cff;
    color: #fff;
    border-color: #1a8cff;
    font-weight: 600;
  }

  .main {
    padding: 20px 14px;
    border-left: none;
  }
  .section > h1 {
    font-size: clamp(1.1rem, 5vw, 1.4rem);
  }
  .iteam-btn h3 {
    font-size: clamp(0.8rem, 3.2vw, 0.9rem);
  }
  .enter-content p {
    font-size: clamp(0.75rem, 2.8vw, 0.85rem);
  }


  .last {
    display: block;
    padding: 32px 20px;
    background-color: #f5f5f7;
    border-top: 1px solid #d2d2d7;
  }


  .footer-pc {
    display: none;
  }

  
  .footer-inner {
    display: block;
    padding: 0 20px;
  }

  .footer-accordion-wrap {
    display: flex;
    flex-direction: column;
  }

  .footer-group {
    border-bottom: 1px solid #d2d2d7;
  }
  .footer-group:first-child {
    border-top: 1px solid #d2d2d7;
  }
  .last img {
    width: 130px;
  }
  .footer-group-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
    text-align: left;
  }

  .footer-arrow {
    font-size: 12px;
    color: #6e6e73;
    transition: transform 0.25s ease;
    display: inline-block;
  }
  .footer-group.open .footer-arrow {
    transform: rotate(180deg);
  }

  .footer-group-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .footer-group.open .footer-group-list {
    max-height: 300px;
  }
  .footer-group-list li {
    padding: 10px 0;
    font-size: 13px;
    color: #6e6e73;
  }
  .footer-group-list a {
    color: #6e6e73;
    text-decoration: none;
    font-size: 13px;
  }
  .footer-group-list a:hover {
    color: #1d1d1f;
  }

  .footer-bottom {
    border-top: 1px solid #d2d2d7;
    padding: 16px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .footer-bottom p {
    font-size: 11px;
    color: #6e6e73;
    margin: 0;
    line-height: 1.6;
  }
  .footer-copy {
    margin-top: 6px !important;
    color: #1d1d1f !important;
    font-weight: 500;
  }
  
  .br-mobile{
    display: block;
  }
}

@media (max-width: 480px) {
  .Header {
    height: 52px;
    padding: 0 12px;
  }
  .Header img {
    width: 90px;
  }
  .mobile-api-tab {
    font-size: 12px;
    padding: 6px 12px;
  }
  .main {
    padding: 16px 12px;
  }
  .group-header span {
    font-size: 11px;
  }
  .iteam-btn {
    padding: 10px 14px;
  }

  .br-425{
    display: block;
  }

  html, body{
    word-break: keep-all;
  }
}

@media (max-width: 360px) {
  html {
    font-size: 14px;
  }
  .Header {
    height: 48px;
    padding: 0 10px;
  }
  .Header img {
    width: 78px;
  }
  .mobile-api-tab {
    font-size: 11px;
    padding: 5px 10px;
  }
}

@media (min-width: 601px) and (max-width: 905px) {
  .Header {
    grid-template-columns: 1fr auto 1fr;
  }
  .header-ul {
    display: none !important;
  }
  .menu-btn {
    display: flex !important;
    justify-self: center;
  }
  .header-call {
    display: none;
  }
}

@media (max-width: 767px) {
  .page {
    padding-top: 56px;
  }
  .Header {
    grid-template-columns: 1fr auto 1fr;
    padding: 0 14px;
    height: 56px;
  }
  .header-ul {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
    justify-self: center;
  }
  .header-cta-img {
    width: 80px;
    height: 36px;
  }
  .header-call {
    display: none;
  }
}

@media (max-width: 1024px) {
  .header-call {
    display: none;
  }
}

.scroll-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 10px 22px;
  border: 1.5px solid #ccc;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.scroll-top-btn:hover {
  background: #111;
  color: #fff;
  border-color: #111;
  transform: translateY(-2px);
}
.scroll-top-btn--mobile {
  width: 100%;
  justify-content: center;
  margin-top: 14px;
  font-size: 14px;
}