/* Performance Optimized CSS - Display unchanged */
:root {
  --primary: #1DA1F2;
  --primary-dark: #0d8bf0;
  --text: #14171A;
  --text-secondary: #1f2124;
  --bg-light: #f5f8fa;
  --white: #ffffff;
  --border-light: #E1E8ED;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  line-height: 1.6;
  background-color: var(--bg-light);
  overflow-x: hidden;
}

header a {
  color: #000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

header a:hover {
  color: #000;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

a:hover {
  color: var(--primary-dark);
}

/* Container improvements */
.container-in, .container-in2 {
  padding: 40px 16px;
  width: 100%;
  margin: 0 auto;
}

/* Typography improvements */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  color: var(--text);
}

h2 {
  font-size: 24px;
  margin-bottom: 16px;
}

p {
  margin-bottom: 16px;
  color: var(--text-secondary);
}

/* Language Banner */
.language-banner {
  background: linear-gradient(135deg, #1DA1F2, #0d8bf0);
  color: white;
  padding: 12px 20px;
  text-align: center;
  position: relative;
  font-weight: bold;
  font-size: 16px;
  display: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.language-banner.show {
  display: block;
}

.banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.banner-text {
  flex: 1;
  min-width: 200px;
}

.banner-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.banner-btn {
  padding: 8px 16px;
  background: rgba(255,255,255,0.2);
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.3);
  font-size: 13px;
}

.banner-btn:hover {
  background: rgba(255,255,255,0.3);
  color: white;
  transform: translateY(-1px);
}

.banner-btn.primary {
  background: white;
  color: #1DA1F2;
}

.banner-btn.primary:hover {
  background: #f0f0f0;
  color: #0d8bf0;
}

.close-banner {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.close-banner:hover {
  opacity: 1;
}

/* Hero section improvements */
.twc-hero {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  margin: 16px;
  background-color: rgba(255, 255, 255, 0.42);
  padding: 20px;
  overflow: hidden;
  min-height: auto;
}

.twc-hero-content {
  flex: 1;
  padding: 20px 16px 40px;
  order: 2;
}

.twc-hero-image {
  flex: 1;
  padding: 20px 26px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  order: 1;
}

.twc-logo {
  display: inline-flex;
  align-items: center;
  font-size: 24px;
  font-weight: 600;
  background: rgba(60, 59, 59, 0.05);
  padding: 12px 22px;
  border-radius: 50px;
}

.twc-logo-container {
  margin-bottom: 30px;
}

.fa-trash:before {
  content: "\f1f8";
  background-color: #fff;
  color: #2bc0ff;
  color: #00b2ff;
  padding: 7px 9px;
  margin-right: 7px;
  width: 50px;
  height: 50px;
  font-size: 16px;
  border-radius: 50%;
  position: relative;
  height: 52px;
  top: 0px;
}

.twc-heading {
  font-size: 30px;
  margin-bottom: 16px;
  line-height: 1.2;
  display: inline-block;
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  margin: 0 auto 5%;
  background: linear-gradient(to right, #606263, #364e5f 39.92%, #3c4559 91.18%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.twc-subheading {
  font-size: 14px;
  line-height: 150%;
  margin-bottom: 24px;
  max-width: 540px;
}

.twc-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.twc-feature {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  background: #f5f5f5;
  border-radius: 50px;
  font-size: 14px;
  box-shadow: 1px 1px 15px rgba(210, 210, 210, 0.53);
}

.twc-feature i {
  margin-right: 8px;
  font-size: 18px;
  color: rgba(0, 0, 0, 0);
  background-image: linear-gradient(108deg, #b3deff, #deb1e6 34.03%, #fea1b2 68%, #a5dffe);
  background-clip: text;
  -webkit-text-fill-color: rgba(0,0,0,0);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.fa-solid.fa-infinity {
  color: #6fd950;
  background-image: none;
  -webkit-text-fill-color: #6fd950;
}

.twc-cta {
  margin-top: 30px;
}

.twc-login-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: fit-content;
  padding: 14px 20px;
  background: var(--primary);
  color: white;
  font-weight: 800;
  font-size: 18px;
  border-radius: 50px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.twc-login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  color: #fff;
}

.twc-login-button i {
  margin-right: 10px;
  font-size: 20px;
}

.twc-privacy {
  margin-top: 12px;
  font-size: 14px;
  margin-left: 12px;
  opacity: 0.8;
}

.hero_img {
  /* mix-blend-mode: multiply; */
  margin-top: 20px;
  max-width: 100%;
}

.hero_img.typeb {
  max-width: 100%;
  margin-top: 30px;
  transform: translateX(0px);
}

a.userlogin {
  color: #1b1b1b;
}

.user {
  position: absolute;
  top: 45px;
  right: 80px;
  margin: 15px auto;
  max-width: fit-content;
  background-color: #f4f4f4;
  border-radius: 50px;
  padding: 2px 14px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: -10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.user:hover {
  transform: translateY(-2px);
  box-shadow: 1px 8px 17px rgba(0, 0, 0, 0.15);
}

.user-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

/* X対応セクション */
.x-support-section {
  padding: 60px 0;
  background-color: #f8fafc;
}

.x-support-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.x-support-header {
  text-align: center;
  margin-bottom: 50px;
}

.x-support-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.x-support-header h2 i {
  margin-right: 15px;
  color: var(--primary);
  font-size: 30px;
}

.x-support-header p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

.x-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.x-feature-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.x-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.x-feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.x-feature-icon i {
  color: white;
  font-size: 24px;
}

.x-feature-icon .fa-layer-group,
.x-feature-icon .fa-calendar-days,
.x-feature-icon .fa-heart,
.x-feature-icon .fa-eraser {
  color: white;
}

.x-feature-icon .fa-solid.fa-heart {
  color: white;
}

.x-feature-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
  text-align: center;
}

.x-feature-description {
  font-size: 15px;
  line-height: 1.6;
  color: #405461;
}

.x-cta-box {
  text-align: center;
  background: white;
  border-radius: 16px;
  padding: 40px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.x-cta-text {
  font-size: 18px;
  margin-bottom: 25px;
  color: var(--text);
}

.x-cta-button {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.x-cta-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(29, 161, 242, 0.3);
  color: white;
}

.x-cta-button i {
  margin-right: 10px;
  font-size: 20px;
}

/* Guide section improvements */
.tc-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 10px;
}

.tc-header {
  text-align: center;
  margin-bottom: 30px;
}

.tc-title {
  font-size: 28px;
  margin-bottom: 12px;
}

.tc-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
}

.tc-steps-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.tc-step-card {
  display: flex;
  flex-direction: column;
  background-color: white;
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tc-step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.tc-step-badge {
  background-color: var(--primary);
  color: white;
  padding: 10px 20px;
  font-weight: bold;
  font-size: 18px;
}

.tc-step-inner {
  padding: 20px;
}

.tc-step-heading {
  font-size: 20px;
  margin-bottom: 12px;
}

.tc-step-description {
  margin-bottom: 20px;
  color: var(--text-secondary);
  font-size: 15px;
}

.tc-image-box {
  width: 100%;
  margin: auto;
  background-color: #E1E8ED;
  border-radius: 12px;
  display: flex;
  padding: 20px 0;
  justify-content: center;
  margin-top: 16px;
}

.tc-image-box img {
  width: 100%;
  max-width: 400px;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.tc-info-callout {
  background-color: #F7F9FA;
  border-left: 4px solid #3CB371;
  padding: 12px;
  margin-top: 16px;
  border-radius: 0 8px 8px 0;
}

.tc-callout-title {
  font-size: 15px;
  margin-bottom: 6px;
  color: #3CB371;
}

.tc-option-panel {
  background-color: #F8F8F8;
  border: 1px solid #E1E8ED;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
}

/* Pricing section improvements */
.pricing-section {
  padding: 40px 0;
}

.pricing-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}

.pricing-header {
  text-align: center;
  margin-bottom: 30px;
}

.pricing-header h2 {
  font-size: 28px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-header h2 i {
  margin-right: 12px;
  color: var(--primary);
  font-size: 25px;
}

.pricing-card {
  background-color: white;
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease;
  max-width: 100%;
  margin: 0 auto;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.pricing-card-header {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.pricing-badge {
  display: inline-block;
  background-color: #E8F5FD;
  color: var(--primary);
  padding: 5px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.pricing-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.pricing-price {
  padding: 24px 0;
  text-align: center;
  background-color: #F7F9FA;
}

.price-currency {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  vertical-align: top;
  position: relative;
  top: 8px;
}

.decimal {
  font-size: 0.6em;
}

.price-amount {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 70px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.price-duration {
  display: block;
  font-size: 14px;
  width: 80%;
  margin: 10px auto;
  color: var(--text-secondary);
  background-color: #E8F5FD;
  padding: 5px 10px;
  border-radius: 50px;
}

.pricing-features {
  list-style: none;
  padding: 20px;
  margin: 0;
}

.pricing-features li {
  padding: 10px 0;
  color: var(--text);
  font-size: 15px;
  display: flex;
  align-items: center;
}

.pricing-features li i {
  color: var(--primary);
  margin-right: 10px;
}

.pricing-cta {
  padding: 20px;
  text-align: center;
}

button.pricing-button {
  border: none;
  cursor: pointer;
}

.pricing-button {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 100%;
}

.pricing-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(29, 161, 242, 0.3);
  color: #fff;
}

/* Testimonials section improvements */
.testimonial-container {
  max-width: 95%;
  margin: 0 auto;
  padding: 20px 16px 40px;
}

.testimonial-heading {
  text-align: center;
  margin-bottom: 30px;
}

.testimonial-heading h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-heading h2 i {
  margin-right: 12px;
  color: var(--primary);
  font-size: 25px;
}

.testimonial-heading p {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
}

.fa-solid.fa-heart {
  color: rgb(255, 98, 98);
}

.retweets .fa-solid.fa-retweet {
  color: #47d400;
}

.fa-solid.fa-arrow-right {
  color: #fff;
}

.tweet-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.tweet-card {
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.tweet-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tweet-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.tweet-avatar {
  margin-right: 12px;
}

.tweet-avatar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.tweet-user {
  flex: 1;
}

.tweet-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  line-height: 1.2;
  text-align: left;
  margin-bottom: 0;
}

.tweet-handle {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.tweet-content {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 12px;
  word-break: break-word;
}

.tweet-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-secondary);
}

.tweet-metrics {
  display: flex;
  gap: 12px;
}

/* Icon colors for special sections */
.testimonial-heading .fa-solid.fa-comments {
  margin-right: 15px;
  color: #1DA1F2;
  margin-top: 3px;
  font-size: 32px;
}

.fa-solid.fa-cloud-arrow-down {
  margin-right: 15px;
  color: #1DA1F2;
  margin-top: 3px;
  font-size: 32px;
}

.fa-solid.fa-clipboard-question {
  margin-right: 15px;
  color: #1DA1F2;
  margin-top: 3px;
  font-size: 35px;
}

/* FAQ section improvements */
.faq-section {
  margin: 0 auto;
  padding: 40px 16px;
}

.faq-container {
  background-color: white;
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 24px 16px;
  max-width: 100%;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 30px;
}

.faq-header h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-header h2 i {
  margin-right: 12px;
  color: var(--primary);
  font-size: 25px;
}

.faq-subtitle {
  color: var(--text-secondary);
  font-size: 15px;
  margin-top: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 100%;
  margin: auto;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  background-color: #f7f9fa;
  margin-bottom: 0;
}

.faq-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.faq-question {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(225, 232, 237, 0.5);
  position: relative;
}

.faq-question h3 {
  font-size: 16px;
  color: var(--primary);
  margin: 0;
  font-weight: 600;
  padding-right: 30px;
}

.fa-solid, .fas {
  font-weight: 900;
  color: #000;
}

.faq-anchor {
  position: absolute;
  top: 12px;
  right: 16px;
  color: #E1E8ED;
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.faq-item:hover .faq-anchor {
  opacity: 1;
}

.faq-anchor:hover, .faq-anchor:focus {
  color: var(--primary);
}

.faq-answer {
  padding: 16px;
  color: #4a4a4a;
  line-height: 1.6;
  background-color: white;
}

.faq-answer p {
  margin: 0;
  padding-left: 0;
  text-indent: 0;
  font-size: 14px;
}

/* Archive download section improvements */
.tweet-archive-delete {
  margin: 0 auto;
  padding: 40px 16px;
}

.tweet-archive-delete-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 24px 16px;
  background: white;
  text-align: center;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.archive-delete-header {
  text-align: center;
  margin-bottom: 30px;
}

.archive-delete-header h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.archive-delete-header h2 i {
  margin-right: 12px;
  color: var(--primary);
  font-size: 25px;
}

.archive-delete-header p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-top: 0;
}

.delete-steps-wrapper {
  background: white;
  padding: 16px;
  border-radius: 12px;
  margin-top: 16px;
}

.delete-step-list {
  list-style: none;
  padding: 0;
}

.delete-step-list li {
  display: flex;
  text-align: left;
  align-items: center;
  background: #f9f9f9;
  margin: 10px 0;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  font-weight: 500;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.delete-step-list li:hover {
  background: #eef5ff;
  transform: translateY(-2px);
}

.step-number {
  min-width: 24px;
  min-height: 24px;
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--primary);
  color: white;
  font-weight: bold;
  border-radius: 50%;
  margin-right: 10px;
  font-size: 14px;
}

.archive-delete-info {
  background: #eef8ff;
  padding: 12px;
  border-left: 5px solid #71c8ff;
  border-radius: 8px;
  margin-top: 16px;
  font-size: 14px;
  color: #004085;
  font-weight: 500;
  text-align: left;
}

/* CTA section improvements */
.cta-container {
  background-color: #f7f9fa;
  border-radius: 12px;
  padding: 24px 16px;
  margin: 30px 16px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-top: 4px solid var(--primary);
}

.cta-heading {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.cta-description {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.cta-button {
  display: block;
  width: 100%;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin: 10px 0;
}

.cta-button.primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(29, 161, 242, 0.2);
}

.cta-button.primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(29, 161, 242, 0.3);
}

.cta-button.secondary {
  background-color: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.cta-button.secondary:hover {
  background-color: #f5f8fa;
  transform: translateY(-2px);
}

/* Language switcher improvements */
.language-switcher {
  position: relative;
  z-index: 100;
  margin: 16px auto;
  text-align: center;
}

.lang-btn {
  display: flex;
  align-items: center;
  background: #f3f3f3;
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: background 0.3s;
}

.lang-btn:hover {
  background: #e0e0e0;
}

.flag {
  margin-right: 8px;
  font-size: 18px;
}

.lang-menu {
  display: none;
  width: 240px;
  right: 0;
  margin: 0 auto;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  grid-template-columns: 1fr;
  padding: 0;
  list-style-type: none;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  z-index: 1000;
  position: absolute;
}

.lang-option {
  display: flex;
  text-align: left;
  align-items: center;
  padding: 10px 16px;
  text-decoration: none;
  color: black;
  font-size: 14px;
  transition: background 0.3s;
}

.lang-option:hover {
  background: #f3f3f3;
}

.lang-menu.open {
  display: grid;
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

/* Footer improvements */
.site-footer {
  background-color: #3d4249;
  padding: 40px 0;
  color: white;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-column {
  flex: 1;
  text-align: center;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

footer .twc-logo {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

footer a .twc-logo {
  color: #fff;
}

footer .fa-trash:before {
  top: -3px;
}

.footer-links li {
  margin: 8px 0;
}

.footer-links a {
  text-decoration: none;
  color: white;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

/* Step21 specific styles */
.step21 h1 {
  margin: 10px auto 0px;
}

.step21 p {
  margin-block-start: 0px;
  text-align: center;
  margin-block-end: 0px;
}

.step21 .btn.btn-complete.delete {
  background-color: rgb(255, 33, 33);
  width: 50%;
}

.step21 h3 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 15px;
  font-weight: 600;
  color: #25282e;
}

.step21 .attention {
  width: fit-content;
  background-color: #f8f9fa;
  margin: 10px auto;
  color: #536471;
  padding: 10px;
  border-radius: 6px;
  border-left: 4px solid #1DA1F2;
  border-radius: 4px;
}

.hello_user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 15px;
  margin-bottom: 15px;
  justify-content: center;
}

.hello_user .user-icon {
  width: 35px;
  height: 35px;
}

.hello_user .username_login {
  color: #3c3c3c;
  font-weight: 900;
  font-size: 18px;
}

.step21 #form {
  font-family: 'Arial', sans-serif;
  background-color: #fcfcfa;
  width: 100%;
  display: flex;
  border-radius: 16px;
  justify-content: center;
  background-color: #f7f9fa;
  border: 1px solid #f9f9f9;
  align-items: center;
  margin: 0;
  max-width: 550px;
}

.step21 .progress {
  width: 100%;
  padding-top: 5px;
  background-color: #fff;
  border: 0px solid #f9f9f9;
  margin-bottom: 20px;
  border-radius: 16px;
  padding: 10px 0px 0px;
}

.step21 .form {
  background: #f7f9fa;
  border: 1px solid #f9f9f9;
  padding: 20px;
  width: 100%;
  border-radius: 16px;
}

/* Form and button improvements */
.toggle-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 10px;
  padding: 12px;
}

.toggle-group label {
  font-size: 16px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.toggle-group label i {
  margin-right: 8px;
  color: var(--primary);
}

.date-input-group {
  flex-direction: column;
  align-items: flex-start;
}

input, select, textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  margin-bottom: 15px;
}

.btn {
  padding: 12px 20px;
  height: 50px;
  font-size: 14px;
  margin: 10px 5px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  width: 100%;
}

.btn-complete {
  background-color: var(--primary);
  color: white;
}

.btn-complete:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-cancel {
  background-color: white;
  color: #868282;
  border: 1px solid #bfbfbf;
}

.btn-cancel:hover {
  background-color: white;
  transform: translateY(-2px);
}

/* Special case for step display */
.step-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 20px auto;
}

.step {
  text-align: center;
  padding: 12px 15px;
  border-radius: 6px;
  font-weight: bold;
  color: black;
  background-color: white;
  position: relative;
  margin-bottom: 8px;
  font-size: 16px;
  clip-path: none;
}

.step.completed {
  background-color: var(--primary);
  color: white;
  z-index: 3;
}

.step.current {
  background-color: #91cefa;
  color: white;
  z-index: 2;
  animation: fadeBlink 1.3s infinite alternate ease-in-out;
}

@keyframes fadeBlink {
  0% { background-color:#5cc1ff; }
  100% { background-color: #a2dbfe; }
}

/* Progress bar */
.progress-container {
  width: 90%;
  margin: 20px auto 5px;
  background: #eee;
  border-radius: 10px;
  overflow: hidden;
  height: 26px;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, #03a7ff, #bfb1ff);
  transition: width 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

#progressBar {
  color: white;
  line-height: 26px;
  font-weight: bold;
  font-size: 16px;
}

#progress-text {
  margin-top: 5px;
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

/* Popup improvements */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 245, 245, 0.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.popup.show {
  opacity: 1;
  pointer-events: auto;
}

.popup-content {
  background: white;
  border-radius: 16px;
  padding: 24px 20px;
  width: 90%;
  max-width: 320px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.popup.show .popup-content {
  transform: scale(1);
}

.popup-content h2 {
  margin-bottom: 15px;
  font-size: 20px;
}

.popup-content .price {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 25px;
  margin-top: 20px;
}

.btn2 {
  display: block;
  margin: 15px auto;
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-cancel2 {
  background: white;
  color: #939393;
  font-size: 14px;
}

.btn-cancel2:hover {
  background: #f4f4f4;
  transform: translateY(-2px);
}

/* File upload styling */
.file-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  border: 2px dashed #3498db;
  cursor: pointer;
  transition: 0.3s;
  width: 90%;
  margin: 30px auto;
}

.file-upload:hover {
  background: #e3f2fd;
  border-color: #2980b9;
}

.custom-file-label {
  background: #3498db;
  color: white;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  width: 100%;
}

.custom-file-label:hover {
  background: #2980b9;
}

/* Additional helper classes */
.text-center {
  text-align: center;
}

.hidden-mobile {
  display: none !important;
}

.visible-mobile {
  display: block !important;
}



/* Fix for IE and older browsers */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .step {
    clip-path: none;
    border-radius: 6px;
    margin-left: 0 !important;
  }
}

/* Special handling for list items with images */
li.imga {
  display: block;
  text-align: left;
  background: #f9f9f9;
  margin: 10px 0;
  padding: 12px 18px;
  border-radius: 8px;
}

li.imga .step-number {
  display: inline-grid;
  justify-content: center;
  margin-right: 12px;
}

.abc {
  height: 250px;
  max-height: 250px;
  width: 90%;
  margin: 15px auto;
  background-color: #e9e9e9;
  border-radius: 8px;
  text-align: center;
}

.abc img {
height: 100%;
}

/* Logout button */
.logout {
  margin: 15px auto;
  display: block;
  text-align: center;
}

.logout-btn {
  display: inline-block;
  padding: 8px 16px;
  background-color: #f44336;
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  border-radius: 25px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.logout-btn:hover {
  background-color: #e53935;
  transform: translateY(-2px);
}

/* Terms & Legal */
.terms {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background: #ffffff;
  border-radius: 1px;
  text-align: left;
  box-shadow: 1px 3px 10px rgba(0, 0, 0, 0.05);
}

.terms header {
  text-align: center;
  border-bottom: 2px solid #ccc;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.terms h1 {
  font-size: 24px;
  color: #333;
}

.terms h2 {
  font-size: 20px;
  color: #444;
  border-left: 5px solid #d0d0d0;
  padding-left: 10px;
  margin-top: 20px;
}

.terms p {
  font-size: 16px;
  color: #555;
  margin: 10px 0;
}

.terms section {
  padding: 10px 0;
}

.terms ul {
  list-style-type: disc;
  margin-left: 20px;
}

.terms ul li {
  margin: 5px 0;
}

.container {
  padding: 30px;
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
}

.container h1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 18px;
  color: #444;
}

.container .article {
  margin-bottom: 30px;
}

.container .article-title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #555;
  border-bottom: 2px solid #ddd;
  padding-bottom: 5px;
}

.container p {
  margin-bottom: 15px;
}

.container ol, .container ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.container li {
  margin-bottom: 8px;
}

.container a {
  color: #0073e6;
  text-decoration: none;
}

.container a:hover {
  text-decoration: underline;
}

.container .item {
  margin-bottom: 25px;
}

.container .item h2 {
  font-size: 16px;
  color: #4f4f4f;
  margin-bottom: 8px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}

.container .item p {
  margin: 5px 0;
  line-height: 1.5;
}

.container .note {
  font-size: 0.9em;
  color: #555;
  margin-top: 5px;
}

.container img {
  vertical-align: middle;
  max-width: 200px;
  height: auto;
  margin-right: 10px;
}

/* 言語リンクのスタイル */
.footer-language-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 20px;
  padding-top: 15px;
}

.language-links-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer-lang-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-lang-link:hover {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

/* コピーライト */
.footer-copyright {
  text-align: center;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-copyright p {
  color: #fff;
}

/* 機能セクションのスタイル */
.features-section {
  padding: 40px 0;
  background-color: var(--bg-light);
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.features-header {
  text-align: center;
  margin-bottom: 40px;
}

.features-header h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.features-header h2 i {
  margin-right: 12px;
  color: var(--primary);
  font-size: 25px;
}

.features-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-card {
  background-color: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  background-color: var(--primary);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 25px auto 15px;
  font-size: 24px;
}

.feature-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feature-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
  text-align: center;
}

.features-section .fa-solid.fa-infinity {
  color: #fff;
  background-image: none;
  -webkit-text-fill-color: #fff;
}

.features-section .fa-money-bill-transfer {
  color: #fff;
  background-image: none;
  -webkit-text-fill-color: #fff;
}

.feature-description {
  font-size: 15px;
  margin: 10px;
  color: #405461;
  margin-bottom: 20px;
  color: #536673;
  flex: 1;
}

.feature-link {
  display: inline-block;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
  margin-top: auto;
  text-align: center;
}

.feature-link:hover {
  color: var(--primary-dark);
}

.feature-link i {
  margin-right: 6px;
  transition: transform 0.2s ease;
}

.feature-link i.fa-arrow-right {
  margin-left: 6px;
  margin-right: 0;
}

.feature-link:hover i.fa-arrow-right {
  transform: translateX(3px);
}

/* 機能アイコン用の特別なスタイル */
.fa-solid.fa-retweet,
.fa-solid.fa-folder-minus,
.fa-solid.fa-heart-crack,
.fa-solid.fa-comment-slash,
.fa-solid.fa-users-slash,
.fa-solid.fa-hashtag,
.fa-solid.fa-clock-rotate-left,
.fa-solid.fa-calendar-check,
.fa-solid.fa-magnifying-glass-minus,
.fa-solid.fa-trash-can,
.fa-solid.fa-calendar-xmark,
.fa-solid.fa-user-minus {
  color: white;
}

/* Mobile-first responsive design - all media queries at the end */
@media (max-width: 768px) {
  .container-in, .container-in2 {
    padding: 40px 5px;
  }

  .twc-hero {
    margin: 0px;
    position: relative;
  }

  .twc-logo {
    font-size: 18px;
    font-weight: bold;
  }

  .twc-logo-container {
    position: absolute;
    top: 10px;
    left: 10px;
  }

  .twc-feature {
    padding: 6px 20px;
  }

  .twc-login-button {
    max-width: fit-content;
    margin: auto;
    padding: 16px 35px;
    font-size: 20px;
  }

  .twc-privacy {
    text-align: center;
    padding: 10px 0px;
  }

  .hero_img {
    transform: translateX(20px);
  }

  .hero_img.typeb {
    max-width: 100%;
    margin-top: 30px;
    transform: translateX(0px);
  }

  .user {
    position: absolute;
    right: 0px;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
    font-size: 12px;
    gap: 5px;
    top: -20px;
  }

  .x-support-header h2 {
    font-size: 26px;
  }

  .x-support-header h2 i {
    font-size: 25px;
  }

  .x-support-header p {
    font-size: 16px;
  }

  .x-features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }

  .x-feature-card {
    padding: 20px;
  }

  .x-feature-icon {
    width: 50px;
    height: 50px;
  }

  .x-feature-icon i {
    font-size: 20px;
  }

  .x-feature-title {
    font-size: 18px;
  }

  .x-feature-description {
    font-size: 14px;
  }

  .x-cta-box {
    padding: 30px 15px;
  }

  .x-cta-text {
    font-size: 16px;
  }

  .x-cta-button {
    padding: 12px 24px;
    font-size: 16px;
  }

  .x-cta-button i {
    font-size: 18px;
  }

  .tc-image-box {
    padding: 0px 0;
    margin-top: 20px;
  }

  .testimonial-container {
    padding: 0px;
  }

  .tweet-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    max-width: 100%;
  }

  .price-amount {
    font-size: 60px;
  }

  .pricing-button {
    width: 100%;
  }

  .faq-container {
    padding: 24px 16px;
    max-width: 100%;
  }

  .faq-list {
    gap: 16px;
    max-width: 100%;
  }

  .faq-question {
    padding: 12px 16px;
  }

  .faq-question h3 {
    font-size: 16px;
  }

  .faq-answer {
    padding: 16px;
  }

  .faq-answer p {
    font-size: 14px;
  }

  .delete-steps-wrapper {
    padding: 20px 0px;
    margin-top: 20px;
  }

  .step-number {
    min-width: 24px;
    min-height: 24px;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    font-size: 14px;
  }

  .archive-delete-info {
    padding: 12px;
    margin-top: 16px;
    font-size: 14px;
  }

  .cta-button {
    font-size: 14px;
    padding: 10px 16px;
  }

  .language-switcher {
    margin: 16px 16px 16px auto;
    width: fit-content;
    position: relative;
  }

  .lang-menu {
    position: absolute;
    display: none;
    grid-template-columns: repeat(2, 1fr);
    width: 280px;
    bottom: 40px;
    right: 0;
    z-index: 1001;
  }

  .lang-menu.open {
    display: grid !important;
    opacity: 1;
    background-color: #fff;
    list-style: none;
    text-align: left;
    transform: translateY(0);
    pointer-events: auto;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
  }

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

  .footer-links {
    align-items: center;
  }

  .language-links-container {
    gap: 10px;
  }

  .footer-lang-link {
    font-size: 11px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .features-header h2 {
    font-size: 26px;
  }

  .features-header h2 i {
    font-size: 25px;
  }

  .features-subtitle {
    font-size: 16px;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
    margin: 20px auto 10px;
  }

  .feature-title {
    font-size: 16px;
  }

  .feature-description {
    font-size: 14px;
  }

  .toggle-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .toggle-group label {
    margin-bottom: 8px;
  }

  .date-input-group {
    flex-direction: column;
    align-items: flex-start;
  }

  input, select, textarea {
    width: 100%;
    margin-bottom: 15px;
  }

  .btn {
    width: 100%;
    margin: 0 5%;
  }

  .step-container {
    flex-direction: column;
    width: 100%;
  }

  .progress-container {
    width: 90%;
    height: 26px;
  }

  #progressBar {
    line-height: 26px;
    font-size: 16px;
  }

  #progress-text {
    font-size: 18px;
  }

  .popup-content {
    padding: 24px 20px;
    width: 90%;
    max-width: 320px;
  }

  .popup-content h2 {
    margin-bottom: 15px;
    font-size: 20px;
  }

  .popup-content .price {
    font-size: 36px;
    margin-bottom: 25px;
    margin-top: 20px;
  }

  .btn2 {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    margin: 15px auto;
  }

  .btn-cancel2 {
    font-size: 14px;
  }

  .hello_user {
    padding: 2px 15px;
  }

  .hello_user .username_login {
    font-size: 18px;
  }

  .step21 h3 {
    font-size: 26px;
  }

  .file-upload {
    flex-direction: column;
    max-width: 400px;
    margin: 30px auto;
  }

  .custom-file-label {
    width: 100%;
    padding: 8px 12px;
  }

  .abc {
    width: 100%;
    margin: 0px auto;
  }

  .hidden-mobile {
    display: block !important;
  }

  .visible-mobile {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .container-in, .container-in2 {
    padding: 60px 24px;
  }

  h2 {
    font-size: 32px;
    margin-bottom: 24px;
  }

  .twc-hero {
    flex-direction: row;
    margin: 24px auto;
    padding: 0;
    max-width: 1240px;
    min-height: 600px;
  }

  .twc-hero-content {
    padding: 50px 10px 80px 60px;
    order: 1;
  }

  .twc-hero-image {
    padding: 60px 60px 60px -10px;
    order: 2;
  }

  .twc-heading {
    font-size: 40px;
    margin-bottom: 20px;
  }

  .twc-subheading {
    font-size: 20px;
    margin-bottom: 40px;
  }

  .twc-features {
    flex-direction: row;
    gap: 12px;
    margin-bottom: 60px;
  }

  .twc-feature {
    padding: 8px 10px;
    font-size: 14px;
  }

  .twc-feature i {
    font-size: 20px;
  }

  .twc-cta {
    margin-top: 40px;
    width: fit-content;
  }

  .twc-login-button {
    width: auto;
    padding: 16px 32px;
    font-size: 20px;
  }

  .twc-login-button i {
    font-size: 23px;
  }

  .twc-privacy {
    margin-top: 16px;
    font-size: 14px;
    text-align: center;
  }

  .hero_img {
    /* mix-blend-mode: multiply; */
    margin-top: 0px;
    transform: translateY(-50px);
    transform: translateX(50px);
    max-width: 80%;
  }

  .hero_img.typeb {
    max-width: 100%;
    margin-top: 40px;
    transform: translateX(0px);
  }

  .user-icon {
    width: 40px;
    height: 40px;
  }

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

  .x-support-header h2 {
    font-size: 32px;
  }

  .x-support-header h2 i {
    font-size: 30px;
  }

  .x-support-header p {
    font-size: 18px;
  }

  .tc-container {
    padding: 40px 10px;
  }

  .tc-header {
    margin-bottom: 50px;
  }

  .tc-title {
    font-size: 36px;
    margin-bottom: 16px;
  }

  .tc-subtitle {
    font-size: 18px;
  }

  .tc-steps-wrapper {
    gap: 50px;
  }

  .tc-step-badge {
    padding: 12px 24px;
    font-size: 20px;
  }

  .tc-step-inner {
    padding: 30px;
  }

  .tc-step-heading {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .tc-step-description {
    margin-bottom: 24px;
    font-size: 16px;
  }

  .tc-image-box {
    padding: 30px 0;
    margin-top: 20px;
  }

  .tc-image-box img {
    width: auto;
    max-width: 500px;
  }

  .tc-info-callout {
    padding: 16px;
    margin-top: 24px;
  }

  .tc-callout-title {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .tc-option-panel {
    padding: 16px;
    margin-bottom: 16px;
  }

  .pricing-section {
    padding: 60px 0;
  }

  .pricing-container {
    padding: 0 20px;
  }

  .pricing-header {
    margin-bottom: 40px;
  }

  .pricing-header h2 {
    font-size: 32px;
    margin-bottom: 12px;
  }

  .pricing-header h2 i {
    margin-right: 15px;
    font-size: 30px;
  }

  .pricing-card {
    max-width: 580px;
  }

  .pricing-card-header {
    padding: 24px;
  }

  .pricing-badge {
    padding: 6px 12px;
    font-size: 14px;
    margin-bottom: 12px;
  }

  .pricing-title {
    font-size: 24px;
  }

  .pricing-price {
    padding: 32px 0;
  }

  .price-currency {
    font-size: 24px;
  }

  .price-amount {
    font-size: 70px;
  }

  .price-duration {
    font-size: 16px;
    padding: 6px 12px;
  }

  .pricing-features {
    padding: 24px;
  }

  .pricing-features li {
    padding: 12px 0;
    font-size: 16px;
  }

  .pricing-features li i {
    margin-right: 12px;
  }

  .pricing-cta {
    padding: 24px;
  }

  .pricing-button {
    font-size: 16px;
    padding: 14px 32px;
    width: auto;
  }

  .testimonial-container {
    max-width: 1000px;
    padding: 40px 20px 80px;
  }

  .testimonial-heading {
    margin-bottom: 50px;
  }

  .testimonial-heading h2 {
    font-size: 36px;
  }

  .testimonial-heading h2 i {
    margin-right: 15px;
    font-size: 32px;
  }

  .testimonial-heading p {
    font-size: 16px;
  }

  .tweet-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .faq-section {
    padding: 60px 20px;
  }

  .faq-container {
    padding: 40px;
    max-width: 900px;
  }

  .faq-header {
    margin-bottom: 40px;
  }

  .faq-header h2 {
    font-size: 32px;
    margin-bottom: 12px;
  }

  .faq-header h2 i {
    margin-right: 15px;
    font-size: 35px;
  }

  .faq-subtitle {
    font-size: 16px;
  }

  .faq-list {
    gap: 32px;
    max-width: 680px;
  }

  .faq-question {
    padding: 12px 20px 12px 20px;
  }

  .faq-question h3 {
    font-size: 18px;
  }

  .faq-answer {
    padding: 20px;
  }

  .faq-answer p {
    font-size: 15px;
  }

  .tweet-archive-delete {
    padding: 50px 40px;
  }

  .tweet-archive-delete-container {
    max-width: 900px;
    padding: 30px 80px;
  }

  .archive-delete-header {
    margin-bottom: 40px;
  }

  .archive-delete-header h2 {
    font-size: 32px;
    margin-bottom: 12px;
  }

  .archive-delete-header h2 i {
    margin-right: 15px;
    font-size: 32px;
  }

  .archive-delete-header p {
    font-size: 16px;
  }

  .delete-steps-wrapper {
    padding: 20px;
    margin-top: 20px;
  }

  .delete-step-list li {
    font-size: 16px;
    padding: 12px 18px;
  }

  .step-number {
    min-width: 30px;
    min-height: 30px;
    width: 30px;
    height: 30px;
    margin-right: 12px;
    font-size: 16px;
  }

  .archive-delete-info {
    padding: 15px;
    margin-top: 20px;
    font-size: 16px;
  }

  .cta-container {
    padding: 30px;
    margin: 40px auto;
    max-width: 800px;
  }

  .cta-heading {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .cta-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .cta-button {
    display: inline-block;
    width: auto;
    padding: 14px 30px;
    font-size: 16px;
    margin: 0 10px;
  }

  .language-switcher {
    position: absolute;
    right: 10px;
    margin: 0;
    text-align: right;
  }

  .lang-menu {
    width: 300px;
    right: 0;
    left: auto;
    grid-template-columns: repeat(2, 1fr);
    top: -310px;
  }

  .language-switcher:hover .lang-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-column {
    text-align: left;
  }

  .footer-links {
    align-items: flex-start;
  }

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

  .features-header h2 {
    font-size: 32px;
    margin-bottom: 16px;
  }

  .features-header h2 i {
    margin-right: 15px;
    font-size: 30px;
  }

  .features-subtitle {
    font-size: 18px;
  }

  .toggle-group {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .toggle-group label {
    margin-bottom: 0;
  }

  .date-input-group {
    flex-direction: row;
    align-items: left;
  }

  input, select, textarea {
    width: auto;
    margin-bottom: 0;
  }

  .btn {
    width: auto;
    margin: 0 5%;
  }

  .step-container {
    flex-direction: row;
    width: 650px;
  }

  .step {
    flex: 1;
    padding: 16px 20px;
    font-size: 20px;
    margin-bottom: 0;
    clip-path: polygon(0% 0%, 93% 0%, 100% 50%, 93% 100%, 0% 100%);
  }

  .step:not(:first-child) {
    margin-left: -40px;
  }

  .step:last-child {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  }

  .step21 .btn.btn-complete.delete {
    width: 30%;
  }

  .step21 h3 {
    font-size: 30px;
  }

  .step21 .form {
    padding: 25px 30px;
  }

  .progress-container {
    width: 460px;
    height: 30px;
  }

  #progressBar {
    line-height: 30px;
    font-size: 18px;
  }

  #progress-text {
    font-size: 20px;
  }

  .popup-content {
    padding: 30px 25px;
    width: 380px;
    max-width: none;
  }

  .popup-content h2 {
    margin-bottom: 20px;
    font-size: 24px;
  }

  .popup-content .price {
    font-size: 43px;
    margin-bottom: 30px;
    margin-top: 30px;
  }

  .btn2 {
    width: 80%;
    padding: 12px;
    font-size: 15px;
    margin: 20px auto 15px;
  }

  .btn-cancel2 {
    font-size: 14px;
  }

  .hello_user {
    padding: 2px 30px;
  }

  .hello_user .username_login {
    font-size: 22px;
  }

  .file-upload {
    flex-direction: row;
    max-width: 400px;
    margin: 40px auto;
  }

  .custom-file-label {
    width: auto;
    padding: 10px 15px;
  }

  .abc {
    width: 92%;
    margin: 0px auto;
  }

  .hidden-mobile {
    display: none !important;
  }

  .visible-mobile {
    display: block !important;
  }
}

@media (min-width: 576px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .x-features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .x-features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 480px) {
  .hero_img {
    max-width: 90%;
  }

  .twc-feature {
    font-size: 12px;
  }

  .twc-login-button {
    font-size: 16px;
    max-width: fit-content;
  }

  .twc-heading {
    font-size: 26px;
  }

  .tc-step-badge {
    font-size: 16px;
    padding: 8px 16px;
  }

  .tc-step-heading {
    font-size: 18px;
  }

  .pricing-title {
    font-size: 18px;
  }

  .price-amount {
    font-size: 60px;
  }

  .tweet-name {
    font-size: 14px;
  }

  .tweet-handle {
    font-size: 12px;
  }

  .tweet-content {
    font-size: 14px;
  }

  .faq-question h3 {
    font-size: 15px;
  }

  .delete-step-list li {
    font-size: 14px;
    padding: 8px 12px;
  }

  .step-number {
    min-width: 22px;
    min-height: 22px;
    width: 22px;
    height: 22px;
    font-size: 12px;
  }

  .cta-heading {
    font-size: 18px;
  }

  .cta-button {
    font-size: 14px;
    padding: 10px 16px;
  }

  .x-support-header h2 {
    font-size: 22px;
  }

  .x-support-header h2 i {
    font-size: 22px;
    margin-right: 10px;
  }

  .x-feature-card {
    padding: 16px;
  }

  .x-feature-title {
    font-size: 16px;
  }

  .x-feature-description {
    font-size: 14px;
  }

  .x-cta-text {
    font-size: 15px;
  }

  .x-cta-button {
    padding: 10px 20px;
    font-size: 15px;
  }
}

               /* 価格の小数点以下を小さく表示 */
                .price-decimal {
                    font-size: 0.55em;
                    vertical-align: super;
                    font-weight: 600;
                    margin-left: -2px;
                }

                .idx-box {
                    background-color: #fff;
                    border-radius: 30px;
                    border: 16px solid #f0f5f9;
                    border-radius: 36px;
                }

                /* index.php専用 料金プランスタイル */
                .idx-pricing-pattern {
                    max-width: 580px !important;
                }

                .idx-toggle-section {
                    margin: 20px 0;
                    display: flex;
                    justify-content: center;
                }

                .idx-toggle-wrapper {
                    display: inline-flex;
                    position: relative;
                    background-color: #ebf3fa;
                    border-radius: 9999px;
                    padding: 4px;
                    cursor: pointer;
                    user-select: none;
                    -webkit-tap-highlight-color: transparent;
                }

                .idx-toggle-bg {
                    position: absolute;
                    top: 4px;
                    left: 4px;
                    height: calc(100% - 8px);
                    background-color: white;
                    border-radius: 9999px;
                    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
                    z-index: 1;
                    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
                }

                .idx-toggle-option {
                    position: relative;
                    z-index: 10;
                    padding: 10px 20px;
                    font-size: 18px;
                    font-weight: bold;
                    color: #6b7280;
                    transition: color 0.25s ease;
                    white-space: nowrap;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 6px;
                    -webkit-tap-highlight-color: transparent;
                }

                .idx-toggle-option.active {
                    color: #111827;
                }

                .idx-discount-badge {
                    display: inline-block;
                    background-color: rgb(36, 175, 255);
                    color: #fff;
                    font-size: 16px;
                    font-weight: 700;
                    padding: 3px 7px;
                    border-radius: 9999px;
                }

                .idx-plan-wrapp {
                    /* background-color: #fff; */
                    /* border-radius: 30px;
                    padding: 0 0 15px 0;
                    margin-bottom: 15px;
                    border: 1px solid #e5e7eb;
                    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); */
                }

                .idx-plan-container {
                    background-color: #fff;
                    border-top-left-radius: 30px;
                    border-top-right-radius: 30px;
                    border-bottom: 1px solid #f5f5f5;
                    padding: 20px 0;
                }

                .idx-plan-option {
                    border: none;
                    background: none;
                    box-shadow: none;
                    padding: 0;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                }

                .idx-plan-name {
                    font-size: 12px;
                    font-weight: 500;
                    color: rgb(130, 162, 189);
                    background-color: #eff7fc;
                    border-radius: 12px;
                    padding: 1px 12px;
                    margin: 0 auto 8px;
                }

                .idx-price-display {
                    display: flex;
                    align-items: baseline;
                    justify-content: center;
                    gap: 2px;
                }

                .idx-currency {
                    font-size: 24px;
                    font-weight: 600;
                    color: #333;
                }

                .idx-amount {
                    font-size: 56px;
                    font-weight: 700;
                    color: rgb(33, 33, 33);
                    line-height: 1;
                    display: inline-flex;
                    align-items: baseline;
                }

                .idx-per-month {
                    font-size: 16px;
                    color: #666;
                }

                .idx-plan-subtext {
                    font-size: 13px;
                    color: #888;
                    margin-top: 5px;
                }

                .idx-payment-section {
                    background-color: #fff;
                    padding: 15px 12px;
                    text-align: center;
                }

                .idx-payment-methods {
                    display: flex;
                    justify-content: center;
                    gap: 8px;
                    margin-bottom: 8px;
                }

                .idx-payment-icon {
                    height: 24px;
                    width: auto;
                }

                .idx-payment-processor {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 4px;
                    font-size: 12px;
                    color: #888;
                }

                .idx-stripe-logo {
                    height: 20px;
                }

                .idx-mini-features {
                    list-style: none;
                    padding: 0 60px;
                    margin: 20px 0 20px 0;
                }

                .idx-mini-features li {
                    padding: 6px 0;
                    font-size: 14px;
                    color: #444;
                    display: flex;
                    align-items: center;
                    gap: 8px;
                }

                .idx-mini-features li i {
                    color: #5bb8f2;
                    font-size: 16px;
                    font-weight: 900;
                    background-color: rgb(199, 235, 255);
                    border-radius: 50%;
                    height: 25px;
                    width: 25px;
                    padding: 5px;
                }

                .idx-pricing-cta {
                    text-align: center;
                    padding: 5px 20px 25px;
                }

                .idx-billing-plan {
                    animation: idxSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
                }

                @keyframes idxSlideIn {
                    from {
                        opacity: 0;
                        transform: translateY(-12px);
                    }

                    to {
                        opacity: 1;
                        transform: translateY(0);
                    }
                }

                .idx-billing-plan.idx-fade-out {
                    animation: idxSlideOut 0.25s cubic-bezier(0.4, 0, 1, 1) forwards;
                }

                @keyframes idxSlideOut {
                    from {
                        opacity: 1;
                        transform: translateY(0);
                    }

                    to {
                        opacity: 0;
                        transform: translateY(8px);
                    }
                }

                @media (max-width: 480px) {
                    .idx-toggle-option {
                        padding: 10px 14px;
                        font-size: 14px;
                    }

                    .idx-discount-badge {
                        font-size: 12px;
                        padding: 2px 6px;
                    }

                    .idx-amount {
                        font-size: 42px;
                    }

                    .idx-currency {
                        font-size: 20px;
                    }
                }
