/* ========================================
   GLOBAL STYLES & RESET
   ======================================== */

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Poppins:wght@600&display=swap");

:root {
  --color-primary: #e7350d;
  --color-secondary: #353431;
  --color-secondary-light: #423f3c;
  --color-bg-light: #e4e4e3;
  --color-line: #a3aaaf;
  --color-text: #353431;
  --font-family-sans: "Noto Sans JP", system-ui, -apple-system, sans-serif;
  /* PC時のヘッダー高さ（80px）+ 余白（24px）を考慮したアンカーオフセット */
  --header-h: 104px;
}

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

*,
*::before,
*::after {
  border-color: var(--color-line);
}

body {
  font-family: var(--font-family-sans);
  color: var(--color-text);
  line-height: 1.5;
}

/* ===== Anchor offset for fixed header ===== */

@media (max-width: 767px) {
  :root {
    /* スマホ時のヘッダー高さ（80px）+ 余白（16px）を考慮したアンカーオフセット */
    --header-h: 96px; 
  }
}

/* anchor target offset - 見出し要素（h1, h2）に直接適用 */
h1[id],
h2[id] {
  scroll-margin-top: var(--header-h);
}

/* contactセクション用（見出しがないため） */
#contact {
  scroll-margin-top: var(--header-h);
}

/* optional: helps with native scroll behaviors */
html {
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

h1 {
  font-weight: 900;
}

h2 {
  font-weight: 700;
}

h3 {
  font-weight: 700;
}

h4 {
  font-weight: 700;
}

p {
  font-weight: 400;
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
}

/* ========================================
   APP CONTAINER & FOOTER
   ======================================== */

.app-container {
  min-height: 100vh;
}

.app-footer {
  background-color: #333;
  color: white;
  padding: 32px 0;
}

.app-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.app-footer-text {
  font-size: 14px;
}

/* ========================================
   HEADER
   ======================================== */

.header {
  background-color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.header-logo {
  display: flex;
  align-items: center;
}

.header-logo-text {
  font-size: 24px;
  color: #E7350D;
}

.header-logo-img {
  height: 40px;
}

.header-nav-desktop {
  display: none;
  align-items: center;
  gap: 24px;
}

.header-nav-link {
  color: #333;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s;
}

.header-nav-link:hover {
  color: #E7350D;
}

.header-cta-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}

.header-cta-button {
  color: white;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: bold;
  text-decoration: none;
  transition: opacity 0.3s;
  display: inline-block;
  border-radius: 9999px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.header-cta-button:hover {
  opacity: 0.9;
}

.header-cta-button-primary {
  background-color: #E7350D;
}

.header-cta-button-secondary {
  background-color: #333;
}

.header-mobile-menu-button {
  display: block;
  color: #333;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
  padding: 0;
}

.header-mobile-menu-button:hover {
  color: #E7350D;
}

.header-mobile-menu-button svg {
  width: 24px;
  height: 24px;
}

.header-nav-mobile {
  display: block;
  padding: 16px 0;
  border-top: 1px solid #e5e7eb;
}

.header-nav-mobile-link {
  display: block;
  padding: 12px 0;
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.header-nav-mobile-link:hover {
  color: #E7350D;
}

.header-mobile-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.header-mobile-cta-button {
  color: white;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: bold;
  text-decoration: none;
  transition: opacity 0.3s;
  text-align: center;
  display: block;
  border-radius: 9999px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.header-mobile-cta-button:hover {
  opacity: 0.9;
}

.header-mobile-cta-button-primary {
  background-color: #E7350D;
}

.header-mobile-cta-button-secondary {
  background-color: #333;
}

@media (min-width: 1024px) {
  .header-nav-desktop {
    display: flex;
  }

  .header-mobile-menu-button {
    display: none;
  }

  .header-nav-mobile {
    display: none;
  }
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
  background-color: white;
  position: relative;
  overflow: hidden;
}

.hero-background-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-background-image {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-background-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right 80%;
}

.hero-overlay-shape {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 75%;
  height: 100%;
  background-color: #FFF;
  z-index: 0;
  clip-path: polygon(0 0, 92% 0, 81% 100%, 0 100%);
}

.hero-authentication-logo {
  display: none;
  position: absolute;
  right: 0;
  z-index: 10;
  padding: 16px;
  pointer-events: auto;
}

.hero-authentication-logo img {
  width: 126px;
  height: auto;
  display: block;
}

.hero-mobile-auth-note {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  width: 100%;
}

.hero-mobile-auth-logo {
  flex-shrink: 0;
}

.hero-mobile-auth-logo img {
  width: 60px;
  height: auto;
  display: block;
}

.hero-mobile-company-note {
  flex: 1;
  text-align: left;
}

.hero-mobile-company-note p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  color: #423f3c;
  margin: 0;
  line-height: 1.6;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  background-color: transparent;
  position: relative;
}

.hero-inner {
  position: relative;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  padding: 16px 32px;
  gap: 8px;
}

.hero-content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.hero-title {
  font-size: 40px;
  margin-bottom: 24px;
  color: rgb(66, 63, 60);
  margin: 16px 0;
  text-align: left;
  line-height: 150%;
  -webkit-text-stroke: 1px white;
  paint-order: stroke fill;
}

.hero-title-highlight {
  color: #E7350D;
}

.hero-number {
  font-size: 1.5em;
}

.hero-description {
  text-align: left;
  padding-bottom: 24px;
  max-width: 663px;
}

.hero-description-title {
  font-size: 14px;
  line-height: 1.6;
  font-weight: bold;
  color: rgb(66, 63, 60);
  margin-bottom: 8px;
  -webkit-text-stroke: 1px white;
  paint-order: stroke fill;
}

.hero-footnote-container {
  display: block;
  margin-top: 8px;   /* ツール一覧との間の距離 */
}

.hero-footnote {
  display: block;
  font-size: 0.85rem;
  color: #666;
}

.hero-stats {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  width: 100%;
  max-width: 650px;
}

.stats-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  flex-shrink: 0;
}

.stats-item-centered {
  align-self: center;
  justify-content: center;
}

.stats-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: bold;
  font-size: 11px;
  color: #423f3c;
  text-align: center;
  letter-spacing: 0.55px;
  line-height: normal;
  -webkit-text-stroke: 1px white;
  paint-order: stroke fill;
}

.stats-value-container {
  display: flex;
  gap: 2px;
  height: auto;
  align-items: baseline;
  justify-content: center;
  flex-shrink: 0;
  width: fit-content;
}

.stats-number {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: #e7350d;
  letter-spacing: 1.2px;
  line-height: normal;
  white-space: pre;
  -webkit-text-stroke: 1px white;
  paint-order: stroke fill;
}

.stats-unit {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: bold;
  font-size: 11px;
  color: #423f3c;
  text-align: center;
  width: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  line-height: normal;
  -webkit-text-stroke: 1px white;
  paint-order: stroke fill;
}

.hero-stats-note {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  color: #423f3c;
  text-align: left;
  margin-top: 0px;
  margin-bottom: 40px;
  padding-left: 0;
}

.stats-divider {
  display: flex;
  height: 82px;
  align-items: center;
  justify-content: center;
  width: 1px;
  flex-shrink: 0;
}

.stats-divider svg {
  display: block;
  width: 1px;
  height: 82px;
}

.hero-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: flex-start;
  margin-top: -16px;
}

.hero-cta-button {
  padding: 12px 24px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: bold;
  font-size: 14px;
  transition: opacity 0.3s;
  border-radius: 9999px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.14);
}

.hero-cta-button:hover {
  opacity: 0.9;
}

.hero-cta-button-primary {
  background-color: #E7350D;
  color: white;
}

.hero-cta-button-secondary {
  background-color: rgb(66, 63, 60);
  color: rgb(255, 255, 255);

}

.hero-cta-button-secondary:hover {
  background-color: #333;
  color: white;
}

@media (min-width: 640px) {
  .hero-background-image,
  .hero-overlay-shape {
    display: block;
  }

  .hero-inner {
    min-height: 600px;
  }

  .hero-title {
    font-size: 28px;
    margin: 24px 0;
  }

  .hero-description-title {
    font-size: 16px;
  }

  .stats-label {
    font-size: 16px;
    letter-spacing: 0.9px;
  }

  .stats-number {
    font-size: 40px;
    letter-spacing: 2.4px;
  }

  .stats-unit {
    font-size: 20px;
  }

  .stats-item {
    gap: 10px;
  }

  .stats-value-container {
    gap: 5px;
  }

  .hero-stats {
    gap: 30px;
  }

  .hero-cta-buttons {
    flex-direction: row;
  }

  .hero-cta-button {
    padding: 14px 36px;
    font-size: 15px;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 36px;
    margin: 32px 0;
  }

  .hero-description-title {
    font-size: 18px;
  }

  .stats-label {
    font-size: 18px;
  }

  .stats-number {
    font-size: 48px;
  }

  .stats-unit {
    font-size: 24px;
  }

  .hero-cta-button {
    padding: 16px 32px;
    font-size: 16px;
  }
}

@media (min-width: 835px) {
  .hero-title {
    -webkit-text-stroke: 0;
  }

  .hero-description-title {
    -webkit-text-stroke: 0;
  }
  .stats-label {
    -webkit-text-stroke: 0;
  }

  .stats-number {
    -webkit-text-stroke: 0;
  }

  .stats-unit {
    -webkit-text-stroke: 0;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 48px;
  }
}

/* ========================================
   HERO COMPANY NOTE
   ======================================== */

.hero-company-note {
  display: none;
  width: 100%;
  padding: 0 32px 16px;
  text-align: right;
  box-sizing: border-box;
}

.hero-company-note p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  color: #423f3c;
  margin: 0;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .hero-mobile-auth-note {
    display: none;
  }

  .hero-company-note {
    display: block;
    padding: 0 32px 24px;
    max-width: none;
  }

  .hero-company-note p {
    font-size: 12px;
  }

  .hero-authentication-logo {
    display: block;
  }
}


/* ========================================
   PAIN POINTS SECTION
   ======================================== */

.pain-points-section {
  background-color: rgb(255, 255, 255);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.pain-points-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

.pain-points-title {
  font-size: 30px;
  text-align: center;
  margin-bottom: 64px;
  color: #353431;
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
}

.pain-points-title-highlight {
  color: #E7350D;
}

.pain-points-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.pain-points-category {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  padding-top: 32px;
  height: 100%;
}

.pain-points-card {
  position: relative;
  width: 100%;
  background-color: #E4E4E3;
  padding: 48px 32px 32px 32px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pain-points-icon {
  position: absolute;
  top: -48px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 6px solid #E4E4E3;
}

.pain-points-card-title {
  font-size: 24px;
  margin-bottom: 24px;
  color: #423F3C;
  text-align: center;
  font-weight: bold;
}

.pain-points-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.pain-points-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pain-points-bullet {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #E7350D;
  margin-top: 8px;
}

.pain-points-item-text {
  color: #423F3C;
  line-height: 1.6;
  flex: 1;
  font-size: 16px;
  font-weight: bold;
}

.pain-points-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 32px 0;
}

.pain-points-solution-card {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  background-color: white;
  border: 2px solid #E7350D;
  padding: 32px;
}

.pain-points-solution-text {
  font-weight: bold;
  text-align: center;
  margin: 0;
}

.pain-points-solution-line1 {
  color: #423F3C;
  font-size: 24px;
}

.pain-points-solution-highlight {
  color: #E7350D;
  font-size: 32px;
}

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

@media (min-width: 1024px) {
  .pain-points-title {
    font-size: 36px;
  }
}

/* ========================================
   WHY US SECTION
   ======================================== */

.why-us-section {
  background-color: rgb(255, 255, 255);
  padding: 64px 0;
}

.why-us-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.why-us-header {
  margin-bottom: 48px;
}

.why-us-title {
  font-size: 30px;
  text-align: center;
  color: #353431;
}

.why-us-title-highlight {
  color: #E7350D;
}

.why-us-two-column {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 64px;
  align-items: center;
}

.why-us-left-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-us-right-column {
  display: flex;
  justify-content: center;
  align-items: center;
}

.why-us-image-container {
  width: 100%;
}

.why-us-image {
  width: 100%;
  height: auto;
  display: block;
}

.why-us-description {
  font-size: 20px;
  line-height: 1.8;
  color: #423F3C;
}

.why-us-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.why-us-card {
  background-color: #E4E4E3;
  padding: 32px 24px;
}

.why-us-icon-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.why-us-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: #E7350D;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

/* アイコン内のSVGサイズを40pxに統一 */
.why-us-icon svg {
  width: 40px;
  height: 40px;
}

.why-us-card-title {
  font-size: 20px;
  margin-bottom: 16px;
  color: #423F3C;
  text-align: center;
}

.why-us-card-description {
  font-size: 15px;
  line-height: 1.8;
  color: #423F3C;
  text-align: center;
}

.why-us-note {
  background-color: #fff;
  padding: 32px;
  border: 2px solid #E4E4E3;
}

.why-us-note-title {
  font-size: 24px;
  margin-bottom: 16px;
  color: #423F3C;
}

.why-us-note-text {
  font-size: 14px;
  line-height: 1.8;
  color: #423F3C;
  margin-bottom: 16px;
  word-wrap: break-word;
}

.why-us-note-footer {
  font-size: 14px;
  color: #423F3C;
}

@media (min-width: 768px) {
  .why-us-two-column {
    grid-template-columns: 1fr 1fr;
  }

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

@media (min-width: 1024px) {
  .why-us-title {
    font-size: 36px;
  }
}

/* ========================================
   PRICING SECTION
   ======================================== */

.pricing-section {
  background-color: rgb(255, 255, 255);
  padding: 64px 0;
}

.pricing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.pricing-title {
  font-size: 30px;
  text-align: center;
  margin-bottom: 40px;
  color: #353431;
}

.pricing-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border: 0.8px solid #423f3c;
}

.pricing-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  border-right: 0.8px solid #423f3c;
  border-bottom: 0.8px solid #423f3c;
  vertical-align: top;
}

.pricing-table th:last-child,
.pricing-table td:last-child {
  border-right: none;
}

.pricing-table thead th {
  background: #e7350d;
  color: #fff;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 700;
  text-align: center;
  padding: 18px 20px;
}

.pricing-table thead th:nth-child(1) {
  width: 21%;
}

.pricing-table thead th:nth-child(2) {
  width: 29%;
}

.pricing-table thead th:nth-child(3) {
  width: 50%;
}

.pricing-table tbody tr:last-child th,
.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-table tbody th {
  font-size: 20px;
  line-height: 1.45;
  font-weight: 700;
  text-align: center;
  padding: 24px;
  white-space: nowrap;
}

.pricing-table tbody td {
  line-height: 1.25;
  padding: 24px;
}

.pricing-table-fee {
  font-size: 20px;
  line-height: 1.45;
  font-weight: 700;
  text-align: center;
}

.pricing-table-fee span {
  font-size: 14px;
}

.pricing-table-example {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
}

.pricing-message {
  margin-top: 32px;
  background: #e4e4e3;
  text-align: center;
  padding: 32px 24px;
}

.pricing-message p {
  font-size: 24px;
  line-height: 1.33;
  font-weight: 700;
}

.pricing-message-sub {
  font-size: 20px;
}

.pricing-message-underline {
  text-decoration: underline;
  text-decoration-color: #e7350d;
  text-decoration-thickness: 3px;
}

.pricing-notes {
  margin-top: 24px;
}

.pricing-notes-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.pricing-notes p {
  font-size: 16px;
  line-height: 1.25;
}

@media (max-width: 1023px) {
  .pricing-table tbody th {
    font-size: 24px;
    line-height: 1.4;
    padding: 28px 12px;
  }

  .pricing-table-fee {
    font-size: 30px;
  }

  .pricing-table-fee span {
    font-size: 24px;
  }

  .pricing-table-example {
    font-size: 16px;
    margin-top: 12px;
  }

  .pricing-message p,
  .pricing-message-sub {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .pricing-title {
    margin-bottom: 32px;
  }

  .pricing-table thead th {
    font-size: 18px;
    padding: 14px;
  }

  .pricing-table tbody td {
    padding: 16px;
    font-size: 14px;
  }

  .pricing-table tbody th {
    font-size: 18px;
    padding: 16px;
  }

  .pricing-table tbody td.pricing-table-fee {
    font-size: 18px;
  }

  .pricing-table-fee span {
    font-size: 14px;
  }

  .pricing-table-example {
    font-size: 14px;
    line-height: 1.4;
  }

  .pricing-message {
    margin-top: 20px;
  }

  .pricing-message p,
  .pricing-message-sub {
    font-size: 18px;
    line-height: 1.4;
  }

  .pricing-notes {
    margin-top: 18px;
  }

  .pricing-notes-title {
    font-size: 14px;
  }

  .pricing-notes p {
    font-size: 14px;
    line-height: 1.45;
  }
}

@media (min-width: 1024px) {
  .pricing-title {
    font-size: 36px;
  }
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
  background-color: #E7350D;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.cta-triangle-1,
.cta-triangle-2,
.cta-triangle-3 {
  position: absolute;
  background-color: #c62e0a;
}

.cta-triangle-1 {
  top: -40%;
  left: -70%;
  width: 140%;
  height: 140%;
  transform: rotate(327deg);
}

.cta-triangle-2 {
  top: -10%;
  right: -100%;
  width: 190%;
  height: 190%;
  transform: rotate(327deg);
}

.cta-triangle-3 {
  top: -55%;
  left: -65%;
  width: 140%;
  height: 140%;
  background-color: rgba(237, 90, 58, 0.6);
  transform: rotate(297deg);
}

.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  align-items: center;
}

.cta-button {
  padding: 24px 48px;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
  font-size: 20px;
  line-height: 30px;
  transition: opacity 0.3s;
  min-width: 0;
  border-radius: 9999px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.cta-button:hover {
  opacity: 0.9;
}

.cta-button-primary {
  background-color: white;
  color: #E7350D;
}

.cta-button-secondary {
  background-color: #353431;
  color: white;
}

@media (min-width: 768px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* ========================================
   CASE STUDIES SECTION
   ======================================== */

.case-studies-section {
  background-color: white;
  padding: 80px 0;
}

.case-studies-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.case-studies-title {
  font-size: 30px;
  text-align: center;
  margin-bottom: 64px;
  color: #353431;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.case-study-card {
  background-color: #D9D9D9;
  display: flex;
  flex-direction: column;
  gap: 19px;
  padding: 32px 24px;
}

.case-study-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.case-study-title {
  font-size: 20px;
  font-weight: bold;
  color: #353431;
  text-align: center;
  line-height: 30px;
  width: 100%;
  margin: 0 0 8px 0;
}

.case-study-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.case-study-meta-label {
  background-color: #353431;
  padding: 2px 12px;
}

.case-study-meta-label-text {
  font-size: 14px;
  color: white;
}

.case-study-meta-value {
  font-size: 14px;
  color: #353431;
  font-weight: bold;
}

.case-study-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: #ccc;
}

.case-study-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-study-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.case-study-section-header {
  display: flex;
  align-items: center;
  gap: 4px;
}

.case-study-checkmark {
  font-size: 16px;
  font-weight: bold;
  color: #353431;
}

.case-study-section-title {
  font-size: 16px;
  font-weight: bold;
  color: #353431;
}

.case-study-section-content {
  margin-left: 20px;
}

.case-study-list {
  font-size: 14px;
  font-weight: 500;
  color: #353431;
  line-height: 20px;
  list-style: none;
  padding-left: 0;
}

.case-study-list-item {
  position: relative;
  padding-left: 12px;
}

.case-study-list-item::before {
  content: '・';
  position: absolute;
  left: 0;
  font-size: 12px;
  top: 1px;
}

.case-study-text {
  font-size: 14px;
  font-weight: 500;
  color: #353431;
  line-height: 20px;
}

.case-study-result {
  background-color: white;
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  padding: 16px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.case-study-result-title {
  font-size: 18px;
  font-weight: bold;
  color: #E7350D;
  text-align: center;
  line-height: 24px;
}

.case-study-result-text {
  font-size: 14px;
  font-weight: bold;
  color: black;
  text-align: center;
  line-height: 20px;
}

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

@media (min-width: 1024px) {
  .case-studies-title {
    font-size: 36px;
  }
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq-section {
  background-color: rgb(255, 255, 255);
  padding: 64px 0;
}

.faq-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.faq-title {
  font-size: 30px;
  text-align: center;
  margin-bottom: 64px;
  color: #353431;
}

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

.faq-item {
  background-color: white;
  overflow: hidden;
  border: 1px solid #423F3C;
}

.faq-question-button {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  transition: background-color 0.3s;
  background-color: white;
  border: none;
  cursor: pointer;
  /* iOS Safari でシステムボタン色が出ないように */
  -webkit-appearance: none;
  appearance: none;
  color: #353431;
}

.faq-question-button:hover {
  background-color: #f9f9f9;
}

.faq-question-text {
  padding-right: 32px;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  -webkit-text-fill-color: currentColor;
}

.faq-question-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  color: rgb(66, 63, 60);
  margin-right: 16px;
  flex-shrink: 0;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: #E7350D;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-chevron.open {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 8px 24px 20px 24px;
  color: #423F3C;
  line-height: 1.6;
}

.faq-answer-inner {
  display: flex;
  align-items: flex-start;
}

.faq-answer-icon {
  width: 24px;
  height: 24px;
  color: #E7350D;
  margin-right: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* iOS Safari: FAQ内のリンク色を通常テキストに合わせる */
.faq-section a,
.faq-section a:link,
.faq-section a:visited,
.faq-section a:hover,
.faq-section a:active {
  color: inherit;
  text-decoration: none;
}

/* iOSで色が残るケースの保険 */
.faq-section a {
  -webkit-text-fill-color: currentColor;
}

@media (min-width: 1024px) {
  .faq-title {
    font-size: 36px;
  }
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-section {
  background-color: #E7350D;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.contact-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.contact-triangle-1,
.contact-triangle-2,
.contact-triangle-3 {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.05);
}

.contact-triangle-1 {
  top: 0;
  left: 0;
  width: 200px;
  height: 200px;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.contact-triangle-2 {
  bottom: 0;
  right: 0;
  width: 300px;
  height: 300px;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.contact-triangle-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.contact-button {
  padding: 16px 48px;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
  font-size: 16px;
  transition: opacity 0.3s;
  min-width: 250px;
}

.contact-button:hover {
  opacity: 0.9;
}

.contact-button-primary {
  background-color: white;
  color: #E7350D;
}

.contact-button-secondary {
  background-color: #353431;
  color: white;
}

@media (min-width: 768px) {
  .contact-buttons {
    flex-direction: row;
  }
}

/* ========================================
   MOBILE TYPOGRAPHY & SPACING TUNING
   ======================================== */
@media (max-width: 767px) {
  .pain-points-section,
  .why-us-section,
  .pricing-section,
  .case-studies-section,
  .faq-section {
    padding: 48px 0;
  }

  .cta-section,
  #contact.cta-section {
    padding: 48px 0;
  }

  .pain-points-container,
  .why-us-container,
  .pricing-container,
  .case-studies-container,
  .faq-container,
  .cta-container,
  .contact-container {
    padding: 0 16px;
  }

  .pain-points-title,
  .why-us-title,
  .pricing-title,
  .case-studies-title,
  .faq-title {
    font-size: 26px;
    line-height: 1.35;
    margin-bottom: 36px;
  }

  .why-us-header {
    margin-bottom: 28px;
  }

  .why-us-description {
    font-size: 16px;
    line-height: 1.7;
  }

  .why-us-two-column,
  .why-us-cards {
    gap: 20px;
    margin-bottom: 32px;
  }

  .pain-points-grid {
    gap: 24px;
  }

  .pain-points-card {
    padding: 40px 20px 24px;
    min-height: auto;
  }

  .pain-points-card-title {
    font-size: 22px;
    margin-bottom: 16px;
  }

  .pain-points-item-text {
    font-size: 15px;
  }

  .pain-points-solution-card {
    padding: 20px 16px;
  }

  .pain-points-solution-line1 {
    font-size: 20px;
  }

  .pain-points-solution-highlight {
    font-size: 28px;
  }

  .case-study-card {
    padding: 24px 16px;
  }

  .case-study-title {
    font-size: 18px;
    line-height: 1.5;
  }

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

  .faq-answer {
    padding: 8px 16px 16px;
  }

  .cta-buttons {
    gap: 14px;
  }

  .cta-button {
    width: 100%;
    max-width: 420px;
    padding: 16px 18px;
    font-size: 17px;
    line-height: 1.4;
  }
}
