/* Layout */
.max-w-lg {
  max-width: 32rem; /* = 512px */
}

.max-w-80 {
  max-width: 320px;
}

footer img {
  aspect-ratio: auto;
  width: 100%;
  object-fit: contain;
}

/* 區塊padding設定 */
.main-section {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 3rem; /* 48px */
  padding-bottom: 3rem;

  padding-left: 1.25rem; /* 20px */
  padding-right: 1.25rem;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 顏色區塊-背景 */
.main-bg-color {
  background: var(--main);
}
.second-bg-color {
  background: var(--second);
}
.third-bg-color {
  background: var(--third);
}

/* 顏色區塊-文字 */
.main-text-color {
  color: var(--main);
}
.second-text-color {
  color: var(--accent-1);
}
.third-text-color {
  color: var(--accent-2);
}
.primary-text-color {
  color: var(--text-primary);
}
.secondary-text-color {
  color: var(--text-secondary);
}

.text-white {
  color: white;
}

/* 複用 */
.hidden {
  display: none;
}

.font-light {
  font-weight: 200;
}
.font-bold {
  font-weight: 700;
}

.form-line {
  border: 1px dashed #a9abae;
}

.form .input-disable {
  background-color: rgba(255, 255, 255, 0.4);
  width: 100%;
  border-radius: 0.25rem; /*  4px */
  border: 1px solid var(--second);
  padding: 1rem 1.5rem;
  font-size: 18px;
}

.font-normal {
  font-weight: normal;
}

.leading-6 {
  line-height: 1.5rem; /* 24px */
}

.text-sm {
  font-size: 0.875rem; /* 14px */
  line-height: 1.25rem; /* 20px*/
}

.text-lg {
  font-size: 1.125rem; /* 18px */
  line-height: 1.75rem; /* 28px */
}

.text-xl {
  font-size: 1.25rem; /* 20px */
  line-height: 1.75rem; /* 28px */
}

.space-y-2 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /*  8px */
}

.space-y-3 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem; /* 12px */
}

.space-y-4 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem; /*  20px */
}

.space-y-20 {
  display: flex;
  flex-direction: column;
  gap: 5rem; /* 80px */
}

.w-full {
  width: 100%;
}

.flex-1 {
  flex: 1;
}

.divider-dashed > :not(:last-child) {
  border-top: 0;
  border-bottom: 1px dashed black;
}

.py-10 {
  padding-top: 2.5rem; /* 40px */
  padding-bottom: 2.5rem;
}

.pb-10 {
  padding-bottom: 2.5rem;
}

.space-y-5 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem; /* 20px */
}

.space-y-10 {
  display: flex;
  flex-direction: column;
  gap: 2.5rem; /* 40px */
}

.text-center {
  text-align: center;
}

.space-y-14 {
  display: flex;
  flex-direction: column;
  gap: 3.5rem; /* 56px */
}

/* 複用組件 */
.form-sidebar {
  width: 100%;
  max-width: 200px;
}

.warning-text {
  width: fit-content;
  border: 1px solid #ef4444;
  border-radius: 9999px;
  padding: 0.25rem 0.5rem;
  color: #ef4444;
  font-weight: 700;
}

/* 底線 */
.link-underline {
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  color: var(--main);
  position: relative;
}

.link-underline::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 0.125rem; /* 2px */
  width: 0;
  background-color: var(--main);
  transition: width 0.5s ease;
}
.link-underline:hover::after {
  width: 100%;
}

.underline-group {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}

.header-underline {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background-color: var(--main);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease-in-out;
}

/* hover 動畫 */
.underline-group:hover .header-underline {
  transform: scaleX(1);
  transform-origin: left;
}

/* active 狀態 */
.underline-group.active .header-underline {
  transform: scaleX(1);
}

/* 主要連結按鈕 */
/* 外層按鈕 */
.btn-link {
  width: 100%; /* w-full */
  padding-left: 1.5rem; /* px-6 */
  padding-right: 1.5rem;
  padding-top: 0.5rem; /* py-2 */
  padding-bottom: 0.5rem;
  border: 2px solid var(--main);
  background-color: var(--main); /* main-bg-color */
  border-radius: 9999px; /* rounded-full */
  position: relative;
  display: flex;
  overflow: hidden; /* overflow-hidden */
  z-index: 1;
  text-decoration: none;
  display: block;
}

/* 背景動畫區塊 */
.btn-bg {
  position: absolute;
  inset: 0;
  width: 0;
  height: 100%;
  background: #fff;
  z-index: 0;
  transition: width 0.5s ease;
}

/* 內容區 */
.btn-content {
  display: flex;
  gap: 2.5rem; /* 40px */
  align-items: center;
  justify-content: center;
  margin-inline: auto;
}

.a-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: var(--main);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 20;
  border: 1px solid #fff;
}

/* SVG */
.a-svg-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #fff;
  transition: all 0.5s ease;
}

/* 按鈕文字 */
.btn-text {
  color: #fff;
  font-size: 1.25rem; /* md:text-xl */
  letter-spacing: 0.1em; /* tracking-wider */
  font-weight: 500;
  transition: color 0.5s ease;
  position: relative;
  z-index: 2;
}

/* 按鈕hover效果 */
.btn-link:hover .btn-bg {
  width: 100%;
}

.btn-link:hover .btn-text {
  color: var(--main, #ff6100);
}

.btn-link:hover .a-svg-icon {
  width: 4rem;
  height: 4rem;
  color: #fff; /* text-white */
  transition: all 0.5s ease; /* transition-all duration-500 */
}

/* 主要大標題區塊 */
.main-title {
  font-size: 1.875rem; /* 30px */
  line-height: 1.625;
  font-weight: 700;
}
.sub-title {
  font-size: 1.125rem; /*  18px */
  line-height: 1.625;
  font-weight: 700;
}

/* header區塊 */
header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 40;
  background: #fff;
  padding-left: 1rem; /* 16px */
  padding-right: 1rem;
}

.header-container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 1.25rem; /* 20px */
  padding-right: 1.25rem;
  position: relative;
  z-index: 10;
}

.logo-link {
  display: block;
  width: 100%;
  max-width: 10rem; /* 160px */
}

.logo-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  gap: 2.5rem; /* 40px */
  list-style: none;
}

.header-a-active {
  text-decoration: none;
  position: relative;
  color: var(--main); /* 主色 */
}

.header-a {
  text-decoration: none;
  position: relative;
  transition: all 0.5s;
  color: black;
}

.header-a:hover {
  text-decoration: none;
  position: relative;
  transition: all 0.5s;
  color: var(--main); /* 主色 */
}

.hamburger {
  position: relative;
  width: 28px;
  height: 10px;
  cursor: pointer;
  z-index: 99;
}

/* 線條 */
.line {
  width: 100%;
  height: 2px;
  background: #000;
  transition: all 0.5s;
}

/* 預設位置 */
.line.top {
  position: absolute;
  left: 0;
  top: 0;
}
.line.bottom {
  position: absolute;
  left: 0;
  bottom: 0;
}

/* 展開狀態 */
.rotate-down {
  top: 50% !important;
  transform: translateY(-50%) rotate(45deg);
  background: var(--main);
}

.rotate-up {
  bottom: 50% !important;
  transform: translateY(50%) rotate(-45deg);
  background: var(--main);
}

/* 手機版 nav*/
.nav-mobile {
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  display: flex;
  justify-content: flex-end;
  z-index: 50;
}

.overlay-dark {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7);
}

.nav-mobile ul {
  text-decoration: none;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.5rem; /* 40px */
  padding-left: 1.25rem; /* 20px */
  padding-right: 1.25rem;
  padding-top: 10rem; /* 160px */
  padding-bottom: 10rem;
  width: 66.6667%; /* w-2/3 */
  background-color: #fff;
  height: 100%;
  z-index: 10;
}

/* 頁尾 */
footer {
  padding-left: 1.25rem; /*  20px */
  padding-right: 1.25rem;
  background-color: var(--third);
  color: #fff;
  width: 100%;
}

footer form {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 1.25rem;
}

footer form .input-block {
  display: flex;
  gap: 1.25rem; /*20px */
  align-items: flex-end;
}

.footer-form-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem; /* gap-5 */
  align-items: start;
}

.footer-form-block input {
  flex: 1;
  background-color: black;
  padding: 12px;
  border-radius: 0.25rem;
}

footer .info-area {
  padding-top: 2.5rem; /* py-10 = 40px */
  padding-bottom: 2.5rem;
  display: flex; /* flex */
  flex-direction: column; /* flex-col = 預設直向排列 */
  max-width: 1536px; /* max-w-screen-2xl */
  margin-left: auto; /* mx-auto → 水平置中 */
  margin-right: auto;
  gap: 5rem; /* gap-20 = 80px */
  border-top: 1px solid #fff;
}

footer a {
  text-decoration: none;
  display: block;
  color: white;
}

footer .text-hover:hover {
  color: var(--main);
  transition: all 0.5s ease;
}

footer .right-block {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
}

.right-block .title {
  padding-bottom: 1.25rem; /* pb-5 = 20px */
  border-bottom: 1px solid #fff;
}

.right-block .flex-block {
  display: flex;
  gap: 8px;
}

.right-block .svg-box-area {
  display: flex;
  gap: 20px;
}

.right-block .svg-box-area svg {
  width: 36px;
  transition: all 0.5s ease;
  fill: white;
}

.right-block .svg-box-area svg:hover {
  fill: var(--main);
}

.btn-submit {
  border-radius: 0.25rem;
  border: 1px solid var(--second);
  background-color: rgba(var(--main-rgb), 0.8);
  padding: 0.75rem 1.5rem; /* py-3 = 12px, px-6 = 24px */
  cursor: pointer;
  transition: all 0.5s ease;
}

.btn-submit:hover {
  color: #fff;
  background-color: var(--main);
}

/* 首頁頁面區塊 */
.home-page-main {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  gap: 3.5rem; /* 56px */
  padding-bottom: 10rem;
}

.home-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: var(--main);
}

.home-banner-title {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding-left: 1rem;
  width: 100%;
  color: #fff;
}

.home-banner-title h1 {
  font-size: 1rem;
  font-weight: 700;
}

.home-banner-title .second-title {
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  width: 100%;
}
.home-banner-title .second-title span {
  font-size: 1rem;
  font-weight: 700;
}

.home-banner img {
  aspect-ratio: 1920 / 743;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

/* 首頁－關於我們區塊 */
.about-section {
  display: flex;
  flex-direction: column;
  gap: 2.5rem; /* 40px */
  align-items: flex-end;
}

.about-section .left-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2.5rem; /* 40px */
}

.about-section h2 {
  font-size: 1.875rem; /* 30px */
  line-height: 2.25rem; /* 36px */
  font-weight: 700;
  color: var(--main);
}

/* 裝飾線 highlight-bar */
.highlight-bar {
  position: relative;
  width: 20rem;
  height: 4rem;
  color: var(--gray-600);
}

.highlight-bar::before,
.highlight-bar::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

/* 條狀漸層 */
.highlight-bar::before {
  left: 0;
  width: 90%;
  height: 4rem;
}

/* 圓點 */
.highlight-bar::after {
  left: 80%;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
}

/* 橘色 */
.highlight-bar.first::before {
  background: linear-gradient(to right, var(--main-light), var(--main-mid));
}
.highlight-bar.first::after {
  background: var(--main);
}

/* 強調色1*/
.highlight-bar.second::before {
  background: linear-gradient(
    to right,
    var(--accent-1-a10),
    var(--accent-1-a70)
  );
}
.highlight-bar.second::after {
  background: var(--accent-1);
}

/* 強調色2*/
.highlight-bar.third::before {
  background: linear-gradient(
    to right,
    var(--accent-2-a10),
    var(--accent-2-a70)
  );
}
.highlight-bar.third::after {
  background: var(--accent-2);
}

.intro-area ul {
  list-style-position: inside;
}

.intro-title {
  font-size: 1.875rem; /* 30px */
  line-height: 2.25rem; /* 36px */
  font-weight: 700;
}

/* 域名申請區塊 */
.registration-slogan {
  max-width: 1280px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem; /* 8px */
}

.logo-box {
  width: 100%;
  max-width: 5rem; /* 80px */
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  aspect-ratio: auto;
  display: block;
}

.registration-slogan p {
  padding-top: 1rem;
  line-height: 0;
}

.slogan-des {
  font-size: 1.25rem; /*  20px */
  line-height: 1.75rem; /* 28px */
  text-align: center;
  letter-spacing: 0.05em;
}

.org-grid {
  display: grid;
  grid-template-columns: 1fr; /* 預設 1 欄 */
  gap: 5rem; /* gap-20 = 80px */
}

.org-grid .card {
  text-decoration: none;
  display: block;
  position: relative;
  transition: all 0.5s ease;
  display: flex;
  flex-direction: column;
  gap: 1.25rem; /* 20px */
  color: #000;
}

/* hover 時文字變主色 */
.org-grid .card:hover {
  color: var(--main, #ff6100);
}

.registry-logo {
  width: 100%;
  max-width: 20rem; /* 320px */
}

.registry-logo img {
  aspect-ratio: 320 / 155;
  width: 100%;
  object-fit: cover;
}

.other-des ul {
  list-style-position: inside;
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* 8px */
}

/* 域名註冊方案 */
.flow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem; /* 16px */
}

/* 每個步驟 */
.flow-steps .step {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-height: 10rem; /* h-40 */
}

/* apply 流程圖示 */
/* 外圈 */
.flow-steps .circle {
  width: 2.75rem; /* w-11 */
  height: 2.75rem; /* h-11 */
  border-radius: 50%;
  background: #e0e0e0; /* second-bg-color */
  border: 2px solid #ccc;
  position: relative;
  z-index: 10;
}

/* 內圈 (只有 active 才出現) */
.flow-steps .circle.active {
  border: 2px solid var(--round, #f5d8cc);
  background: var(--round, #f5d8cc);
}
.flow-steps .circle.active .dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--main, #ff6100);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

/* 連線 */
.flow-steps .line {
  position: absolute;
  top: 1.25rem; /* top-5 */
  left: 100%; /* 從右邊出去 */
  width: 100%; /* 拉到下一個 step */
  height: 2px;
  background: #ccc;
  transform: translateX(-50%);
}
.flow-steps .line.back {
  /* 最後一條往左連 */
  left: -100%;
  transform: translateX(50%);
  z-index: -1;
}

/* 文字區塊 */
.flow-steps .text {
  flex: 1;
  margin-top: 1rem; /* mt-4 */
  color: var(--third);
}
.flow-steps .text p:first-child {
  font-weight: bold;
}

/* apply-before 表單設定 */
.apply-before-area .form-block {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.form-right-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-right-block .flex {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.form-right-block input {
  width: 100%;
  border-radius: 0.25rem;
  border: 1px solid var(--second);
  background-color: #fff;
  padding: 1rem 1.5rem; /* 16px, 24px */
}

.form button[type="button"] {
  flex: 1;
  border-radius: 0.25rem; /* 4px */
  border: 1px solid var(--second);
  background-color: rgba(var(--main-rgb), 0.7);
  padding: 1rem 1.5rem; /*16px 24px */
  cursor: pointer;
  transition: all 0.5s ease;
}

.form button[type="button"]:hover {
  color: #fff;
  background-color: var(--main);
}

.form ul {
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-weight: 100;
  list-style-position: inside;
}

.divider .description {
  font-weight: 700;
  color: var(--main);
  font-size: 1.125rem; /* 18px */
}

.divider .block-2 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem; /* 20px */
  width: 100%;
  align-items: center;
}

.divider .block-2 .flex-1-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.25rem; /* 20px */
  font-size: 1.25rem; /* 20px */
}

.divider input {
  width: 100%;
  border-radius: 0.25rem;
  border: 1px solid var(--second);
  background-color: #fff;
  padding: 1rem 1.5rem; /* 16px, 24px */
}

.select-btn {
  cursor: pointer;
  border-radius: 0.25rem; /* 4px */
  padding: 1rem; /* 16px */
  background-color: #fff;
  color: #6b7280;
  transition: all 0.5s ease;
}

.form .submit-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.form-main-btn {
  cursor: pointer;
  display: inline-block;
  width: 50%;
  padding: 1rem;
  font-size: 1.125rem; /* 18px */
  font-weight: bold;
  border: 0.125rem solid var(--main); /* 2px */
  border-radius: 0.375rem; /* 6px */
  background-color: var(--main);
  color: #fff;
  transition: all 0.5s ease;
}
.form-main-btn:hover {
  background-color: #fff;
  color: var(--main);
}

.form-second-btn {
  cursor: pointer;
  display: inline-block;
  width: 50%;
  padding: 1rem;
  font-size: 1.125rem; /* 18px */
  font-weight: bold;
  border: 0.125rem solid var(--third); /* 2px */
  border-radius: 0.375rem; /* 6px */
  background: var(--third);
  color: #fff;
  text-align: center;
  transition: all 0.5s ease;
}
.form-second-btn:hover {
  background-color: white;
  border: 0.125rem solid var(--third); /* 2px */
  color: black;
}

.name-tips-block {
  width: 100%;
  max-width: 48rem; /*  768px */
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding: 1.25rem; /* 20px */
  background-color: #fff;
  border-radius: 0.75rem; /*  12px */
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1); /* shadow-xl */
  transition: all 0.3s ease;
}

.name-tips-block > p {
  color: var(--main);
  font-weight: 700;
  font-size: 1.25rem; /*  20px */
  line-height: 1.75rem;
  padding-bottom: 0.5rem; /*  8px */
  border-bottom: 1px solid #000;
}

.name-tips-block ul {
  padding-top: 0.5rem;
  font-weight: 300;
  text-align: start;
  list-style: none;
}

.address-href {
  width: fit-content;
  padding: 0.5rem 1.5rem; /* 8px, 24px */
  background-color: rgba(var(--main-rgb), 0.2);
  border-radius: 0.25rem; /* 4px */
  transition: all 0.5s ease;
  text-decoration: none;
  color: black;
}

.address-href:hover {
  background-color: var(--main);
  color: #fff;
}

.tel-flex-block {
  display: flex;
  gap: 0.25rem; /*  4px */
  align-items: center;
}

.registration-agency-option {
  display: flex;
  flex-direction: column;
  gap: 1.25rem; /* 20px */
  cursor: pointer;
}

/* radio */
.radio-custom {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.radio-custom input {
  display: none;
}

.radio-custom .checkmark {
  width: 1.25rem; /* 20px */
  height: 1.25rem; /* 20px */
  border: 0.125rem solid var(--gray-600); /* 2px */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
}
.radio-custom input:checked + .checkmark {
  border-color: var(--main);
  background: var(--main);
  box-shadow: 0 0 0 4px rgba(var(--main-rgb), 0.5);
}

/* radio連結 */
.radio-custom a {
  display: block;
  text-decoration: none;
  color: black;
}
.radio-custom:hover a {
  color: var(--main);
}

/* checkbox */
.checkbox-custom {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.checkbox-custom .checkbox-mark {
  width: 1.25rem; /* 20px */
  height: 1.25rem; /* 20px */
  border: 0.125rem solid var(--gray-600); /* 2px */
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all 0.5s ease;
}
.peer:checked + .checkbox-mark {
  border-color: var(--main);
  background-color: var(--main);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(var(--main-rgb), 0.5);
}

/* 同意方塊 */
.agreement-block {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.agreement-checkbox {
  width: 1.25rem; /* 20px */
  height: 1.25rem; /* 20px */
  border: 0.125rem solid var(--main); /* 2px */
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--main);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(var(--main-rgb), 0.5);
}

.registration-agency-option .img-block {
  width: 100%;
  max-width: 15rem; /* 240px */
}

.registration-agency-option .img-block img {
  aspect-ratio: auto;
  width: 100%;
  object-fit: contain;
  border-radius: 0.75rem; /* 12px */
  transition: all 0.5s ease;
}

.registration-agency-option .img-block img:hover {
  scale: 1.1;
}

.apply-button-block {
  display: flex;
  flex-direction: row;
  column-gap: 4rem; /* 64px */
}

.apply-button-block .apply-button {
  flex: 1;
  display: flex;
  flex-direction: row;
  column-gap: 2.5rem; /* 40px */
}

/* apply-success區塊 */
.apply-success-area {
  position: relative;
  background: var(--second);
}

.apply-success-block {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem; /* 40px */
  border-radius: 1rem; /*16px */
  background-color: #fff;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); /* shadow-2xl */
  padding: 3rem 1.25rem; /* 48px 20px */
}

.apply-success-block .svg-box {
  margin-left: auto;
  margin-right: auto;
  width: 4rem; /* 64px */
  height: 4rem; /* 64px */
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.apply-success-block .svg-box::before {
  content: "";
  display: block;
  width: 2.5rem; /* 40px */
  height: 2.5rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* ✅ 成功樣式 */
.apply-success-block .svg-box.success {
  background-color: rgba(var(--button-success-rgb), 0.3);
}

.apply-success-block .svg-box.success::before {
  background-image: url("../img/icon-check.svg");
}

/* ❌ 失敗樣式 */
.apply-success-block .svg-box.error {
  background-color: rgba(var(--red-rgb, 239, 68, 68), 0.3);
}

.apply-success-block .svg-box.error::before {
  background-image: url("../img/icon-x.svg");
}

.apply-success-block h1 {
  font-size: 1.5rem; /*  24px */
  line-height: 2rem;
  font-weight: 700;
  color: #1f2937;
}

.apply-success-block .description {
  color: #4b5563;
}

.apply-success-block .application-info-area {
  background-color: rgba(var(--main-rgb), 0.1);
  border-radius: 0.5rem; /*  8px */
  padding: 1.25rem; /* 20px */
  font-size: 0.875rem; /* 14px */
  line-height: 1.625rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem; /* 20px */
}

.application-info-area .title-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.application-info-area .title-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.title-block .button {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 1.25rem;
  background-color: var(--main);
  border-radius: 9999px;
}

.title-block .button::before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* 成功樣式 */
.title-block .button-success {
  background-color: rgba(var(--button-success-rgb), 0.3);
  color: var(--button-success);
}

.title-block .button-success::before {
  background-image: url("../img/icon-check.svg");
}

/* 失敗樣式 */
.title-block .button-error {
  background-color: rgba(var(--button-error-rgb), 0.3);
  color: var(--button-error);
}

.title-block .button-error::before {
  background-image: url("../img/icon-x.svg");
}

.application-info-area .confirm-input {
  width: 100%;
  border-radius: 0.25rem;
  border: 1px solid var(--second);
  background-color: #fff;
  padding: 1rem 1.5rem; /* 16px, 24px */
}

.apply-success-area .back-btn-block {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  padding-top: 1.25rem;
}

/* event news */
.news-card {
  padding-left: 2.5rem; /*  40px */
  padding-right: 2.5rem;
  padding-top: 3rem; /* 48px */
  padding-bottom: 2.5rem; /*  40px */
  background-color: #fff;
  border-radius: 0.5rem; /*  8px */
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2.5rem; /* 40px */
}

.news-card .title {
  font-size: 1.875rem; /*  = 30px */
  line-height: 1.75rem;
}

.news-card .description {
  font-size: 1.125rem; /* 18px */
  line-height: 2rem; /* 32px */
  letter-spacing: 0.1em;
}

.news-card .circle {
  position: absolute;
  top: 1rem; /*  16px */
  right: 1rem; /* 16px */
  width: 1.25rem; /* 20px */
  height: 1.25rem; /* 20px */
  background-color: var(--main);
  border-radius: 9999px;
}

.news-card ul {
  list-style-position: inside;
}

/* event */
.event-block {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 2rem; /*32px */
  row-gap: 10rem; /* 160px */
}
.event-block-href {
  /*主hover*/
  text-decoration: none;
  color: #000;
  display: block;
}

.event-block-img-block {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.event-block-img-block .event-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-block-href:hover .event-img {
  transform: scale(1.1);
}

.event-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 1rem; /*  16px */
}

.event-btn-div {
  background-color: #fff;
  border-radius: 9999px;
  padding: 2px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.go-button {
  width: 3.5rem; /*  56px */
  height: 3.5rem;
  border-radius: 9999px;
  background-color: var(--main);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.event-btn .icon01-move {
  width: 2rem; /* 20px */
  height: auto; /* h-auto */
  position: relative;
  left: 0;
  transition: all 0.5s ease;
}

.event-btn .icon02-move {
  width: 2rem; /* 32px */
  height: auto; /* h-auto */
  position: absolute;
  left: -2.5rem; /*  -40px */
  top: 50%;
  transform: translateY(-50%);
}

.event-block-href:hover .icon01-move {
  left: 5rem; /* 80px */
  transition: all 0.5s ease;
}

.event-block-href:hover:hover .icon02-move {
  left: 20%;
  transition: all 0.5s ease;
}

.event-more {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* media */
.media-event-area {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5rem; /* 80px */
  width: 100%;
}

.media-event-card {
  overflow: hidden;
  border-radius: 0.75rem;
  background-color: rgba(var(--main-rgb), 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  aspect-ratio: 680 / 356;
}

.media-event-card .p {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  font-size: 1.875rem; /*  30px */
  line-height: 2.25rem;
  color: #fff;
}

.media-card-area {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 2.5rem;
  row-gap: 5rem;
}

.media-card-area .card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* tutorial */
.info-text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  gap: 1.25rem;
  font-size: 1.875rem;
  line-height: 2.25rem;
}

/* 螢幕 ≥768px(tailwind md) */
@media (min-width: 768px) {
  select {
    font-size: 18px;
  }

  input {
    font-size: 18px;
  }

  input::placeholder {
    font-size: 18px;
  }

  .md-w-60 {
    width: 60%;
  }

  /* header區塊 */
  .header-container {
    padding-left: 2.5rem; /* 40px */
    padding-right: 2.5rem;
  }

  /* footer */
  footer form .input-block {
    align-items: center;
    color: white;
  }

  .footer-form-block input {
    border: none;
  }

  .footer-form-block input:focus {
    color: #fff;
  }

  .footer-form-block {
    flex-direction: row;
    align-items: center;
  }

  .home-banner-title {
    gap: 2rem;
    padding-left: 3rem;
  }

  .home-banner-title h1 {
    font-size: 1.8rem;
    font-weight: 700;
  }

  .home-banner-title .second-title {
    font-size: 1.25rem;
    font-weight: 500;
  }

  .home-banner-title .second-title span {
    font-size: 2rem;
  }

  /* 域名申請區塊 */
  .form button[type="button"] {
    font-size: 20px;
  }

  .org-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .divider .block-2 {
    flex-direction: row;
    gap: 2.5rem; /* 40px */
  }

  .md-form-sidebar {
    width: 100%;
    max-width: 200px;
  }

  /* apply-success */
  .application-info-area .title-block {
    flex-direction: row;
  }

  .media-card-area {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 螢幕尺寸 ≥ 1024px(tailwind 2xl)  */
@media (min-width: 1024px) {
  /* 區塊padding設定 */
  .main-section {
    padding-left: 3rem; /* 48px */
    padding-right: 3rem;
  }

  /* 複用 */
  .overflow-hidden {
    overflow: hidden;
  }

  .lg-space-y-14 {
    display: flex;
    flex-direction: column;
    gap: 7rem; /* 112px */
  }

  .lg-space-y-20 {
    display: flex;
    flex-direction: column;
    gap: 5rem; /* 80px */
  }

  .md-width-two-third {
    width: 66.6667%;
  }

  /* 字體大小 */
  .lg-text-lg {
    font-size: 1.125rem; /* 18px */
    line-height: 1.75rem; /* 28px */
  }
  .lg-text-xl {
    font-size: 1.25rem; /* 20px */
    line-height: 1.75rem; /* 28px */
  }

  .main-title {
    font-size: 3rem; /* 48px */
    line-height: 1.625;
  }

  /* 主要連結按鈕 */
  .btn-link {
    padding-left: 5rem; /* px-20 */
    padding-right: 5rem;
    padding-top: 1.5rem; /* py-6 */
    padding-bottom: 1.5rem;
    border: 2px solid var(--main);
    width: fit-content;
  }

  .a-btn {
    width: 3.5rem;
    height: 3.5rem;
  }

  .a-btn .a-svg-icon {
    width: 2.5rem; /* 40px */
    height: 2.5rem; /* 40px */
    color: #fff; /* text-white */
    transition: all 0.5s ease; /* transition-all duration-500 */
  }

  .group:hover .a-svg-icon {
    width: 3rem; /* = size-12 */
    height: 3rem;
    color: #fff; /* text-white */
    transition: all 0.5s ease; /* transition-all duration-500 */
  }

  /* header區塊 */
  .nav-desktop {
    display: block;
  }

  .hamburger {
    display: none;
  }

  /* 首頁頁面區塊 */
  .home-banner-title {
    gap: 4rem;
    padding-left: 2rem;
    width: 64%;
  }

  .home-banner-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
  }

  .home-banner-title .second-title {
    font-size: 1.5rem;
  }

  .home-banner-title .second-title span {
    font-size: 2.5rem;
  }

  .home-banner img {
    opacity: 100%;
  }

  /* 首頁－關於我們區塊 */
  .about-section {
    flex-direction: row;
    gap: 10rem; /* 160px */
  }

  .intro-title {
    font-size: 2.25rem; /* 36px */
    line-height: 2.5rem; /* 40px */
  }

  /* 域名申請區塊 */
  .org-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .slogan-des {
    font-size: 1.5rem; /* 24px */
    line-height: 2rem; /* 32px */
  }

  .apply-before-area .form-block {
    display: flex;
    flex-direction: row;
    gap: 4rem;
  }

  .apply-before-area .form-right-block .flex {
    flex-direction: row;
  }

  .divider .description {
    font-size: 1.25rem; /* text-xl = 20px */
  }

  .form .submit-btn {
    display: flex;
    flex-direction: row;
    justify-content: start;
    gap: 4rem; /* 64px */
    width: 100%;
  }

  .name-tips-block {
    padding: 2.5rem; /*  40px */
  }

  /* apply-success區塊 */
  .apply-success-area {
    padding: 3rem 3rem; /* 48px */
  }
  .apply-success-block {
    padding: 6rem 6rem;
  }

  /* event */
  .event-block {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 3rem 3rem; /* 48px */
  }

  .event-btn .icon01-move {
    width: 32px;
  }
  .event-btn .icon02-move {
    width: 32px;
  }

  /* media */
  .media-event-area {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-event-card .p {
    font-size: 3rem; /* 48px */
    line-height: 1;
  }

  .media-card-area {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* tutorial */
  .tutorial-main {
    position: relative;
    padding-bottom: 10rem;
    padding-top: 8rem;
    padding-bottom: 8rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
  }

  .info-text-block {
    font-size: 3rem; /*48px */
    line-height: 1;
  }

  footer .info-area {
    flex-direction: row;
  }
}

/* 螢幕尺寸 ≥ 1280px(tailwind xl) */
@media (min-width: 1280px) {
  footer .right-block {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 螢幕尺寸 ≥ 1536px(tailwind 2xl) */
@media (min-width: 1536px) {
  /* 區塊padding設定 */
  .main-section {
    padding-left: 0;
    padding-right: 0;
  }

  /* header區塊 */
  header {
    padding-left: 0;
    padding-right: 0;
  }

  footer .right-block {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* 首頁頁面區塊 */
  .header-container {
    padding-left: 0;
    padding-right: 0;
  }

  .home-banner-title {
    gap: 5rem;
    padding-left: 7rem;
  }

  .home-banner-title h1 {
    font-size: 4rem;
    font-weight: 700;
  }

  .home-banner-title .second-title {
    font-size: 1.9rem;
  }

  .home-banner-title .second-title span {
    font-size: 3rem;
  }

  /* 首頁－關於我們區塊 */
  .about-section h2 {
    font-size: 2.25rem; /* 36px */
    line-height: 2.5rem; /* 40px */
  }
}
