/* ========================================
   Reset & Base Styles
======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.7;
  color: #343434;
  background: #fff;
  overflow-x: hidden;
  font-size: min(calc(16 / 1080 * 100vw), 16px);
  margin: 0; /* UAデフォルト余白を削除 */
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

iframe {
  width: 100%;
  height: 100%;
  border: none;
  margin: 0;
  padding: 0;
  display: block;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

/* ========================================
   Container
======================================== */
.container {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  container-type: inline-size;
}

.header {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: flex;
  justify-content: center;
}

.header .container {
  position: relative;
}

.header.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.fv, .sec01, .sec02, .sec03, .sec04, .form-transition, .form, .footer {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.header img,
.fv img,
.sec01 img,
.sec02 img,
.sec03 img,
.sec04 img {
  width: 100%;
  display: block;
}

.header-btn {
  position: absolute;
  top: 50%;
  right: 2%;
  transform: translateY(-50%);
  width: 28%;
  height: 80%;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 1.0cqw;
  font-size: 2.6cqw;
  padding: 0 10px;
  line-height: 1.2;
  box-shadow: 0 3px 12px 0 rgba(0, 0, 0, 0.30);
}

.header-marketer-btn {
  background-color: #ce4e6d;
}

.header-dx-btn {
  background: linear-gradient(to right, #614C2E 0%, #A29671 100%);
}

.header-btn span {
  font-size: 4.2cqw;
  line-height: 1.6;
}


.form-transition {
  background: linear-gradient(to right, #4e6467 0%, #86abb1 100%);
  height: 20cqw;
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-transition-dx-btn, .form-transition-marketer-btn {
  width: 65cqw;
  height: 12cqw;
  color: #fff;
  border-radius: 6cqw;
  box-shadow: 0 3px 12px 0 rgba(0, 0, 0, 0.30);
  font-size: 3.0cqw;
  font-style: normal;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.2cqw;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-transition-marketer-btn {
  background-color: #ce4e6d;

}

.form-transition-dx-btn {
  background: linear-gradient(to right, #614C2E 0%, #A29671 100%);
}

.form-transition-dx-btn::after, .form-transition-marketer-btn::after {
  content: "＞";
  position: absolute;
  right: 3cqw;
  font-size: 3cqw;
}

.form-transition-dx-btn:hover {
  opacity: 0.8;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.form-transition-marketer-btn:hover {
  opacity: 0.8;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.form-transition-dx-btn:hover::after, .form-transition-marketer-btn:hover::after {
  margin-left: 18px;
}

.form iframe {
  height: 1800px;
}

.form h2 {
  font-size: 5.5cqw;
  font-weight: 500;
  color: #333;
  margin: 0;
  padding: 1cqw 2cqw;
  border-bottom: 1px solid #000;
}

/* ========================================
   Footer Styles
======================================== */
.footer {
  background: #f5f5f5;
  padding: 1cqw 0;
  text-align: center;
}


.footer-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2cqw;
  margin-bottom: 4cqw;
}

.footer-title-line {
  flex: 1;
  height: 1px;
  background: #333;
  max-width: 15cqw;
}

.footer-title h2 {
  font-size: 2cqw;
  font-weight: 400;
  color: #333;
  white-space: nowrap;
  margin: 0;
}

.footer-logo {
  font-size: 4cqw;
  font-weight: 700;
  color: #333;
  margin-bottom: 3cqw;
  letter-spacing: 0.1cqw;
}

.logo-ai {
  color: #fff;
  background: #0A9FA5;
  padding: 0.2cqw 0.8cqw;
  border-radius: 0.5cqw;
  margin: 0 0.3cqw;
  font-size: 3.5cqw;
}

.provider-label {
  font-size: 1.8cqw;
  color: #666;
}

.provider-name {
  font-size: 3.2cqw;
  color: #333;
}

.privacy-link {
  font-size: 1.6cqw;
  color: #333;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.privacy-link:hover {
  opacity: 0.7;
}

.footer-copyright {
  font-size: 1.4cqw;
  color: #666;
  margin-top: 3cqw;
}

@media screen and (max-width: 450px) {
  .form iframe {
    height: 1880px;
  }
}