* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  color: #000;
}
html {
  scroll-behavior: smooth;
}
main#contents {
  max-width: none;
  padding: 0;
  line-height: normal;
}

:root {
  --color-primary: #c41623;
  --color-navy: #032647;
  --color-white: #ffffff;
  --color-text: #161c2d;
  --transition-smooth: all 0.3s ease;

  /* font-size設定 */
  --f64: clamp(2.8rem, 5vw, 4rem); /* 32px〜64px */
  --f36: clamp(1.13rem, 2.81vw, 2.25rem); /* 約18px〜36px */
  --f30: clamp(2.25rem, 2.81vw, 3rem); /* 約18px〜30px */
  --f24: clamp(0.9rem, 1.875vw, 1.5rem); /* 約14.4px〜24px */
  --f20: clamp(0.75rem, 1.563vw, 1.25rem); /* 12px〜20px */
  --f18: clamp(1.6rem, 1.7vw, 1.6rem); /* 16px〜18px */
  --f16: clamp(0.625rem, 1.25vw, 1rem); /* 10px〜16px */
  --f14: clamp(0.625rem, 1.09vw, 0.875rem); /* 10px〜14px */
  --f12: clamp(0.56rem, 0.94vw, 0.75rem); /* 約9px〜12px */
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--color-text);
  background: white;
  overflow-x: hidden;
}

.font-mincho {
  font-family: "游明朝", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN",
    "Hiragino Mincho Pro", "MS PMincho", "MS Mincho", serif;
  font-weight: 500;
}

@media screen and (min-width: 768px) {
  .sp-only {
    display: none;
  }
  .sp-br {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .pc-only {
    display: none;
  }
  .sp-br {
    display: inline;
  }
  .pc-br {
    display: none;
  }
}

.header {
  width: 100%;
  height: 80px;
}

.header-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-section {
  position: relative;
  width: 100%;
  min-height: 680px;
  background: url("/dcms_media/image/irs-hero-bg.jpg") center/cover no-repeat;
  display: flex;
  flex-direction: column;
  gap: 70px;
  padding: 20px;
}

.hero-title {
  margin: 120px auto 0;
  font-size: 48px;
  font-weight: 500;
  color: white;
  text-align: center;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.65);
  line-height: 1.4;
}

.hero-content {
  margin-left: auto;
  margin-right: 200px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero-subtitle-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-subtitle-en {
  font-family: "Roboto", sans-serif;
  font-size: 24px;
  color: white;
  letter-spacing: 0.48px;
}

.hero-subtitle-ja {
  font-size: 38px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.76px;
}

.hero-description {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-text {
  font-size: var(--f18);
  font-weight: 500;
  color: white;
  letter-spacing: 0.36px;
  line-height: 26px;
}

.hero-features {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 15px;
  border: 2px solid white;
  background: rgba(255, 255, 255, 0.05);
}

.hero-feature {
  font-size: 17px;
  color: white;
  text-align: center;
  line-height: 24px;
}

.hero-divider {
  width: 2px;
  height: 45px;
  background: white;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  white-space: nowrap;
  text-decoration: none !important;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background: #a61219;
  box-shadow: rgb(85 85 85 / 40%) 0px 3px 8px;
}

.btn-secondary {
  background: white;
  color: var(--color-navy);
}

.btn-secondary:hover {
  background: #f5f5f5;
}

.btn-outline {
  background: white;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: #fff5f5;
}

.btn-large {
  height: 56px;
  padding: 20px 32px;
  font-size: var(--f18);
}

.cta-section {
  width: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    linear-gradient(0deg, rgba(3, 38, 71, 0.6), rgba(3, 38, 71, 0.6)),
    url("/dcms_media/image/irs_cta_bg.jpg") center/cover;
  padding: 60px 20px;
}

.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.cta-title {
  font-size: 32px;
  font-weight: 700;
  color: white;
  text-align: center;
  line-height: 42px;
  letter-spacing: 0.8px;
}

.cta-content {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-left {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta-logo {
  width: 100%;
  max-width: 537px;
}

.cta-service-title {
  font-size: var(--f64);
  font-weight: 700;
  color: white;
  text-align: center;
  line-height: 38px;
}

.cta-service-subtitle {
  font-size: 16px;
  font-weight: 700;
  color: white;
  text-align: center;
  line-height: 26px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 auto;
}

.cta-right {
  width: 100%;
  max-width: 502px;
  background: linear-gradient(0deg, rgba(0, 15, 44, 0.5), rgba(0, 15, 44, 0.5)),
    url("/dcms_media/image/irs_cta_operator.png") center/cover;
  padding: 30px;
  border: 1px solid white;
  border-radius: 10px;
}

.emergency-contact {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.emergency-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 15px;
  border-bottom: 1.5px solid white;
}

.emergency-icon {
  width: 61px;
  height: 55px;
}

.emergency-text p {
  color: white;
  font-weight: 700;
  font-size: 17px;
  line-height: 22px;
  text-shadow: 0px 1px 4px rgba(90, 90, 90, 0.65);
}

.emergency-highlight {
  font-size: 32px !important;
  line-height: 41px !important;
}

.emergency-label {
  color: white;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  line-height: 24px;
}

.emergency-phone {
  background: white;
  border-radius: 5px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.emergency-hours {
  color: var(--color-navy);
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  line-height: 24px;
}

.emergency-number {
  color: var(--color-navy);
  font-weight: 700;
  font-size: 28px;
  text-align: center;
  line-height: 32px;
  letter-spacing: 0.55px;
}

.services-section {
  position: relative;
  width: 100%;
  background: white;
  border-top: 20px solid var(--color-primary);
  padding: 80px 20px 100px;
}

.services-bg {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100% !important;
  height: auto !important;
  min-height: 370px;
  z-index: 0;
  object-fit: cover;
}

.services-container {
  position: relative;
  max-width: 1282px;
  margin: 0 auto;
  z-index: 1;
}

.services-header {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  margin-bottom: 60px;
}

.services-label {
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  letter-spacing: 0.5px;
}

.services-title {
  font-size: var(--f64);
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  line-height: 48px;
}

.services-description {
  font-size: var(--f18);
  color: var(--color-text);
  text-align: center;
  line-height: 28px;
}

.services-note {
  font-size: 14px;
  color: var(--color-text);
  text-align: center;
  line-height: 18px;
  margin-bottom: 15px;
}

.tabs {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto !important;
}

.tabs-list {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tab-trigger {
  flex: 1;
  min-width: 250px;
  max-width: 490px;
  padding: 12px 40px;
  border-radius: 40px;
  background: rgba(3, 38, 71, 0.05);
  color: rgba(3, 38, 71, 0.5);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.tab-trigger:hover {
  background: rgba(3, 38, 71, 0.1);
  transform: translateY(-2px);
}

.tab-trigger.active {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    linear-gradient(0deg, var(--color-navy), var(--color-navy));
  color: white;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0px 8px 15px rgba(187, 187, 187, 0.6);
  padding: 40px;
  min-height: 400px;
}

.tab-placeholder {
  text-align: center;
  color: var(--color-text);
  font-size: 14px;
  line-height: 18px;
}

.tab-intro {
  text-align: center;
  color: var(--color-text);
  font-size: 14px;
  line-height: 18px;
  margin-bottom: 30px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  background: white;
  border-radius: 10px;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 80px !important;
  height: 80px !important;
  transition: var(--transition-smooth);
}

.service-card:hover img {
  transform: scale(1.1);
}

.service-card h3 {
  font-size: var(--f18);
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  line-height: 20px;
}

.service-card p {
  font-size: 14px;
  color: var(--color-text);
  line-height: 18px;
}

.services-footer {
  margin-top: 40px;
  font-size: 22px;
  font-weight: 700;
  color: white;
  text-align: center;
  line-height: 32px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer {
  width: 100%;
}

.footer-image {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1200px) {
  .hero-content {
    margin-right: 100px;
  }

  .hero-title {
    font-size: var(--f64);
    margin-top: 100px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    gap: 40px;
    padding-bottom: 40px;
    align-items: center;
    margin-top: 60px;
  }

  .hero-title {
    font-size: 28px;
    margin-top: 60px;
  }

  .hero-content {
    margin-left: 0px;
    margin-right: 0px;
  }

  .hero-subtitle-en {
    font-size: var(--f18);
  }

  .hero-subtitle-ja {
    font-size: 28px;
  }

  .hero-features {
    flex-direction: column;
    gap: 10px;
    background: #070d248c;
  }

  .hero-divider {
    width: 100%;
    height: 2px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .cta-title {
    font-size: 24px;
  }

  .cta-content {
    flex-direction: column;
  }

  .cta-right {
    width: 100%;
    padding: 15px;
    margin: 0 auto;
  }

  .emergency-header {
    flex-direction: column;
    text-align: center;
  }

  .services-title {
    font-size: var(--f64);
  }

  .tab-trigger {
    font-size: 14px;
    padding: 10px 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .workflow-diagram-title {
    font-size: 20px !important;
    padding: 0 15px;
  }

  .services-tabs-list {
    position: sticky;
    top: 0;
    z-index: 10;
    background: white;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .services-bg {
    min-height: 500px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .services-grid > div {
    flex-direction: column;
    padding: 0;
  }

  .strengths-cards {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .strength-card {
    min-width: 0;
    max-width: none;
  }

  .services-grid img {
    width: 60px;
    height: 60px;
  }

  .services-tab-heading {
    display: block !important;
  }
}

@media (max-width: 480px) {
  .header {
    height: 60px;
  }

  .hero-title {
    font-size: 28px;
    margin-top: 30px;
  }

  .hero-subtitle-en {
    font-size: 16px;
  }

  .hero-subtitle-ja {
    font-size: 32px;
    line-height: normal;
    text-align: center;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-feature {
    font-size: 15px;
  }

  .cta-title {
    font-size: 20px;
    line-height: 32px;
  }

  .cta-service-title {
    font-size: 28px;
  }

  .emergency-text p {
    font-size: 14px;
  }

  .emergency-highlight {
    font-size: 22px !important;
  }

  .emergency-number {
    font-size: 24px;
  }

  .tab-card {
    padding: 20px;
  }
}

.main-content-section {
  width: 100%;
  background: #f5f5f5;
  padding: 53px 20px;
  display: flex;
  justify-content: center;
}

.main-content-container {
  display: flex;
  gap: 0;
  max-width: 1250px;
  flex-wrap: wrap;
  justify-content: center;
}

.support-image {
  width: 340px;
  max-height: 230px;
  object-fit: cover;
}

.contact-card {
  width: 440px;
  height: 230px;
  background: var(--color-navy);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
@media (max-width: 1024px) {
  .support-image {
    width: 100% !important;
    max-height: 180px;
    object-fit: cover;
  }
  .contact-card {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 15px;
    gap: 15px;
  }
}
.contact-header {
  padding-bottom: 10px;
  border-bottom: 1px solid white;
}

.contact-text {
  font-size: var(--f18);
  font-weight: 700;
  color: white;
  text-align: center;
  line-height: 24px;
}

.contact-highlight {
  font-size: var(--f30);
  line-height: normal;
}

.contact-label {
  font-size: 14px;
  font-weight: 700;
  color: white;
  text-align: center;
  line-height: 22px;
}

.contact-phone {
  background: white;
  border-radius: 5px;
  padding: 5px;
}

.contact-hours {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-navy);
  text-align: center;
  line-height: 16px;
}

.contact-number {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-navy);
  text-align: center;
  letter-spacing: 0.5px;
}

.notice-card {
  background: white;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  flex: 1;
  min-width: 300px;
}

.notice-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 20px;
}

ul.notice-content {
  margin-left: 20px;
}
.notice-content li {
  font-size: 14px;
  color: var(--color-navy);
  line-height: 18px;
  list-style-type: disc;
}

.notice-underline {
  text-decoration: underline;
}

.issues-section {
  position: relative;
  width: 100%;
  background: #fafafa;
  padding: 91px 20px;
}

.issues-bg {
  position: absolute;
  width: 100% !important;
  top: 0;
  left: 0;
  height: 370px !important;
  object-fit: cover;
}

.issues-container {
  position: relative;
  max-width: 1260px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
}

.issues-title {
  font-size: var(--f64);
  font-weight: 700;
  color: white;
  text-align: center;
  letter-spacing: 2px;
  line-height: normal;
}

.issues-content {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.issues-image {
  max-width: 520px;
  width: 100%;
  height: auto;
}

.issues-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 610px;
}

.issue-card {
  background: white;
  border: 3px solid var(--color-navy);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 206px;
  transition: var(--transition-smooth);
}

.issue-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(3, 38, 71, 0.2);
}

.issue-card img {
  width: 60px;
  height: 60px;
}

.issue-card h3 {
  font-size: var(--f18);
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  line-height: 26px;
}

.issue-card p {
  font-size: 16px;
  color: var(--color-text);
  text-align: center;
  line-height: 22px;
}

.issues-footer {
  font-size: 25px;
  font-weight: 500;
  color: var(--color-navy);
  text-align: center;
  line-height: 48px;
}

.about-section {
  position: relative;
  width: 100%;
  border-top: 20px solid var(--color-primary);
  padding-bottom: 60px;
}

.about-bg {
  position: absolute;
  left: 25%;
  bottom: 0px;
  width: 75%;
  max-height: 600px;
  object-fit: cover;
  z-index: 0;
}

.about-container {
  position: relative;
  max-width: 1245px;
  margin: 0 auto;
  padding: 140px 20px 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  z-index: 1;
}

.about-label {
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  letter-spacing: 1px;
}

.about-title {
  font-size: var(--f64);
  font-weight: 700;
  color: var(--color-navy);
  text-align: center;
  line-height: 48px;
}

.about-description {
  font-size: var(--f18);
  color: var(--color-navy);
  text-align: center;
  line-height: 28px;
}

.workflow-diagram-container {
  position: relative;
  max-width: 1280px;
  margin: 70px auto 0;
  padding: 0px;
  z-index: 1;
}

.workflow-diagram-title {
  font-size: 28px;
  font-weight: 500;
  color: var(--color-primary);
  text-align: center;
  margin: 50px 0 30px;
  line-height: normal;
}

.workflow-diagram-intro {
  max-width: 645px;
  padding: 15px 10px 15px 20px;
  border-left: 3px solid var(--color-primary);
  margin-bottom: 46px;
  margin: 10px;
}

.workflow-diagram-intro p {
  font-size: var(--f18);
  color: var(--color-text);
  line-height: 24px;
}

.workflow-diagram {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 60px 0;
  flex-wrap: wrap;
}

.workflow-diagram img {
  width: calc(20% - 16px) !important;
  min-width: 180px;
  max-width: 240px !important;
  height: auto !important;
  object-fit: contain;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.workflow-diagram img:nth-child(1) {
  animation-delay: 0.1s;
}

.workflow-diagram img:nth-child(2) {
  animation-delay: 0.2s;
}

.workflow-diagram img:nth-child(3) {
  animation-delay: 0.3s;
}

.workflow-diagram img:nth-child(4) {
  animation-delay: 0.4s;
}

.workflow-diagram img:nth-child(5) {
  animation-delay: 0.5s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.workflow-header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  min-height: 80px;
  margin-bottom: 12px;
}

.workflow-badge {
  position: absolute;
  top: -8px;
  right: 0;
  background: var(--color-primary);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  border: 2px solid white;
  box-shadow: 0 2px 8px rgba(196, 30, 58, 0.3);
}

.workflow-badge.secondary {
  background: #1e88e5;
}

.workflow-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-top: auto;
}

.workflow-number {
  font-size: 48px;
  font-weight: 700;
  color: #e8e8e8;
  line-height: 1;
  margin: 8px 0;
}

.workflow-title {
  font-size: var(--f18);
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  margin: 8px 0 12px;
  line-height: 1.3;
}

.workflow-box {
  width: 100%;
  background: #002855;
  color: white;
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.workflow-box p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

.workflow-list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.workflow-list li {
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.8;
  padding-left: 18px;
  position: relative;
}

.workflow-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--color-text);
}

.strengths-section {
  width: 100%;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  gap: 75px;
  padding-bottom: 75px;
}

.strengths-bg {
  width: 100% !important;
  height: 270px !important;
  object-fit: cover;
}

.strengths-container {
  max-width: 996px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.strengths-label {
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  letter-spacing: 0.5px;
}

.strengths-title {
  font-size: var(--f64);
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  line-height: 48px;
}

.strengths-cards {
  display: flex;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.strength-card {
  flex: 1;
  min-width: 300px;
  max-width: 380px;
  background: white;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--transition-smooth);
  box-sizing: border-box;
}

.strength-card img {
  width: 100%;
  height: 200px !important;
  object-fit: cover;
  border-radius: 5px;
}

.strength-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-navy);
  text-align: center;
  line-height: 32px;
}

.strength-card p {
  font-size: 16px;
  color: var(--color-text);
  line-height: 26px;
}

.flow-section {
  position: relative;
  width: 100%;
  background: rgba(3, 38, 71, 0.03);
  padding: 92px 20px;
}

/* ========== FLOW（サービスご提供の流れ） ========== */

/* ベース：PC向け（デスクトップレイアウトを優先） */
.flow-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 40px;
}

/* PCではテーブルレイアウトのみ表示 */
.flow-mobile-image {
  display: none !important;
  width: 100% !important;
  height: auto !important;
}

.flow-desktop-content {
  display: block;
}

/* スマホ & タブレット（〜1024px）：画像表示に切り替え */
@media (max-width: 1023px) {
  .flow-card {
    padding: 0px;
  }

  .flow-mobile-image {
    display: block !important;
  }

  .flow-desktop-content {
    display: none;
  }
}

.flow-bg {
  position: absolute;
  top: 5%;
  right: 0;
  width: 40% !important;
}

.flow-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
}

.flow-header {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  margin-bottom: 50px;
}

.flow-label {
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  letter-spacing: 0.5px;
}

.flow-title {
  font-size: var(--f64);
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  line-height: 48px;
}

.flow-headers {
  display: flex;
  gap: 30px;
  align-items: center;
  height: 50px;
  margin-bottom: 40px;
}

.flow-spacer {
  width: 290px;
}

.flow-customer-header,
.flow-sompo-header {
  width: 380px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: var(--f18);
  font-weight: 700;
  color: white;
  padding: 10px 15px;
}

.flow-customer-header {
  flex: 2;
  background: var(--color-navy);
}

.flow-sompo-header {
  flex: 2;
  background: var(--color-primary);
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.flow-step {
  position: relative;
  display: flex;
  gap: 30px;
  align-items: center;
  height: 50px;
}

.flow-step-title {
  flex: 1;
  min-width: 290px;
  max-width: 290px;
  height: 100%;
  padding: 0 15px;
  display: flex;
  align-items: center;
  border: 1px solid var(--color-navy);
  border-radius: 5px;
  background: white;
  font-size: var(--f18);
  font-weight: 700;
  color: var(--color-navy);
}

.flow-step-customer,
.flow-step-sompo {
  /* width: 380px; */
  height: 100%;
  display: grid;
  align-items: center;
  justify-content: center;
  font-size: var(--f18);
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  flex: 2;
}

.flow-step-special {
  flex: 3;
  height: 70px;
  align-items: center;
  background: #f7f8f9;
  border-radius: 10px;
  padding: 15px 20px;
  font-size: var(--f18);
  color: var(--color-text);
  text-align: center;
}
.flow-step-special small {
  font-size: 75%;
  line-height: 2.2em;
}

.flow-step-contract {
  position: relative;
  height: 50px;
}

.flow-contract {
  height: 100%;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--color-navy);
  border-radius: 5px;
  background: linear-gradient(
    0deg,
    rgba(161, 198, 255, 0.2),
    rgba(161, 198, 255, 0.2)
  );
  font-size: 19px;
  font-weight: 700;
  color: var(--color-navy);
}

.flow-step-final {
  flex: 3;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--f18);
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
}

.flow-arrow {
  position: absolute;
  left: 74px;
  top: 49px;
  width: 12px !important;
  height: 46px !important;
  z-index: 5;
}

.voice-section {
  width: 100%;
  border-top: 20px solid var(--color-primary);
  padding: 119px 20px 61px;
}

.voice-container {
  max-width: 996px;
  margin: 0 auto 61px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.voice-label {
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  letter-spacing: 0.5px;
}

.voice-title {
  font-size: var(--f64);
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  line-height: 48px;
}

.voice-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.voice-card {
  background: white;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.voice-card img {
  width: 100%;
  height: 152px;
  object-fit: cover;
}

.voice-card-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.voice-card h3 {
  font-size: var(--f18);
  font-weight: 700;
  color: var(--color-text);
  line-height: 23px;
}

.voice-industry {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.7px;
}

.voice-description {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 21px;
}

.final-cta-section {
  width: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    linear-gradient(0deg, rgba(3, 38, 71, 0.6), rgba(3, 38, 71, 0.6)),
    url("/dcms_media/image/irs_cta_bg.jpg") center/cover;
  padding: 60px 20px;
}

.final-cta-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.final-cta-left {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.final-cta-logo {
  width: 100%;
  max-width: 537px;
}

.final-cta-title {
  font-size: var(--f64);
  font-weight: 700;
  color: white;
  text-align: center;
  line-height: 48px;
}

.final-cta-subtitle {
  font-size: 16px;
  font-weight: 700;
  color: white;
  text-align: center;
  line-height: 26px;
}

.final-cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 auto;
}

.final-cta-right {
  width: 100%;
  max-width: 502px;
  background: linear-gradient(0deg, rgba(0, 15, 44, 0.5), rgba(0, 15, 44, 0.5)),
    url("/dcms_media/image/irs_cta_operator.png") center/cover;
  padding: 30px;
  border: 1px solid white;
  border-radius: 10px;
}

.emergency-number {
  color: var(--color-navy);
  font-weight: 700;
  font-size: 30px;
  text-align: center;
  line-height: 32px;
  letter-spacing: 0.55px;
  font-family: Arial, Helvetica, sans-serif;
}

@media (min-width: 769px) and (max-width: 1024px) {
  .main-content-section {
    padding: 30px 15px;
  }

  .main-content-container {
    flex-direction: column;
    align-items: center;
  }

  .support-image {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .contact-card {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 25px 15px;
    gap: 15px;
  }

  .contact-text {
    font-size: 16px;
    line-height: 1.6;
  }

  .contact-highlight {
    font-size: 18px;
    display: block;
    margin-top: 5px;
  }

  .contact-phone {
    padding: 10px;
  }

  .contact-hours {
    font-size: 11px;
    line-height: 1.4;
  }

  .contact-number {
    font-size: 22px;
    letter-spacing: 0.3px;
  }

  .notice-card {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 20px 15px;
    min-width: unset;
  }

  .notice-title {
    font-size: 13px;
    line-height: 1.5;
  }

  .notice-content {
    margin-left: 15px;
  }

  .notice-content li {
    font-size: 12px;
    line-height: 1.6;
  }

  .flow-header {
    margin-bottom: 50px;
  }

  .workflow-diagram {
    gap: 10px;
    margin: 40px 0;
  }

  .workflow-diagram img {
    width: calc(30% - 10px);
    min-width: 150px;
    max-width: none;
  }

  .workflow-header {
    min-height: 60px;
  }

  .workflow-badge {
    font-size: 11px;
    padding: 5px 12px;
  }

  .workflow-icon {
    width: 50px;
    height: 50px;
  }

  .workflow-number {
    font-size: var(--f64);
  }

  .workflow-title {
    font-size: 16px;
  }

  .workflow-box p {
    font-size: 13px;
  }

  .workflow-list li {
    font-size: 12px;
  }

  .strengths-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 20px;
  }

  .strength-card {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .voice-cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .final-cta-section {
    padding: 40px 20px;
  }

  .final-cta-container {
    flex-direction: column;
    gap: 30px;
  }

  .final-cta-left {
    width: 100%;
  }

  .final-cta-title {
    font-size: 20px;
    line-height: 1.4;
  }

  .final-cta-subtitle {
    font-size: 14px;
  }

  .final-cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-large {
    width: 100%;
    font-size: 14px;
    padding: 12px 20px;
  }

  .final-cta-right {
    width: 100%;
    padding: 20px;
  }
}

.incident-popup {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 340px;
  height: 220px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  z-index: 9999;

  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.incident-popup.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.incident-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.incident-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 39, 0.5);
}

.incident-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 10px 20px 10px;
  color: #fff;
}

.incident-header {
  /* background: rgba(0, 20, 39, 0.8); border-radius: 6px; */
  padding: 8px 10px;
  text-align: center;
  margin-bottom: 8px;
  border-bottom: #fff 1px solid;
}

.incident-header-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
}

.incident-availability {
  margin: 0 0 8px;
  font-size: 12px;
  color: #fff;
  text-align: center;
}

.incident-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 8px 10px;
  background: #c41623;
  border-radius: 5px;
  color: #fff;
  text-decoration: none !important;
}

.incident-tel-icon img {
  width: 32px;
  height: 32px;
}

.incident-tel-number {
  font-family: Arial, sans-serif;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.incident-detail-link {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: block;
  background: #ffffff;
  color: #032647;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  padding: 10px;
  text-decoration: none !important;
  border-radius: 0;
}

.incident-detail-link:hover {
  text-decoration: underline;
}

.incident-close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  cursor: pointer;
  z-index: 3;
}
.incident-close:hover {
  background: rgba(0, 0, 0, 0.75);
}
