@charset "UTF-8";
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  color: #333333;
  background-color: #FFFFFF;
  line-height: 1.8;
  letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  color: #333333;
  background-color: #FFFFFF;
  line-height: 1.8;
  letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 96px;
  background-color: transparent;
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
}
.site-header.scrolled {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-contents {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  display: block;
  max-height: 30px; /* Reduced from 40px */
  width: auto;
}
.logo .logo-text {
  font-size: 24px;
  font-weight: 800;
  color: #333;
  margin-left: 15px;
  letter-spacing: 0.05em;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.nav-menu ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu .has-submenu {
  position: relative;
}
.nav-menu .has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-menu .submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  padding: 6px 0;
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0;
  /* Add a little upward triangle */
  /* Invisible bridge to keep hover state active */
}
.nav-menu .submenu::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background-color: #fff;
  box-shadow: -3px -3px 5px rgba(0, 0, 0, 0.02);
  z-index: 1;
  border-top-left-radius: 2px;
}
.nav-menu .submenu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 12px;
  background: transparent;
}
.nav-menu .submenu li {
  width: 100%;
  position: relative;
  z-index: 2;
}
.nav-menu .submenu li.has-subnested:hover > .subnested {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-menu .submenu li.has-subnested > a {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
}
.nav-menu .submenu li.has-subnested > a::after {
  content: "";
  width: 5px;
  height: 5px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 8px;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}
.nav-menu .submenu li.has-subnested > a:hover::after {
  opacity: 1;
}
.nav-menu .submenu .subnested {
  position: absolute;
  top: -6px;
  left: 100%;
  background-color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  padding: 6px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 10;
  display: flex;
  flex-direction: column;
}
.nav-menu .submenu .subnested li a {
  padding: 10px 20px;
  font-size: 12px;
}
.nav-menu .submenu a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 100%;
  /* Cancel the parent nav `a` styles */
}
.nav-menu .submenu a::before {
  display: none !important;
}
.nav-menu .submenu a::after {
  display: none !important;
}
.nav-menu .submenu a span {
  display: inline-block;
  transition: transform 0.3s ease !important;
  transform: none !important;
}
.nav-menu .submenu a:hover {
  background-color: transparent;
  color: #de3e21;
}
.nav-menu .submenu a:hover span {
  transform: none !important;
}
.nav-menu a {
  text-decoration: none;
  color: #282727;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding-bottom: 10px;
  display: inline-block;
  vertical-align: middle;
  overflow: hidden;
  transition: color 0.3s ease;
}
.nav-menu a span {
  display: inline-block;
  transition: transform 0.3s ease;
}
.nav-menu a::before {
  content: attr(data-text);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  color: #de3e21;
  transition: top 0.3s ease;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #de3e21;
  transition: width 0.3s ease;
}
.nav-menu a:hover, .nav-menu a.is-active {
  color: #de3e21;
}
.nav-menu a:hover span, .nav-menu a.is-active span {
  transform: translateY(-100%);
}
.nav-menu a:hover::before, .nav-menu a.is-active::before {
  top: 0;
}
.nav-menu a:hover::after, .nav-menu a.is-active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  gap: 10px;
}
@media (max-width: 768px) {
  .header-cta {
    flex-direction: column;
    width: 100%;
    gap: 15px;
    padding: 0 20px;
    margin-top: 40px;
  }
}

.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0 24px;
  height: 54px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s ease;
}
@media (max-width: 768px) {
  .cta-btn {
    width: 100%;
    height: 60px;
    font-size: 16px;
    border-radius: 30px;
  }
}

.cta-req {
  background-color: #f0f0f0;
  color: #282727;
}
.cta-req:hover {
  background-color: #e0e0e0;
}

.cta-free {
  background-color: #de3e21;
  color: #ffffff;
}
.cta-free:hover {
  background-color: #c53218;
}

.menu-trigger {
  display: none;
  position: relative;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}
@media (max-width: 768px) {
  .menu-trigger {
    display: block;
  }
}
.menu-trigger span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #333;
  transition: all 0.4s;
}
.menu-trigger span:nth-child(1) {
  top: 0;
}
.menu-trigger span:nth-child(2) {
  top: 11px;
}
.menu-trigger span:nth-child(3) {
  bottom: 0;
}
.menu-trigger.active span {
  background-color: #333;
}
.menu-trigger.active span:nth-child(1) {
  transform: translateY(11px) rotate(-45deg);
}
.menu-trigger.active span:nth-child(2) {
  opacity: 0;
}
.menu-trigger.active span:nth-child(3) {
  transform: translateY(-11px) rotate(45deg);
}

@media (max-width: 768px) {
  .header-contents {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 100px;
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1050;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
  }
  .header-contents.active {
    right: 0;
  }
  .nav-menu {
    width: 100%;
  }
  .nav-menu ul {
    flex-direction: column;
    gap: 0;
  }
  .nav-menu li {
    border-bottom: 1px solid #f5f5f5;
  }
  .nav-menu li:first-child {
    border-top: 1px solid #f5f5f5;
  }
  .nav-menu .has-submenu .submenu {
    position: static;
    transform: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    display: block;
    padding-bottom: 10px;
    background-color: #fcfcfc;
    border-top: 1px solid #f5f5f5;
  }
  .nav-menu .has-submenu .submenu li {
    border-bottom: none;
    border-top: none;
  }
  .nav-menu .has-submenu .submenu li:first-child {
    border-top: none;
  }
  .nav-menu .has-submenu .submenu a {
    padding: 12px 20px 12px 40px;
    font-size: 14px;
    color: #666;
  }
  .nav-menu .has-submenu .submenu a::after {
    display: none !important;
  }
  .nav-menu .has-submenu .submenu .has-subnested .subnested {
    position: static;
    transform: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    display: block;
    background-color: #f7f7f7;
  }
  .nav-menu .has-submenu .submenu .has-subnested .subnested a {
    padding: 10px 20px 10px 60px;
    font-size: 13px;
    color: #888;
  }
  .nav-menu a {
    display: block;
    padding: 20px;
    font-size: 16px;
    width: 100%;
  }
  .nav-menu a span {
    transform: none !important;
  }
  .nav-menu a::before {
    display: none;
  }
}
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  opacity: 0;
  transition: opacity 0.4s;
}
.menu-overlay.active {
  display: block;
  opacity: 1;
}

body.menu-open {
  overflow: hidden;
}

.bg-white {
  background-color: #fff;
}

/* Footer */
footer {
  background-color: #f5f5f5;
  color: #333;
  padding: 50px 0 20px;
  text-align: center;
}

.footer-logo {
  margin-bottom: 20px;
}
.footer-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.footer-logo img {
  display: block;
  max-height: 30px;
  width: auto;
}
.footer-logo .logo-text {
  font-size: 24px;
  font-weight: 800;
  color: #333;
  margin-left: 15px;
  letter-spacing: 0.05em;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.footer-links {
  margin-bottom: 30px;
}

.footer-links a {
  color: #666;
  text-decoration: none;
  margin: 0 15px;
  font-size: 14px;
}

.footer-links a:hover {
  color: #333;
}

.copyright {
  font-size: 12px;
  color: #888;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  header .container {
    flex-direction: column;
    gap: 15px;
  }
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
}
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-align: center;
  min-width: 160px;
  border: none;
  box-shadow: none;
}

.btn-primary {
  background: linear-gradient(85deg, #757875, #a5a8a5);
  color: #fff;
}
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(85deg, #a5a8a5, #757875);
  border-radius: inherit;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}
.btn-primary:hover {
  color: #fff;
  transform: none;
  box-shadow: none;
}
.btn-primary:hover::before {
  transform: scale(1, 1);
}

.btn-white {
  background-color: #edf0ed;
  color: #2b2d2b;
}
.btn-white::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #a5a8a5;
  border-radius: inherit;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}
.btn-white:hover {
  color: #fff;
}
.btn-white:hover::before {
  transform: scale(1, 1);
}

.c-floating-cta, .floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}
.c-floating-cta.visible, .visible.floating-cta {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.c-floating-cta__button, .floating-cta-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: linear-gradient(135deg, #de3e21 0%, #c53218 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 8px 20px rgba(222, 62, 33, 0.3);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}
@media (hover: hover) {
  .c-floating-cta__button:hover, .floating-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(222, 62, 33, 0.4);
  }
}
@media (max-width: 768px) {
  .c-floating-cta__button, .floating-cta-btn {
    padding: 14px 20px;
    font-size: 14px;
  }
}
.c-floating-cta__icon, .floating-cta-icon {
  font-size: 20px;
}
.c-floating-cta__text, .floating-cta-text {
  white-space: nowrap;
}
@media (max-width: 768px) {
  .c-floating-cta__text, .floating-cta-text {
    display: none;
  }
}

/* Floating Banner */
.floating-banner {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #fff;
  background: #fff;
  color: #333;
  padding: 10px 10px 10px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}
.floating-banner.visible {
  transform: translateY(0);
  opacity: 1;
}
.floating-banner .banner-text {
  position: relative;
  z-index: 2;
  transition: color 0.4s;
}
.floating-banner .banner-arrow {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #de3e21 0%, #c53218 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  z-index: 1;
  transition: background-color 0.4s;
}
.floating-banner .banner-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #de3e21 0%, #c53218 100%);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: -1;
}
.floating-banner .banner-arrow .arrow-icon {
  position: relative;
  width: 14px;
  height: 14px;
  overflow: hidden;
  z-index: 2;
}
.floating-banner .banner-arrow .arrow-icon::before, .floating-banner .banner-arrow .arrow-icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3Cpolyline points='12 5 19 12 12 19'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.floating-banner .banner-arrow .arrow-icon::before {
  transform: translateX(0);
}
.floating-banner .banner-arrow .arrow-icon::after {
  transform: translateX(-150%);
}
.floating-banner:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  color: #fff;
}
.floating-banner:hover .banner-text {
  color: #fff;
}
.floating-banner:hover .banner-arrow::before {
  transform: translate(-50%, -50%) scale(30);
}
.floating-banner:hover .banner-arrow .arrow-icon::before {
  transform: translateX(150%);
}
.floating-banner:hover .banner-arrow .arrow-icon::after {
  transform: translateX(0);
}
@media (max-width: 768px) {
  .floating-banner {
    display: none;
    bottom: 20px;
    right: 20px;
    left: 20px;
    justify-content: center;
    text-align: center;
    width: auto;
  }
}

.p-workflow__title-en, .p-voice__title-en, .p-faq__title-en, .p-news__title-en, .cases-title-en {
  font-weight: 800;
  line-height: 1;
  color: #333;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.p-workflow__title-ja, .p-voice__title-ja, .p-faq__title-ja, .p-news__title-ja, .cases-title-ja {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.1em;
}

.p-service__title {
  color: #ffffff;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 60px;
  text-align: left;
}

.cases-title-en {
  font-size: 60px;
}
@media (max-width: 768px) {
  .cases-title-en {
    font-size: 40px;
  }
}

.cases-title-ja {
  color: #666;
  margin-bottom: 30px;
}

.p-news__title-en {
  font-size: 60px;
}
@media (max-width: 992px) {
  .p-news__title-en {
    font-size: 50px;
  }
}

.p-news__title-ja {
  font-size: 16px;
  color: #666;
  font-weight: 500;
}

.p-faq__header {
  margin-bottom: 50px;
}

.p-faq__title-en {
  font-size: 60px;
  color: #373937;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  min-height: 600px;
  background-color: #fff;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#hero-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-overlay-content {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.hero-container {
  max-width: 1300px;
}
@media (max-width: 768px) {
  .hero-container {
    max-width: 1100px;
  }
}

.hero-text-col {
  pointer-events: auto;
  position: relative;
  z-index: 10;
  max-width: 700px;
}
@media (max-width: 768px) {
  .hero-text-col {
    text-align: center;
    margin: 0 auto;
  }
}

.hero-slider-col {
  width: 50%;
  height: 100vh;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  overflow: hidden;
}
.hero-slider-col::before, .hero-slider-col::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 150px;
  z-index: 10;
  pointer-events: none;
}
.hero-slider-col::before {
  top: 0;
  background: linear-gradient(to bottom, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}
.hero-slider-col::after {
  bottom: 0;
  background: linear-gradient(to top, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}
@media (max-width: 768px) {
  .hero-slider-col {
    display: none;
  }
}

.hero-slider-inner {
  display: flex;
  gap: 20px;
  height: 100%;
  padding: 0 40px;
  justify-content: center;
}

.hero-slider-left,
.hero-slider-right {
  width: 320px;
  height: 100%;
}

.hero-slider-right {
  padding-top: 100px;
}

.hero-work-slider-up,
.hero-work-slider-down {
  height: 100%;
  overflow: visible !important;
}
.hero-work-slider-up .swiper-wrapper,
.hero-work-slider-down .swiper-wrapper {
  transition-timing-function: linear !important;
}

.hero-slide-item {
  width: 100%;
  height: auto !important;
  aspect-ratio: 16/9 !important;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06) !important;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
}
.hero-slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-price-tag {
  display: inline-block;
  background: rgba(222, 62, 33, 0.1);
  color: #de3e21;
  font-weight: 700;
  padding: 5px 15px;
  border-radius: 20px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.hero-tagline {
  display: inline-block;
  background: rgba(222, 62, 33, 0.1);
  color: #de3e21;
  font-weight: 700;
  padding: 5px 15px;
  border-radius: 20px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out 0.5s forwards;
  font-size: 14px;
}
@media (max-width: 768px) {
  .hero-tagline {
    font-size: 12px;
    padding: 4px 12px;
    margin-bottom: 15px;
  }
}

.hero-main-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 20px;
  color: #333;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out 0.7s forwards;
}
@media (max-width: 768px) {
  .hero-main-title {
    font-size: 26px;
  }
}

.hero-sub-text {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out 0.9s forwards;
}

.hero-cta-btn {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out 1.1s forwards;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #666666;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  z-index: 10;
  transition: color 0.3s;
}
.scroll-down:hover {
  color: #de3e21;
}

.scroll-text {
  margin-bottom: 10px;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 1px;
  height: 60px;
  background: rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}
.scroll-arrow::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: #de3e21;
  animation: scrollDown 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollDown {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(200%);
  }
}
/* Floating Shapes */
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  z-index: 0;
  animation: floatShape 20s infinite linear;
  opacity: 0.6;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: rgba(236, 64, 122, 0.15);
  top: -10%;
  left: -10%;
  animation-duration: 25s;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: rgba(126, 87, 194, 0.1);
  bottom: 10%;
  right: -5%;
  animation-duration: 30s;
  animation-delay: -5s;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: rgba(255, 215, 0, 0.1);
  top: 40%;
  left: 20%;
  animation-duration: 20s;
  animation-delay: -10s;
}

.p-gallery, .gallery-section {
  padding: 100px 0;
  background: #fff;
}
.p-gallery__header, .section-header-center {
  text-align: center;
  margin-bottom: 60px;
}
.p-gallery__title-en, .section-title-en {
  font-size: 48px;
  font-weight: 800;
  color: #333333;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}
.p-gallery__title-ja, .section-title-ja {
  font-size: 16px;
  color: #666666;
  font-weight: 500;
}
.p-gallery__slider, .gallery-slider {
  width: 100%;
  overflow: hidden;
}
.p-gallery__item, .gallery-item {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.p-gallery__item img, .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
@media (hover: hover) {
  .p-gallery__item:hover img, .gallery-item:hover img {
    transform: scale(1.05);
  }
}

/* News Section */
.p-news {
  padding: 100px 0;
  background-color: #fcfcfc;
}

.p-news__container {
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

/* Left Column */
.p-news__header-col {
  width: 30%;
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
}

.p-news__header-top {
  margin-bottom: 40px;
}

/* Right Column */
.p-news__list-col {
  width: 65%;
}

.p-news__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.p-news__item {
  border-bottom: 1px solid #eee;
}

.p-news__item--empty {
  padding: 30px 20px;
  color: #999;
}

.p-news__item:first-child {
  border-top: 1px solid #eee;
}

.p-news__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 20px;
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.p-news__link:hover {
  color: #fff;
}
.p-news__link:hover .p-news__item-title {
  color: #fff;
}
.p-news__link:hover .p-news__date {
  color: rgba(255, 255, 255, 0.8);
}

.p-news__content {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.p-news__item-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.5;
  transition: color 0.3s;
}

.p-news__date {
  font-size: 12px;
  color: #999;
  font-family: "Helvetica Neue", sans-serif;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.p-news__arrow {
  position: relative;
  width: 40px;
  height: 40px;
  background: #757875;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
  z-index: 1;
}
.p-news__arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: #757875;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: -1;
}
.p-news__arrow .arrow-icon {
  position: relative;
  width: 14px;
  height: 14px;
  overflow: hidden;
  z-index: 2;
}
.p-news__arrow .arrow-icon::before, .p-news__arrow .arrow-icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3Cpolyline points='12 5 19 12 12 19'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.p-news__arrow .arrow-icon::before {
  transform: translateX(0);
}
.p-news__arrow .arrow-icon::after {
  transform: translateX(-150%);
}

.p-news__link:hover .p-news__arrow {
  background-color: transparent;
}
.p-news__link:hover .p-news__arrow::before {
  transform: translate(-50%, -50%) scale(80);
}
.p-news__link:hover .p-news__arrow .arrow-icon::before {
  transform: translateX(150%);
}
.p-news__link:hover .p-news__arrow .arrow-icon::after {
  transform: translateX(0);
}

/* Responsive News */
@media (max-width: 992px) {
  .p-news__container {
    flex-direction: column;
    gap: 40px;
  }
  .p-news__header-col,
  .p-news__list-col {
    width: 100%;
  }
  .p-news__header-col {
    flex-direction: row;
    align-items: flex-end;
  }
}
@media (max-width: 768px) {
  .p-news__header-col {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
/* FAQ */
.p-faq {
  padding: 100px 0;
  background: #fff;
}

/* FAQ Accordion */
.p-faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.p-faq__item {
  background-color: #fff;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.p-faq__question {
  padding: 20px 25px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
}

.p-faq__toggle-icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.p-faq__toggle-icon::before,
.p-faq__toggle-icon::after {
  content: "";
  position: absolute;
  background-color: #333;
  transition: transform 0.3s ease;
}

.p-faq__toggle-icon::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.p-faq__toggle-icon::after {
  width: 2px;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Active State */
.p-faq__item.active .p-faq__toggle-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.p-faq__answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #666;
  line-height: 1.6;
}

.p-faq__item.active .p-faq__answer {
  padding: 0 25px 25px;
  max-height: 200px;
  /* Approximate max height */
}

/* Case Study Section */
.cases-section {
  padding: 120px 0;
  background-color: #f8f9fa;
}

.cases-container {
  display: flex;
  gap: 60px;
}
@media (max-width: 768px) {
  .cases-container {
    flex-direction: column;
  }
}

.cases-header-col {
  flex: 0 0 300px;
}

.cases-desc {
  margin-bottom: 40px;
  line-height: 1.8;
}

.cases-slider-col {
  flex: 1;
  min-width: 0;
}

.case-study-slider {
  padding: 30px 20px 50px !important; /* Top space for hover lift, Bottom for shadow */
  margin: -30px -20px -50px !important; /* Adjust layout */
}

.case-slide-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.6s ease;
  text-decoration: none;
}
.case-slide-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}
.case-slide-item:hover .case-slide-img img {
  transform: scale(1.1);
  filter: brightness(1.05);
}

.case-slide-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.case-slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.8s ease;
}

.case-slide-content {
  padding: 20px;
  background: #fff;
  text-align: left;
}

.case-slide-meta {
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.meta-cat {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: #f5f5f5;
  color: #666;
  line-height: 1;
}
.meta-cat.m-design {
  background-color: #fdf2f1;
  color: #de3e21;
}
.meta-cat.m-implementation {
  background-color: #e3f2fd;
  color: #1976d2;
}
.meta-cat.m-wordpress {
  background-color: #e8f5e9;
  color: #2e7d32;
}
.meta-cat.m-maintenance {
  background-color: #fff3e0;
  color: #ef6c00;
}
.meta-cat.m-javascript {
  background-color: #f3e5f5;
  color: #7b1fa2;
}

.case-slide-title {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  line-height: 1.4;
  text-align: left;
}

.case-slider-controls {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
}
.case-slider-controls .swiper-pagination {
  position: static;
  width: auto;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  color: #666;
  letter-spacing: 0.1em;
}

.case-nav-buttons {
  display: flex;
  gap: 15px;
}
.case-nav-buttons .swiper-button-prev,
.case-nav-buttons .swiper-button-next {
  position: static;
  width: 50px;
  height: 50px;
  border: none;
  background: #333;
  border-radius: 0;
  color: #fff;
  margin: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-nav-buttons .swiper-button-prev::after,
.case-nav-buttons .swiper-button-next::after {
  font-size: 0;
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(-45deg); /* Left Arrow */
  margin-left: 4px; /* Adjust centering */
}
.case-nav-buttons .swiper-button-prev.swiper-button-next::after,
.case-nav-buttons .swiper-button-next.swiper-button-next::after {
  border-top: 2px solid #fff;
  border-left: 0;
  border-right: 2px solid #fff;
  transform: rotate(45deg); /* Right Arrow */
  margin-left: -4px; /* Adjust centering */
}
.case-nav-buttons .swiper-button-prev:hover,
.case-nav-buttons .swiper-button-next:hover {
  background-color: #555;
  opacity: 0.9;
}

.swiper-pagination-bullet-active {
  background: #de3e21 !important;
}

/* View All Button Consistency (Solid Gray) */
.cases-btn-wrapper .btn {
  background: #8e8e8e;
  border: none;
  color: #fff;
  border-radius: 4px;
  padding: 15px 50px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
  box-shadow: none;
}
.cases-btn-wrapper .btn:hover {
  background: #666;
  opacity: 1;
}

/* ========================================
   Work Archive (Lower Page)
   ======================================== */
.work-filter {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 50px;
}
@media (max-width: 768px) {
  .work-filter {
    padding: 20px;
  }
}

.work-filter__form {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .work-filter__form {
    flex-direction: column;
    align-items: stretch;
  }
}

.work-filter__item {
  flex: 1;
  min-width: 200px;
}
@media (max-width: 768px) {
  .work-filter__item {
    min-width: 0;
  }
}

.work-filter__label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #666;
  margin-bottom: 8px;
}

.work-filter__select-wrapper {
  position: relative;
}
.work-filter__select-wrapper::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 5px;
  background-color: #666;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  pointer-events: none;
}

.work-filter__select {
  width: 100%;
  height: 48px;
  padding: 0 40px 0 15px;
  border: 1px solid #eee;
  border-radius: 6px;
  background-color: #f9f9f9;
  font-size: 15px;
  color: #333;
  appearance: none;
  cursor: pointer;
  transition: all 0.3s;
}
.work-filter__select:focus {
  outline: none;
  border-color: #de3e21;
  background-color: #fff;
}

.work-filter__actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
@media (max-width: 768px) {
  .work-filter__actions {
    margin-top: 10px;
    justify-content: space-between;
  }
}

.btn-filter {
  background-color: #333;
  color: #fff;
  padding: 0 30px;
  height: 48px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s;
}
.btn-filter:hover {
  background-color: #de3e21;
  color: #fff;
}

.work-filter__reset {
  font-size: 13px;
  color: #999;
  text-decoration: underline;
  transition: color 0.3s;
}
.work-filter__reset:hover {
  color: #de3e21;
}

.work-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 30px;
  margin-bottom: 60px;
}
@media (max-width: 992px) {
  .work-archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .work-archive-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.work-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.6s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}
.work-card:hover .work-card-thumb img {
  transform: scale(1.1);
  filter: brightness(1.05);
}

.work-card-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.work-card-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: #f0f0f0;
}
.work-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.8s ease;
}

.work-card-content {
  padding: 24px;
  flex-grow: 1;
  text-align: left;
}

.work-card-meta {
  margin-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.work-cat {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: #f5f5f5;
  color: #666;
  line-height: 1;
}
.work-cat.m-design {
  background-color: #fdf2f1;
  color: #de3e21;
}
.work-cat.m-implementation {
  background-color: #e3f2fd;
  color: #1976d2;
}
.work-cat.m-wordpress {
  background-color: #e8f5e9;
  color: #2e7d32;
}
.work-cat.m-maintenance {
  background-color: #fff3e0;
  color: #ef6c00;
}
.work-cat.m-javascript {
  background-color: #f3e5f5;
  color: #7b1fa2;
}

.work-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  line-height: 1.5;
  margin: 0;
  text-align: left;
}

/* Pagination Styles */
.pagination {
  margin-top: 60px;
  text-align: center;
}
.pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 15px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #eee;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}
.pagination .page-numbers:hover:not(.current) {
  border-color: #de3e21;
  color: #de3e21;
  background-color: #fdf2f1;
}
.pagination .page-numbers.current {
  background: #de3e21;
  border-color: #de3e21;
  color: #fff;
}
.pagination .page-numbers.dots {
  border: none;
  background: transparent;
  padding: 0 5px;
  min-width: auto;
}

/* CTA Section */
.p-cta {
  padding: 140px 0;
  background-color: #1a1a1a;
  color: #fff;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
@media (max-width: 768px) {
  .p-cta {
    padding: 80px 0;
  }
}

.p-cta__bg {
  display: none;
}

.p-cta .container {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.p-cta__title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 24px;
  color: #fff;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
@media (max-width: 768px) {
  .p-cta__title {
    font-size: 24px;
    padding: 0 20px;
  }
}

.p-cta__text {
  font-size: 16px;
  margin-bottom: 40px;
  color: #999;
  line-height: 1.8;
}
@media (max-width: 768px) {
  .p-cta__text {
    font-size: 14px;
    padding: 0 20px;
  }
}

.p-cta__btn {
  background: #de3e21;
  color: #fff;
  border: none;
  padding: 18px 60px;
  font-weight: 700;
  font-size: 16px;
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: inline-block;
}
.p-cta__btn:hover {
  background: rgb(177.6, 49.6, 26.4);
}

/* Contact Section */
.p-contact {
  padding: 100px 0;
  background-color: #f8f9fa;
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 60px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
@media (max-width: 768px) {
  .contact-form {
    padding: 30px;
  }
}

.form-group {
  margin-bottom: 30px;
}

.form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333;
}
.form-label span {
  display: inline-block;
  background: #de3e21;
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 10px;
  vertical-align: middle;
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s;
}
.form-control:focus {
  outline: none;
  border-color: #de3e21;
}

textarea.form-control {
  height: 200px;
  resize: vertical;
}

.form-submit {
  text-align: center;
  margin-top: 40px;
}

.btn-submit {
  display: inline-block;
  background: linear-gradient(135deg, #de3e21 0%, #c53218 100%);
  color: #fff;
  padding: 16px 60px;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 10px 20px rgba(222, 62, 33, 0.3);
}
.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(222, 62, 33, 0.4);
}

/* FAQ */
.p-faq {
  padding: 100px 0;
  background: #fff;
}

/* FAQ Accordion */
.p-faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.p-faq__item {
  background-color: #fff;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.p-faq__question {
  padding: 20px 25px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
}

.p-faq__toggle-icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.p-faq__toggle-icon::before,
.p-faq__toggle-icon::after {
  content: "";
  position: absolute;
  background-color: #333;
  transition: transform 0.3s ease;
}

.p-faq__toggle-icon::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.p-faq__toggle-icon::after {
  width: 2px;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Active State */
.p-faq__item.active .p-faq__toggle-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.p-faq__answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #666;
  line-height: 1.6;
}

.p-faq__item.active .p-faq__answer {
  padding: 0 25px 25px;
  max-height: 200px;
  /* Approximate max height */
}

.p-single-news {
  padding: 80px 0 100px;
}

.p-single-news__inner-header {
  text-align: left;
  margin-bottom: 40px;
  border-bottom: 1px solid #eee;
  padding-bottom: 30px;
}

.p-single-news__meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  margin-bottom: 15px;
  font-family: "Helvetica Neue", sans-serif;
}

.p-single-news__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.p-single-news__category {
  background-color: #333;
  color: #fff;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
}

.p-single-news__date {
  color: #999;
  font-size: 14px;
  letter-spacing: 0.05em;
}

.p-single-news__inner-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.4;
  color: #333;
}
@media (max-width: 768px) {
  .p-single-news__inner-title {
    font-size: 22px;
  }
}

.p-single-news__container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 50px;
}
@media (max-width: 768px) {
  .p-single-news__container {
    padding: 0 20px;
  }
}

.p-single-news__body {
  font-size: 16px;
  line-height: 2;
  color: #444;
}
.p-single-news__body h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 60px 0 30px;
  padding: 15px 20px;
  background-color: #f8f9fa;
  border-left: 6px solid #de3e21;
  color: #333;
}
@media (max-width: 768px) {
  .p-single-news__body h2 {
    font-size: 20px;
    margin: 40px 0 20px;
    padding: 12px 15px;
  }
}
.p-single-news__body h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 40px 0 20px;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
  position: relative;
  color: #333;
}
.p-single-news__body h3::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #de3e21;
}
@media (max-width: 768px) {
  .p-single-news__body h3 {
    font-size: 18px;
  }
}
.p-single-news__body p {
  margin-bottom: 30px;
}
.p-single-news__body img {
  max-width: 100%;
  height: auto;
  margin: 40px 0;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.p-single-news__body ul {
  list-style-type: none;
  margin-bottom: 30px;
  padding-left: 0;
}
.p-single-news__body ul li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 12px;
  color: #444;
}
.p-single-news__body ul li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #de3e21;
  font-weight: bold;
}
.p-single-news__body ol {
  margin-bottom: 30px;
  padding-left: 20px;
  list-style-type: decimal;
}
.p-single-news__body ol li {
  margin-bottom: 12px;
}
.p-single-news__body blockquote {
  background: #f9f9f9;
  border-left: 4px solid #de3e21;
  margin: 40px 0;
  padding: 30px;
  font-style: italic;
  color: #666;
  line-height: 1.8;
}

/* Navigation */
.p-single-news__footer {
  margin-top: 80px;
  border-top: 1px solid #eee;
  padding-top: 40px;
}

.c-post-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}
.c-post-nav a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.3s;
}
.c-post-nav a:hover {
  color: #de3e21;
}

.c-post-nav__archive a {
  display: inline-block;
  padding: 10px 30px;
  border: 1px solid #ddd;
  border-radius: 50px;
  transition: all 0.3s;
}
.c-post-nav__archive a:hover {
  background-color: #333;
  border-color: #333;
  color: #fff;
}

/* Single Work Page Styles */
.p-single-work {
  padding: 80px 0 100px;
}

.p-single-work__header {
  text-align: left;
  max-width: 800px;
  margin: 0 auto 30px;
}

.p-single-work__meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  margin-bottom: 0;
}

.p-single-work__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.p-single-work__category {
  background-color: #333;
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 700;
}

.p-single-work__date {
  color: #999;
  font-size: 14px;
}

.p-single-work__title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.4;
  color: #333;
}
@media (max-width: 768px) {
  .p-single-work__title {
    font-size: 24px;
  }
}

.p-single-work__eyecatch {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  aspect-ratio: 16/9;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.6s ease;
}
.p-single-work__eyecatch:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}
.p-single-work__eyecatch:hover img {
  transform: scale(1.05);
}
.p-single-work__eyecatch a {
  display: block;
  width: 100%;
  height: 100%;
}
.p-single-work__eyecatch img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.p-single-work__content {
  max-width: 800px;
  margin: 0 auto 80px;
}

.p-single-work__body {
  font-size: 16px;
  line-height: 2;
  color: #444;
}
.p-single-work__body h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 60px 0 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #333;
  color: #333;
}
@media (max-width: 768px) {
  .p-single-work__body h2 {
    font-size: 20px;
  }
}
.p-single-work__body h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 40px 0 20px;
  padding: 12px 15px;
  border-left: 4px solid #de3e21;
  background-color: #f8f9fa;
  color: #333;
}
@media (max-width: 768px) {
  .p-single-work__body h3 {
    font-size: 18px;
  }
}
.p-single-work__body h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 30px 0 15px;
  padding-bottom: 5px;
  border-bottom: 1px solid #eee;
  color: #333;
}
.p-single-work__body p {
  margin-bottom: 1.8em;
}
.p-single-work__body ul {
  list-style-type: square;
  margin-bottom: 30px;
  padding-left: 20px;
  color: #de3e21;
}
.p-single-work__body ul li {
  color: #444;
  margin-bottom: 10px;
}
.p-single-work__body ol {
  margin-bottom: 30px;
  padding-left: 20px;
  list-style-type: decimal;
}
.p-single-work__body ol li {
  margin-bottom: 10px;
}

.p-single-work__btn-wrapper {
  margin-top: 60px;
  text-align: center;
}
.p-single-work__btn-wrapper.m-top {
  margin-top: 0;
  margin-bottom: 60px;
}
.p-single-work__btn-wrapper .btn {
  padding: 18px 50px;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s;
}
.p-single-work__btn-wrapper .btn i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s;
}
.p-single-work__btn-wrapper .btn:hover i {
  transform: translate(3px, -3px) rotate(45deg);
}

.p-single-work__footer {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 60px;
  border-top: 1px solid #eee;
}

/* Custom Field Sections */
.p-single-work__section {
  margin-bottom: 80px;
}
@media (max-width: 768px) {
  .p-single-work__section {
    margin-bottom: 60px;
  }
}

.p-single-work__section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 35px;
  padding: 15px 20px;
  background-color: #f8f9fa;
  border-left: 6px solid #de3e21;
  color: #333;
}
@media (max-width: 768px) {
  .p-single-work__section-title {
    font-size: 20px;
    margin-bottom: 25px;
    padding: 12px 15px;
  }
}

.p-single-work__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  font-size: 15px;
}
.p-single-work__table th, .p-single-work__table td {
  padding: 15px;
  border: 1px solid #eee;
  text-align: left;
}
.p-single-work__table th {
  width: 160px;
  background-color: #f9f9f9;
  font-weight: 700;
  color: #333;
}
@media (max-width: 768px) {
  .p-single-work__table th {
    width: 120px;
  }
}
.p-single-work__table td {
  color: #555;
}

.p-single-work__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .p-single-work__grid {
    gap: 30px;
  }
}

.p-single-work__block {
  background: transparent;
  padding: 0;
  border: none;
}
.p-single-work__block p {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.8;
}
.p-single-work__block ul {
  margin-bottom: 0;
  list-style: none;
  padding-left: 0;
}
.p-single-work__block ul li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 8px;
  font-size: 16px;
}
.p-single-work__block ul li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #de3e21;
  font-weight: bold;
}
.p-single-work__block ul li:last-child {
  margin-bottom: 0;
}

.p-single-work__block-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
  display: flex;
  align-items: center;
}
.p-single-work__block-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 18px;
  background: #de3e21;
  margin-right: 10px;
}

.p-single-work__text-block {
  margin-bottom: 30px;
}

.p-single-work__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.p-single-work__tag {
  background: #f0f0f0;
  color: #666;
  font-size: 13px;
  padding: 5px 15px;
  border-radius: 4px;
  font-weight: 500;
}

.p-single-work__meta-footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 80px;
  margin-bottom: 80px;
  padding: 0;
  background: transparent;
  border-radius: 0;
}
@media (max-width: 768px) {
  .p-single-work__meta-footer {
    margin-top: 60px;
    margin-bottom: 60px;
    gap: 30px;
  }
}
.p-single-work__meta-footer p {
  margin-bottom: 1.5em;
}
.p-single-work__meta-footer p:last-child {
  margin-bottom: 0;
}

.p-single-work__footer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.p-single-work__role-list {
  list-style: none;
  padding-left: 0;
  margin-top: 15px;
}
.p-single-work__role-list li {
  position: relative;
  padding-left: 1.2em;
  font-size: 14px;
  margin-bottom: 5px;
}
.p-single-work__role-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #de3e21;
  font-size: 12px;
}

/* Logo Slider Section */
.p-logo-slider-section {
  padding: 40px 0;
  overflow: hidden;
}

.slider-row-wrapper {
  width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.slider-row-wrapper:last-child {
  margin-bottom: 0;
}

.slider-track {
  display: flex;
  width: fit-content;
  gap: 40px;
}

.slider-item {
  flex-shrink: 0;
  width: 100px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.slider-item:hover img {
  opacity: 1;
}

/* Animation Classes */
.scroll-left {
  animation: scrollLeft 80s linear infinite;
}

.scroll-right {
  animation: scrollRight 80s linear infinite;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
    /* Moves half the track width (assuming doubled content) */
  }
}
@keyframes scrollRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}
/* Responsive Speed Adjustment */
@media (max-width: 768px) {
  .scroll-left,
  .scroll-right {
    animation-duration: 40s;
  }
}
/* Service Section */
.p-service {
  background-color: #333;
  padding: 120px 0;
}

.p-service__title {
  color: #fff;
  margin-bottom: 60px;
}

.p-service__layout {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  position: relative;
}
@media (max-width: 768px) {
  .p-service__layout {
    flex-direction: column;
  }
}

.p-service__image-col {
  flex: 0 0 45%;
  position: sticky;
  top: 120px;
}
@media (max-width: 768px) {
  .p-service__image-col {
    width: 100%;
    position: static;
    margin-bottom: 40px;
  }
}

.p-service__img-wrapper {
  width: 100%;
  aspect-ratio: 3/4;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
@media (max-width: 768px) {
  .p-service__img-wrapper {
    padding-bottom: 60%;
  }
}
.p-service__img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.p-service__img-wrapper img.entering {
  opacity: 0;
  transform: translateY(20px);
}

.p-service__list-col {
  flex: 1;
}
@media (max-width: 768px) {
  .p-service__list-col {
    width: 100%;
  }
}

.p-service__item {
  padding: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background 0.3s;
  position: relative;
}
.p-service__item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.p-service__item.active {
  background: rgba(255, 255, 255, 0.05);
}
.p-service__item.active .p-service__arrow {
  opacity: 1;
  color: #de3e21;
}
.p-service__item.active .p-service__arrow::before {
  transform: scale(1);
  opacity: 1;
}
.p-service__item:hover {
  background: rgba(255, 255, 255, 0.05);
}
.p-service__item:hover .p-service__arrow {
  opacity: 1;
  color: #de3e21;
}
.p-service__item:hover .p-service__arrow::before {
  transform: scale(1);
  opacity: 1;
}

.p-service__label {
  display: block;
  font-size: 12px;
  color: #999;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.p-service__item-title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
}

.p-service__item-desc {
  font-size: 15px;
  color: #ccc;
  line-height: 1.8;
}

.p-service__item-list {
  margin-top: 20px;
  font-size: 14px;
  color: #aaa;
  line-height: 1.6;
}
.p-service__item-list li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 8px;
}
.p-service__item-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #de3e21;
}

.p-service__arrow {
  position: absolute;
  right: 40px;
  top: 40px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0.4;
  font-size: 18px;
  line-height: 1;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 1;
  background: transparent;
}
.p-service__arrow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 50%;
  transform: scale(0);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s ease;
  z-index: -1;
}
@media (max-width: 768px) {
  .p-service__arrow {
    right: 20px;
    top: 20px;
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}

.p-service__compatibility {
  margin-top: 100px;
  padding-top: 100px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 768px) {
  .p-service__compatibility {
    margin-top: 60px;
    padding-top: 60px;
  }
}

.p-service__compatibility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 768px) {
  .p-service__compatibility-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.p-service__compatibility-item {
  padding: 0;
  background: transparent;
  border: none;
}
@media (max-width: 768px) {
  .p-service__compatibility-item {
    padding: 0;
  }
}
.p-service__compatibility-item.m-suitable .p-service__compatibility-title {
  color: #fff;
}
.p-service__compatibility-item.m-suitable .p-service__compatibility-list li::before {
  content: "○";
  color: rgba(222, 62, 33, 0.8);
}
.p-service__compatibility-item.m-unsuitable .p-service__compatibility-title {
  color: #999;
}
.p-service__compatibility-item.m-unsuitable .p-service__compatibility-list li {
  color: #888;
}
.p-service__compatibility-item.m-unsuitable .p-service__compatibility-list li::before {
  content: "×";
  color: #555;
}

.p-service__compatibility-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
}
@media (max-width: 768px) {
  .p-service__compatibility-title {
    font-size: 18px;
  }
}

.p-service__compatibility-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.p-service__compatibility-list li {
  position: relative;
  padding-left: 1.5em;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
  color: #ccc;
}
.p-service__compatibility-list li::before {
  position: absolute;
  left: 0;
  font-weight: 700;
}

/* Service Modal */
.p-service-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.p-service-modal.active {
  opacity: 1;
  visibility: visible;
}
.p-service-modal.active .p-service-modal__content {
  transform: scale(1);
  opacity: 1;
}

.p-service-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.p-service-modal__content {
  position: relative;
  width: 100%;
  max-width: 800px;
  max-height: calc(100vh - 40px);
  background: #fff;
  border-radius: 20px;
  padding: 60px;
  overflow-y: auto;
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}
@media (max-width: 768px) {
  .p-service-modal__content {
    padding: 40px 20px;
  }
}

.p-service-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: #f5f5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}
.p-service-modal__close::before, .p-service-modal__close::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background: #333;
}
.p-service-modal__close::before {
  transform: rotate(45deg);
}
.p-service-modal__close::after {
  transform: rotate(-45deg);
}
.p-service-modal__close:hover {
  background: #eee;
  transform: rotate(90deg);
}

.p-service-modal__header {
  margin-bottom: 40px;
  text-align: center;
}

.p-service-modal__label {
  display: block;
  font-size: 14px;
  color: #de3e21;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.1em;
}

.p-service-modal__title {
  font-size: 32px;
  font-weight: 800;
  color: #333;
}
@media (max-width: 768px) {
  .p-service-modal__title {
    font-size: 24px;
  }
}

.p-service-modal__body {
  color: #555;
  font-size: 16px;
  line-height: 2;
}
.p-service-modal__body p {
  margin-bottom: 1.5em;
}
.p-service-modal__body h4 {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 2em 0 1em;
  padding-left: 15px;
  border-left: 4px solid #de3e21;
}
.p-service-modal__body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2em;
}
.p-service-modal__body ul li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.5em;
}
.p-service-modal__body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  background: #de3e21;
  border-radius: 50%;
}

.p-service-detail {
  padding: 100px 0;
  background-color: #fff;
}
.p-service-detail__intro {
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.p-service-detail__intro h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.4;
  color: #333;
  text-align: center;
}
@media (max-width: 768px) {
  .p-service-detail__intro h2 {
    font-size: 24px;
  }
}
.p-service-detail__intro p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
}
.p-service-detail__intro-lead {
  font-size: 20px !important;
  font-weight: 700;
  color: #333 !important;
  line-height: 1.6 !important;
  margin-bottom: 20px;
  text-align: center;
}
@media (max-width: 768px) {
  .p-service-detail__intro-lead {
    font-size: 17px !important;
  }
}
.p-service-detail__provide-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 40px;
}
@media (max-width: 768px) {
  .p-service-detail__provide-list {
    grid-template-columns: 1fr;
  }
}
.p-service-detail__provide-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 15px;
  color: #444;
  line-height: 1.7;
}
.p-service-detail__provide-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #de3e21;
  font-weight: 700;
}
.p-service-detail__provide-list li:last-child {
  margin-bottom: 0;
}
.p-service-detail__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.p-service-detail__grid.m-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 768px) {
  .p-service-detail__grid.m-cols-2 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 992px) {
  .p-service-detail__grid {
    grid-template-columns: 1fr;
  }
}
.p-service-detail__section-header {
  margin-top: 80px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  text-align: center;
}
.p-service-detail__section-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  text-align: center;
}
.p-service-detail__section-note {
  text-align: center;
  font-size: 14px;
  color: #888;
  line-height: 1.8;
  margin-bottom: 40px;
}
.p-service-detail__card-note {
  font-size: 13px;
  color: #999;
  margin-top: 15px;
  line-height: 1.6;
}
.p-service-detail__card {
  background-color: #fbfbfb;
  padding: 30px;
  border-radius: 8px;
}
.p-service-detail__card-icon {
  font-size: 40px;
  font-weight: 800;
  color: rgba(222, 62, 33, 0.1);
  margin-bottom: 20px;
  font-family: "Helvetica Neue", sans-serif;
}
.p-service-detail__card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
  text-align: center;
}
.p-service-detail__card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.p-service-detail__card-list li {
  font-size: 15px;
  color: #555;
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
}
.p-service-detail__card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 1px;
  background-color: #de3e21;
}

.p-service-workflow {
  padding: 100px 0;
  background-color: #fcfcfc;
}
.p-service-workflow__title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
}
.p-service-workflow__list {
  max-width: 800px;
  margin: 0 auto;
}
.p-service-workflow__item {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
}
.p-service-workflow__item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 50px;
  bottom: -30px;
  width: 1px;
  background-color: #eee;
}
.p-service-workflow__item .num {
  width: 40px;
  height: 40px;
  background-color: #de3e21;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  z-index: 1;
}
.p-service-workflow__item .content h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.p-service-workflow__item .content p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}
.p-service-workflow__approach {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 768px) {
  .p-service-workflow__approach {
    grid-template-columns: 1fr;
  }
}
.p-service-workflow__approach-item h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #de3e21;
}
.p-service-workflow__approach-item p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
}

.p-service-features {
  padding: 100px 0;
  background-color: #fff;
}
.p-service-features__title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
}
.p-service-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .p-service-features__grid {
    grid-template-columns: 1fr;
  }
}
.p-service-features__item {
  background-color: #f8f9f8;
  padding: 20px;
  border-radius: 4px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}
.p-service-features__note {
  text-align: center;
  font-size: 13px;
  color: #999;
  margin-top: 30px;
}

.p-service-merit {
  padding: 100px 0;
  background-color: #f8f9f8;
}
.p-service-merit__title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
}
.p-service-merit__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .p-service-merit__grid {
    grid-template-columns: 1fr;
  }
}
.p-service-merit__item {
  background-color: #fff;
  padding: 40px;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}
.p-service-merit__item h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
}
.p-service-merit__item p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

.p-service-suitable {
  padding: 100px 0;
  background-color: #fff;
}
.p-service-suitable__title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: #333;
}
.p-service-suitable__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 768px) {
  .p-service-suitable__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.p-service-suitable__item {
  background-color: #fcfcfc;
  border: 1px solid #eee;
  padding: 40px 30px;
  text-align: center;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.p-service-suitable__item .label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #de3e21;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.p-service-suitable__item .text {
  font-size: 16px;
  font-weight: 700;
  color: #333;
}
@media (max-width: 768px) {
  .p-service-suitable__item .text {
    font-size: 15px;
  }
}

.p-service-message {
  padding: 100px 0;
  text-align: center;
}
.p-service-message__content {
  max-width: 800px;
  margin: 0 auto;
}
.p-service-message__content p {
  font-size: 18px;
  line-height: 2;
  color: #333;
  font-weight: 500;
}
@media (max-width: 768px) {
  .p-service-message__content p {
    font-size: 16px;
    text-align: left;
  }
}

/* Common Styles for Lower Pages */
.page-main {
  padding-top: 80px;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 60px 0;
  text-align: center;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -10%;
  width: 200px;
  height: 200px;
  background: rgba(222, 62, 33, 0.05);
  border-radius: 50%;
  filter: blur(40px);
}
.page-header::after {
  content: "";
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: rgba(126, 87, 194, 0.05);
  border-radius: 50%;
  filter: blur(60px);
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  position: relative;
  z-index: 1;
  letter-spacing: 0.05em;
}
@media (max-width: 768px) {
  .page-title {
    font-size: 24px;
  }
}

/* Breadcrumbs */
.breadcrumbs {
  background-color: #fff;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  font-size: 12px;
  color: #666;
}
.breadcrumbs a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
}
.breadcrumbs a:hover {
  color: #de3e21;
}
.breadcrumbs .sep {
  margin: 0 8px;
  font-size: 10px;
  color: #ccc;
}
.breadcrumbs .current {
  color: #333;
  font-weight: 500;
}

/* Page Content Container */
.page-content-container {
  padding: 60px 0 100px;
}

/* Company Page Specifics */
.company-section {
  margin-bottom: 60px;
}

.company-section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
  padding-left: 15px;
  border-left: 4px solid #de3e21;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}
.company-table th,
.company-table td {
  padding: 20px;
  border-bottom: 1px solid #eee;
  text-align: left;
}
.company-table th {
  width: 200px;
  background-color: #f9f9f9;
  font-weight: 700;
  color: #333;
}
.company-table td {
  color: #666;
}
@media (max-width: 768px) {
  .company-table {
    display: block;
  }
  .company-table tbody,
  .company-table tr,
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }
  .company-table th {
    width: 100%;
    background: #f5f5f5;
    padding: 10px 15px;
    border-bottom: none;
  }
  .company-table td {
    padding: 15px;
  }
}

/* About Me Page Specifics */
.p-page-about {
  padding: 100px 0;
}

.p-page-about__inner {
  max-width: 900px;
  margin: 0 auto;
}

.p-page-about__top {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 80px;
}
@media (max-width: 768px) {
  .p-page-about__top {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
  }
}

.p-page-about__img {
  flex: 0 0 300px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.p-page-about__img img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 768px) {
  .p-page-about__img {
    flex: 0 0 auto;
    width: 200px;
  }
}

.p-page-about__profile {
  flex: 1;
}

.p-page-about__name {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #333;
}
@media (max-width: 768px) {
  .p-page-about__name {
    font-size: 24px;
  }
}

.p-page-about__yago {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #666;
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}

.p-page-about__name-en {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: #999;
  margin-top: 5px;
}

.p-page-about__role {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #de3e21;
  background-color: #fff;
  border: 1px solid #de3e21;
  padding: 4px 15px;
  border-radius: 4px;
  margin-bottom: 30px;
  letter-spacing: 0.05em;
}
.p-page-about__role span {
  font-size: 0.9em;
  font-weight: 500;
  margin-left: 2px;
}
@media (max-width: 768px) {
  .p-page-about__role {
    margin-bottom: 25px;
  }
}

.p-page-about__text p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 1.5em;
}
.p-page-about__text p:last-child {
  margin-bottom: 0;
}

.p-page-about__section {
  margin-bottom: 80px;
}
.p-page-about__section:last-child {
  margin-bottom: 0;
}

.p-page-about__section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}
.p-page-about__section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background-color: #de3e21;
}

.p-page-about__info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  background-color: #f9f9f9;
  padding: 40px;
  border-radius: 15px;
}
@media (max-width: 768px) {
  .p-page-about__info-grid {
    grid-template-columns: 1fr;
    padding: 25px;
  }
}
.p-page-about__info-grid dl {
  display: flex;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}
.p-page-about__info-grid dl:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.p-page-about__info-grid dt {
  width: 120px;
  font-weight: 700;
  color: #333;
  flex-shrink: 0;
}
.p-page-about__info-grid dd {
  color: #666;
  line-height: 1.6;
}

.p-page-about__skills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .p-page-about__skills {
    grid-template-columns: 1fr;
  }
}

.p-page-about__skill-card {
  background-color: #fff;
  border: 1px solid #eee;
  padding: 25px 20px;
  border-radius: 12px;
  text-align: center;
}

.p-page-about__skill-label {
  font-size: 14px;
  font-weight: 700;
  color: #de3e21;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.p-page-about__skill-items {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 0;
}

.p-page-about__history {
  position: relative;
  padding-left: 30px;
}
.p-page-about__history::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background-color: #f0f0f0;
}

.p-page-about__history-item {
  position: relative;
  margin-bottom: 50px;
}
.p-page-about__history-item::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -34px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #de3e21;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #de3e21;
  z-index: 1;
}
.p-page-about__history-item p {
  color: #666;
  line-height: 1.8;
}

.p-page-about__history-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.6;
}

.p-page-about__history-sub {
  font-size: 14px;
  color: #999;
  font-weight: 500;
}

/* Integrated Plan FAQ Styles (Inherits mostly from object/project/_faq.scss) */
.p-integrated-plan__faq {
  margin-bottom: 100px;
}

/* Comparison Flow Diagram Styles */
.p-integrated-plan__flow-comparison {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin: 60px 0 80px;
}

.p-integrated-plan__flow-box {
  background: #f9f9f9; /* Light grey background for the whole section like image */
  padding: 30px 20px;
  width: 100%;
  position: relative;
  border: 1px solid #ddd;
  border-radius: 12px;
}
.p-integrated-plan__flow-box.is-new {
  background: #fff;
  border: 2px solid #de3e21; /* Changed to primary red */
  box-shadow: none;
  padding-top: 30px; /* Reduced space */
  position: relative;
  border-radius: 12px;
  /* Floating Title Effect if desired, simply centered for now based on image */
}
.p-integrated-plan__flow-box.is-new .p-integrated-plan__flow-title {
  color: #de3e21; /* Changed to primary red */
  margin-bottom: 50px;
}

.p-integrated-plan__flow-title {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #333;
  position: relative;
}

.p-integrated-plan__flow-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px; /* Reduced gap to 4px as requested */
  position: relative;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .p-integrated-plan__flow-steps {
    flex-direction: column;
    gap: 5px; /* Set to 5px as requested */
  }
}

.p-integrated-plan__flow-step {
  width: 130px;
  height: 130px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: 700;
  position: relative;
  font-size: 13px;
  color: #333;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  /* Traditional Flow Specifics */
  /* Label (Who) */
  /* New Flow Highlights */
  /* Final Step New Flow */
}
@media (max-width: 768px) {
  .p-integrated-plan__flow-step {
    width: 100%;
    max-width: 320px;
    height: auto;
    min-width: 0;
    border-radius: 8px;
    flex-direction: row;
    justify-content: flex-start;
    padding: 12px 20px;
    gap: 15px;
    text-align: left;
  }
}
.p-integrated-plan__flow-box:not(.is-new) .p-integrated-plan__flow-step {
  background: #f0f0f0;
  border: none;
}
.p-integrated-plan__flow-box:not(.is-new) .p-integrated-plan__flow-step.is-client {
  background: #fff;
  border: 1px solid #ddd;
}
.p-integrated-plan__flow-box:not(.is-new) .p-integrated-plan__flow-step.is-final {
  background: #333;
  color: #fff;
}
.p-integrated-plan__flow-box:not(.is-new) .p-integrated-plan__flow-step.is-final .step-label {
  background: #fff;
  color: #333;
}
.p-integrated-plan__flow-step .step-label {
  background: #888;
  color: #fff;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 6px;
  font-weight: 700;
  display: inline-block;
}
@media (max-width: 768px) {
  .p-integrated-plan__flow-step .step-label {
    margin-bottom: 0;
    border-radius: 4px;
    min-width: 60px;
    text-align: center;
  }
}
.p-integrated-plan__flow-step .step-subtext {
  display: block;
  font-size: 10px;
  color: #888;
  font-weight: 500;
  margin-top: 2px;
}
.p-integrated-plan__flow-step.is-client .step-label {
  background: #666;
}
.p-integrated-plan__flow-step.is-highlight {
  width: 150px;
  height: 150px;
  border: 2px solid #de3e21;
  border-radius: 50%;
  background: #fff;
  color: #de3e21;
  z-index: 2;
  padding: 10px;
}
@media (max-width: 768px) {
  .p-integrated-plan__flow-step.is-highlight {
    width: 100%;
    height: auto;
    border-radius: 8px;
    color: #333;
    padding: 12px 20px;
  }
}
.p-integrated-plan__flow-step.is-highlight .step-label {
  background: #de3e21;
}
.is-new .p-integrated-plan__flow-step.is-final {
  background: #333;
  color: #fff;
  border: none;
}
.is-new .p-integrated-plan__flow-step.is-final .step-label {
  background: #fff;
  color: #333;
}

.p-integrated-plan__flow-arrow {
  text-align: center;
  color: #bbb;
  font-size: 20px;
  font-weight: 300;
  margin: 0 4px;
  /* Arrow shape > */
}
.p-integrated-plan__flow-arrow::before {
  content: ">"; /* > */
  display: block;
  transform: scaleY(1.5); /* Stretch vertically for chevron look */
}
@media (max-width: 768px) {
  .p-integrated-plan__flow-arrow {
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px 0;
  }
  .p-integrated-plan__flow-arrow::before {
    content: "▼"; /* Down arrow */
    transform: none;
    font-size: 12px;
  }
}

.p-integrated-plan__flow-note {
  width: 100%;
  margin-top: 30px;
  text-align: center;
  font-size: 13px;
  color: #666;
}
.p-integrated-plan__flow-note.p-integrated-plan__flow-text-blue {
  color: #de3e21; /* Changed to primary red */
  font-weight: 700;
  font-size: 15px;
}

.p-integrated-plan__flow-arrow {
  text-align: center;
  color: #ccc;
  font-size: 16px;
  font-weight: bold;
  /* Arrow shape > */
}
.p-integrated-plan__flow-arrow::before {
  content: ">"; /* > */
}
@media (max-width: 768px) {
  .p-integrated-plan__flow-arrow::before {
    content: "▼"; /* Down arrow ▼ */
  }
}

.p-integrated-plan__flow-note {
  width: 100%;
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #666;
}

/* Specific text colors */
.p-integrated-plan__flow-text-blue {
  color: #3d6a96;
  font-weight: 700;
}

/* Info Box merged */
.p-integrated-plan__info-box {
  width: 100%;
  background: transparent;
  border: none;
  padding: 0;
  margin-top: -10px; /* Pull tighter */
  margin-bottom: 0;
  border-radius: 0;
}
.p-integrated-plan__info-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px 30px;
  justify-content: center;
}
.p-integrated-plan__info-box li {
  position: relative;
  padding-left: 1.2em;
  line-height: 1.6;
  color: #555;
  font-size: 13px;
}
.p-integrated-plan__info-box li::before {
  content: "•";
  color: #de3e21;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.p-page-about__link-to-work {
  text-align: center;
  margin-top: 60px;
}
.p-page-about__link-to-work .btn {
  padding: 18px 60px;
}

/* Profile Section (About) */
.p-about {
  padding: 120px 0;
  background-color: #fff;
}

.p-about__container {
  display: flex;
  align-items: center;
  gap: 80px;
}
@media (max-width: 768px) {
  .p-about__container {
    flex-direction: column;
    gap: 40px;
  }
}

.p-about__image-col {
  flex: 0 0 45%;
}
@media (max-width: 768px) {
  .p-about__image-col {
    width: 100% !important;
    max-width: 500px;
  }
}

.p-about__img-wrapper {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}
.p-about__img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.p-about__text-col {
  flex: 1;
}

.p-about__subtitle {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #de3e21;
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}

.p-about__name {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .p-about__name {
    font-size: 24px;
  }
}

.p-about__yago {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #666;
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}

.p-about__name-en {
  font-size: 16px;
  font-weight: 400;
  color: #999;
}

.p-about__role {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #de3e21;
  background-color: #fff;
  border: 1px solid #de3e21;
  padding: 4px 15px;
  border-radius: 4px;
  margin-bottom: 30px;
  letter-spacing: 0.05em;
}
.p-about__role span {
  font-size: 0.9em;
  font-weight: 500;
  margin-left: 2px;
}

.p-about__body {
  font-size: 16px;
  line-height: 2;
  color: #444;
}

/* Voice Section */
.p-voice {
  padding: 120px 0;
  background-color: #fcfcfc;
  overflow: hidden;
}

.p-voice__header {
  text-align: center;
  margin-bottom: 60px;
}

.p-voice__title-en {
  font-size: 60px;
  color: #333;
}
@media (max-width: 768px) {
  .p-voice__title-en {
    font-size: 40px;
  }
}

.p-voice__title-ja {
  color: #666;
  margin-top: 5px;
}

.p-voice__lead {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-top: 30px;
  font-weight: 500;
}
@media (max-width: 768px) {
  .p-voice__lead {
    font-size: 14px;
    padding: 0 20px;
  }
}

.p-voice__content {
  width: 100%;
}
.p-voice__content .swiper-wrapper {
  transition-timing-function: linear !important;
}

.p-voice__item {
  width: 480px !important;
  height: auto;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .p-voice__item {
    width: 320px !important;
  }
}

.p-voice__card {
  height: 100%;
  padding: 40px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #efefef;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media (max-width: 768px) {
  .p-voice__card {
    padding: 30px 20px;
  }
}
.p-voice__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.p-voice__author {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 15px;
}
@media (max-width: 768px) {
  .p-voice__author {
    flex-direction: column;
    gap: 5px;
  }
}

.p-voice__company {
  font-size: 16px;
  font-weight: 700;
  color: #333;
}
@media (max-width: 768px) {
  .p-voice__company {
    font-size: 15px;
  }
}

.p-voice__position {
  font-size: 13px;
  color: #999;
  font-weight: 500;
}

.p-voice__text {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  font-weight: 400;
}

/* Pricing Page Styles */
.p-price {
  padding: 80px 0 120px;
  background-color: #fff;
}

.p-price__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.p-price__section {
  margin-bottom: 100px;
}

.p-price__heading {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}
.p-price__heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #de3e21;
}

.p-price__list-layout {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .p-price__list-layout {
    gap: 60px;
  }
}

.p-price__card {
  flex: 1;
  max-width: 460px;
  min-width: 300px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 0;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}
.p-price__card--featured {
  border: 2px solid #de3e21;
  position: relative;
}

.p-price__card-recommend {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #de3e21;
  color: #fff;
  padding: 5px 24px;
  border-radius: 0;
  font-weight: bold;
  font-size: 13px;
  white-space: nowrap;
  z-index: 1;
}

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

.p-price__card-tag {
  display: block;
  font-size: 14px;
  color: #888;
  margin-bottom: 10px;
  font-weight: 500;
}

.p-price__card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
}

.p-price__card-lead {
  font-size: 15px;
  line-height: 1.6;
  color: #666;
}

.p-price__card-body dl {
  margin-bottom: 30px;
}
.p-price__card-body dt {
  font-weight: bold;
  color: #de3e21;
  margin-bottom: 8px;
  font-size: 15px;
}
.p-price__card-body dd {
  font-size: 14px;
  margin-bottom: 25px;
  line-height: 1.7;
  color: #444;
}
.p-price__card-body dd:last-child {
  margin-bottom: 0;
}

.p-price__card-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.p-price__card-features li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}
.p-price__card-features li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #de3e21;
  font-weight: bold;
}
.p-price__card-features li:last-child {
  margin-bottom: 0;
}

.p-price__card-footer {
  margin-top: auto;
  padding-top: 20px;
  text-align: center;
}

/* Judgment Guide Table */
.p-price__guide {
  margin-top: 80px;
}

.p-price__table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #eee;
}
.p-price__table th, .p-price__table td {
  padding: 20px;
  border: 1px solid #eee;
  text-align: center;
  font-size: 15px;
}
.p-price__table thead th {
  background: #f9f9f9;
  font-weight: 700;
  color: #333;
}
.p-price__table tbody th {
  background: #fff;
  font-weight: 500;
  text-align: left;
  color: #555;
}
.p-price__table .u-text-accent {
  color: #de3e21;
  font-weight: 700;
}
@media (max-width: 768px) {
  .p-price__table {
    font-size: 14px;
  }
  .p-price__table th, .p-price__table td {
    padding: 15px 10px;
  }
}

.p-page-header__subtitle {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 10px;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.p-integrated-plan {
  padding: 80px 0;
}

.p-integrated-plan__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.p-integrated-plan__lead {
  text-align: center;
  margin-bottom: 80px;
}

.p-integrated-plan__lead-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 30px;
  line-height: 1.4;
  text-align: center;
}
@media (max-width: 768px) {
  .p-integrated-plan__lead-title {
    font-size: 24px;
  }
}

.p-integrated-plan__lead-text {
  font-size: 16px;
  line-height: 1.8;
}

.p-integrated-plan__features {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.p-integrated-plan__feature {
  width: 30%;
  min-width: 300px;
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
}
@media (max-width: 768px) {
  .p-integrated-plan__feature {
    width: 100%;
  }
}

.p-integrated-plan__feature-icon {
  width: 80px;
  height: 80px;
  background: #fff;
  border: 1px solid rgba(222, 62, 33, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 10px rgba(222, 62, 33, 0.1);
}
.p-integrated-plan__feature-icon svg {
  width: 40px;
  height: 40px;
  color: #de3e21;
}

.p-integrated-plan__feature-title {
  font-size: 20px;
  font-weight: bold;
  color: #de3e21;
  margin-bottom: 15px;
  border-bottom: 2px solid #de3e21;
  padding-bottom: 10px;
}

.p-integrated-plan__feature-text {
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
}

/* Table Section */
.p-integrated-plan__table-wrapper {
  margin-bottom: 80px;
  overflow-x: auto;
}

.p-integrated-plan__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.p-integrated-plan__table th, .p-integrated-plan__table td {
  padding: 20px;
  border: 1px solid #ddd;
  text-align: center;
}
.p-integrated-plan__table th {
  background: #f5f5f5;
  font-weight: bold;
}
.p-integrated-plan__table .p-integrated-plan__table-current {
  background: rgba(222, 62, 33, 0.05);
  color: #de3e21;
  font-weight: bold;
}

/* Suitability Section */
.p-integrated-plan__suitability {
  margin-bottom: 80px;
  display: flex;
  gap: 40px;
}
@media (max-width: 768px) {
  .p-integrated-plan__suitability {
    flex-direction: column;
  }
}

.p-integrated-plan__suitability-box {
  flex: 1;
  background: #f9f9f9;
  padding: 40px 30px;
  border-radius: 10px;
}
.p-integrated-plan__suitability-box--unsuitable {
  background: #f0f0f0;
}

.p-integrated-plan__suitability-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.p-integrated-plan__suitability-title::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background-size: contain;
}

.p-integrated-plan__suitability-box--suitable .p-integrated-plan__suitability-title {
  color: #de3e21;
}

.p-integrated-plan__suitability-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  line-height: 1.5;
}
.p-integrated-plan__suitability-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 10px;
  height: 10px;
  background: #de3e21;
  border-radius: 50%;
}

.p-integrated-plan__suitability-box--unsuitable .p-integrated-plan__suitability-list li::before {
  background: #999;
}

/* Quality Section */
.p-integrated-plan__quality {
  background: #fff;
  padding: 60px;
  border: 1px solid #eee;
  border-radius: 10px;
  margin-bottom: 80px;
}
@media (max-width: 768px) {
  .p-integrated-plan__quality {
    padding: 30px 20px;
  }
}

.p-integrated-plan__quality-text {
  font-size: 16px;
  line-height: 2;
}

/* Works Section */
.p-integrated-plan__works {
  margin-bottom: 100px;
  text-align: center;
}

.p-integrated-plan__works-list {
  margin-top: 40px;
}

/* Price Section */
.p-integrated-plan__price {
  margin-bottom: 100px;
  text-align: center;
  scroll-margin-top: 110px;
}

.p-integrated-plan__price-content {
  max-width: 800px;
  margin: 40px auto 0;
}

.p-integrated-plan__price-list {
  margin-bottom: 60px;
  border: 1px solid #ddd;
  border-radius: 0;
  overflow: hidden;
}

.p-integrated-plan__price-row {
  display: flex;
  border-bottom: 1px solid #eee;
  text-align: left;
}
.p-integrated-plan__price-row:last-child {
  border-bottom: none;
}
@media (max-width: 768px) {
  .p-integrated-plan__price-row {
    flex-direction: column;
  }
}

.p-integrated-plan__price-term {
  width: 240px;
  background: #fcfcfc;
  padding: 25px 30px;
  font-weight: bold;
  font-size: 15px;
  display: flex;
  align-items: center;
  color: #333;
  border-right: 1px solid #ddd;
}
@media (max-width: 768px) {
  .p-integrated-plan__price-term {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #eee;
    padding: 15px 20px;
  }
}

.p-integrated-plan__price-desc {
  flex: 1;
  padding: 25px 30px;
  background: #fff;
}
@media (max-width: 768px) {
  .p-integrated-plan__price-desc {
    padding: 20px;
  }
}

.p-integrated-plan__price-value {
  display: inline-block;
  font-size: 20px;
  font-weight: 800;
  color: #de3e21;
  margin-right: 15px;
}
@media (max-width: 768px) {
  .p-integrated-plan__price-value {
    display: block;
    margin-bottom: 5px;
  }
}

.p-integrated-plan__price-note {
  display: inline-block;
  font-size: 13px;
  color: #666;
}
@media (max-width: 768px) {
  .p-integrated-plan__price-note {
    display: block;
  }
}

/* Simulator Section */
.p-integrated-plan__simulator {
  background: #ffffff;
  border: 1px solid #eee;
  padding: 80px 40px;
  margin-top: 40px;
  margin-bottom: 60px;
  text-align: left;
  border-radius: 12px;
  scroll-margin-top: 110px;
}
@media (max-width: 768px) {
  .p-integrated-plan__simulator {
    padding: 40px 20px;
  }
}
.p-integrated-plan__simulator-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
  text-align: center;
  color: #333333;
}
.p-integrated-plan__simulator-desc {
  font-size: 14px;
  color: #888;
  margin-bottom: 50px;
  text-align: center;
  line-height: 1.6;
}
.p-integrated-plan__simulator-body {
  max-width: 760px;
  margin: 0 auto 50px;
}
.p-integrated-plan__simulator-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid #f0f0f0;
  gap: 15px;
}
@media (max-width: 576px) {
  .p-integrated-plan__simulator-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
.p-integrated-plan__simulator-label {
  width: 100%;
  font-size: 15px;
  font-weight: 700;
  color: #444;
  margin-bottom: 5px;
}
.p-integrated-plan__simulator-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 140px;
}
.p-integrated-plan__simulator-input-wrap input[type=number] {
  width: 90px !important;
  padding: 10px 12px;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-color: #f8f9fa;
  box-shadow: none;
}
.p-integrated-plan__simulator-input-wrap input[type=number]:focus {
  border-color: #de3e21;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(222, 62, 33, 0.1);
  outline: none;
}
.p-integrated-plan__simulator .js-sim-remark {
  flex: 1;
  min-width: 240px;
  padding: 10px 15px;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  font-size: 13px;
  background-color: #f8f9fa;
  transition: all 0.2s;
}
.p-integrated-plan__simulator .js-sim-remark:focus {
  border-color: #de3e21;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(222, 62, 33, 0.1);
  outline: none;
}
@media (max-width: 576px) {
  .p-integrated-plan__simulator .js-sim-remark {
    width: 100%;
    min-width: auto;
  }
}
.p-integrated-plan__simulator-unit {
  font-size: 13px;
  color: #999;
  font-weight: 500;
}
.p-integrated-plan__simulator-details {
  max-width: 760px;
  margin: 0 auto 40px;
  padding: 25px;
  background-color: #fcfcfc;
  border-radius: 8px;
  display: none;
}
.p-integrated-plan__simulator-details.is-visible {
  display: block;
}
.p-integrated-plan__simulator-details-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed #eee;
  font-size: 14px;
}
.p-integrated-plan__simulator-details-item:last-child {
  border-bottom: none;
}
.p-integrated-plan__simulator-details-name {
  font-weight: 600;
  color: #333333;
}
.p-integrated-plan__simulator-details-count {
  color: #888;
  margin-left: auto;
  margin-right: 20px;
}
.p-integrated-plan__simulator-details-subtotal {
  font-weight: 800;
  color: #de3e21;
  font-size: 16px;
}
.p-integrated-plan__simulator-result {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px;
  background: #fff;
  border: 1px solid #333;
  border-radius: 12px;
  text-align: center;
  position: relative;
}
@media (max-width: 768px) {
  .p-integrated-plan__simulator-result {
    padding: 30px 20px;
  }
}
.p-integrated-plan__simulator-result-label {
  font-size: 14px;
  font-weight: 800;
  color: #de3e21;
  display: block;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.p-integrated-plan__simulator-result-value {
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  color: #333333;
}
@media (max-width: 768px) {
  .p-integrated-plan__simulator-result-value {
    font-size: 38px;
  }
}
.p-integrated-plan__simulator-result-currency {
  font-size: 28px;
  font-weight: 700;
  margin-right: 6px;
}
.p-integrated-plan__simulator-result-suffix {
  font-size: 24px;
  font-weight: 700;
  margin-left: 6px;
  color: #888;
}
.p-integrated-plan__simulator-preview {
  margin-top: 40px;
  padding: 30px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  text-align: left;
}
.p-integrated-plan__simulator #js-sim-preview {
  white-space: pre-wrap;
  font-size: 13px;
  line-height: 1.8;
  color: #495057;
  margin-bottom: 0;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  max-height: 300px;
  overflow-y: auto;
}
.p-integrated-plan__simulator-actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
}
@media (max-width: 768px) {
  .p-integrated-plan__simulator-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}
.p-integrated-plan__simulator-actions .btn {
  width: 100%;
  max-width: 320px;
  padding: 16px 24px;
  font-size: 15px;
  border-radius: 50px;
  margin: 0;
}
.p-integrated-plan__simulator-actions .btn:hover {
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .p-integrated-plan__simulator-actions .btn {
    padding: 14px 20px;
    font-size: 14px;
  }
}

.p-integrated-plan__card-recommend {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #de3e21;
  color: #fff;
  padding: 6px 24px;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.1em;
  z-index: 1;
}

.p-integrated-plan__price-highlight {
  background: #fff;
  border: 1px solid #eee;
  border-top: 4px solid #de3e21;
  border-radius: 0;
  padding: 60px 40px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}
@media (max-width: 768px) {
  .p-integrated-plan__price-highlight {
    padding: 50px 20px;
  }
}

.p-integrated-plan__price-highlight-title {
  font-size: 22px;
  font-weight: bold;
  color: #333;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}
.p-integrated-plan__price-highlight-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #de3e21;
  margin: 15px auto 0;
}

.p-integrated-plan__price-highlight-value {
  font-size: 40px;
  font-weight: 800;
  color: #333;
  margin-bottom: 25px;
}
@media (max-width: 768px) {
  .p-integrated-plan__price-highlight-value {
    font-size: 32px;
  }
}

.p-integrated-plan__price-highlight-small {
  font-size: 16px;
  font-weight: normal;
}

.p-integrated-plan__price-highlight-desc {
  font-size: 15px;
  line-height: 1.8;
}

.p-integrated-plan__btn {
  margin-top: 30px;
  display: inline-block;
  min-width: 280px;
  padding: 18px 40px;
  border-radius: 30px;
  font-weight: 700;
}

/* Voice Section */
.p-integrated-plan__voice {
  margin-bottom: 100px;
  text-align: center;
}

.p-integrated-plan__voice-header {
  margin-bottom: 30px;
}

.p-integrated-plan__voice-subtitle {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #de3e21;
  letter-spacing: 0.2em;
  margin-bottom: 5px;
}

.p-integrated-plan__voice-lead {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-top: -10px;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .p-integrated-plan__voice-lead {
    font-size: 14px;
    margin-top: -5px;
    padding: 0 10px;
  }
}

.p-integrated-plan__voice-content {
  margin-top: 40px;
}

.p-integrated-plan__voice-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  align-items: stretch;
}
@media (max-width: 768px) {
  .p-integrated-plan__voice-cards {
    flex-direction: column;
    align-items: stretch;
  }
}

.p-integrated-plan__voice-card {
  flex: 1;
  min-width: 340px;
  max-width: 485px;
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: none;
  border: 1px solid #efefef;
  text-align: left;
  position: relative;
}
@media (max-width: 768px) {
  .p-integrated-plan__voice-card {
    padding: 30px 20px;
    min-width: 0;
    width: 100%;
    max-width: none;
  }
}
.p-integrated-plan__voice-card::before {
  content: "“";
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 80px;
  line-height: 1;
  color: rgba(222, 62, 33, 0.1);
  font-family: serif;
}

.p-integrated-plan__voice-card-header {
  margin-bottom: 30px;
  border-bottom: 2px solid #f5f5f5;
  padding-bottom: 20px;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.p-integrated-plan__voice-card-info {
  flex: 1;
}

.p-integrated-plan__voice-card-logo {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: none;
}
.p-integrated-plan__voice-card-logo img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 768px) {
  .p-integrated-plan__voice-card-logo {
    width: 50px;
    height: 50px;
  }
}

.p-integrated-plan__voice-card-company {
  font-size: 20px;
  font-weight: 800;
  color: #333;
  margin-bottom: 8px;
}

.p-integrated-plan__voice-card-name {
  font-size: 15px;
  color: #888;
  font-weight: 500;
}

.p-integrated-plan__voice-card-body {
  position: relative;
  z-index: 1;
}

.p-integrated-plan__voice-card-text {
  font-size: 18px;
  line-height: 2;
  color: #444;
  font-weight: 400;
}
@media (max-width: 768px) {
  .p-integrated-plan__voice-card-text {
    font-size: 16px;
  }
}

.p-coding-price {
  padding: 100px 0;
  scroll-margin-top: 110px;
  background-color: #fff;
}
@media (max-width: 768px) {
  .p-coding-price {
    padding: 60px 0;
  }
}
.p-coding-price__title {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}
@media (max-width: 768px) {
  .p-coding-price__title {
    font-size: 24px;
  }
}
.p-coding-price__title-sub {
  font-size: 0.6em;
  font-weight: 500;
  margin-left: 5px;
  vertical-align: middle;
}
.p-coding-price__desc {
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .p-coding-price__desc {
    font-size: 14px;
    text-align: left;
    margin-bottom: 40px;
  }
}
.p-coding-price__content {
  max-width: 900px;
  margin: 0 auto;
}
.p-coding-price__tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .p-coding-price__tabs {
    gap: 5px;
    margin-bottom: 30px;
  }
}
.p-coding-price__tab {
  padding: 12px 20px;
  background-color: #f5f5f5;
  border: 1px solid #eee;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}
.p-coding-price__tab.is-active {
  background-color: #de3e21;
  border-color: #de3e21;
  color: #fff;
}
.p-coding-price__tab:hover:not(.is-active) {
  background-color: #eee;
}
@media (max-width: 768px) {
  .p-coding-price__tab {
    padding: 8px 12px;
    font-size: 11px;
    flex: 1 1 calc(33.33% - 5px);
    text-align: center;
  }
}
.p-coding-price__pane {
  display: none;
}
.p-coding-price__pane.is-active {
  display: block;
  animation: fadeInPricing 0.5s ease;
}
.p-coding-price__item {
  margin-bottom: 80px;
}
.p-coding-price__item:last-child {
  margin-bottom: 0;
}
.p-coding-price__item-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #eee;
  position: relative;
  color: #333;
}
.p-coding-price__item-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #de3e21;
}
@media (max-width: 768px) {
  .p-coding-price__item-title {
    font-size: 18px;
  }
}
.p-coding-price__table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
}
.p-coding-price__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  font-size: 15px;
}
.p-coding-price__table th, .p-coding-price__table td {
  padding: 18px 20px;
  border: 1px solid #eee;
  text-align: left;
}
.p-coding-price__table thead th {
  background-color: #f9f9f9;
  font-weight: 700;
  color: #333;
  white-space: nowrap;
}
.p-coding-price__table tbody th {
  background-color: #fff;
  font-weight: 600;
  color: #444;
  width: 240px;
}
.p-coding-price__table td {
  color: #666;
}
.p-coding-price__table td:nth-child(2) {
  font-weight: 700;
  color: #de3e21;
  width: 160px;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .p-coding-price__table {
    font-size: 14px;
  }
  .p-coding-price__table th, .p-coding-price__table td {
    padding: 15px;
  }
}

@keyframes fadeInPricing {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ========================================
   Project: Workflow
   ======================================== */
.p-workflow {
  padding: 100px 0;
  background-color: #fcfcfc;
}
@media (max-width: 768px) {
  .p-workflow {
    padding: 60px 0;
  }
}

.p-workflow__header {
  text-align: center;
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .p-workflow__header {
    margin-bottom: 40px;
  }
}

.p-workflow__title-en {
  font-size: 60px;
  color: #333;
}
@media (max-width: 768px) {
  .p-workflow__title-en {
    font-size: 40px;
  }
}

.p-workflow__title-ja {
  color: #666;
  margin-bottom: 0;
}

.p-workflow__list {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  gap: 20px;
}
@media (max-width: 768px) {
  .p-workflow__list {
    flex-direction: column;
    gap: 40px;
  }
}

.p-workflow__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 40px 25px 30px;
  background: #fff;
  border-radius: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
}
@media (max-width: 768px) {
  .p-workflow__item {
    padding: 35px 20px 25px;
  }
}
.p-workflow__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -25px;
  transform: translateY(-50%);
  width: 30px;
  height: 1px;
  background: rgba(222, 62, 33, 0.3);
}
@media (max-width: 768px) {
  .p-workflow__item:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 30px;
  }
}

.p-workflow__item-num {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 44px;
  height: 44px;
  background-color: #de3e21;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  z-index: 2;
}
@media (max-width: 768px) {
  .p-workflow__item-num {
    width: 36px;
    height: 36px;
    font-size: 14px;
    top: -8px;
    left: -8px;
  }
}

.p-workflow__item-title {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}
@media (max-width: 768px) {
  .p-workflow__item-title {
    font-size: 18px;
  }
}

.p-workflow__item-text {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .p-workflow__item-text {
    font-size: 15px;
  }
}

.p-workflow__note {
  max-width: 800px;
  margin: 100px auto 0;
  padding: 0;
  text-align: center;
  position: relative;
}
@media (max-width: 768px) {
  .p-workflow__note {
    margin-top: 60px;
    padding: 0 20px;
  }
}

.p-workflow__note-title {
  font-size: 14px;
  font-weight: 700;
  color: #999;
  margin-bottom: 15px;
  display: block;
  letter-spacing: 0.1em;
}

.p-workflow__note-text {
  font-size: 16px;
  color: #333;
  font-weight: 500;
  line-height: 1.8;
}
@media (max-width: 768px) {
  .p-workflow__note-text {
    font-size: 15px;
  }
}

.p-preparing {
  padding: 120px 0 160px;
}
.p-preparing .p-preparing__inner {
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
}
.p-preparing .p-preparing__label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #de3e21;
  margin-bottom: 20px;
}
.p-preparing .p-preparing__title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}
.p-preparing .p-preparing__text {
  font-size: 15px;
  line-height: 2;
  color: #666;
  margin-bottom: 40px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(236, 64, 122, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(236, 64, 122, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(236, 64, 122, 0);
  }
}
@keyframes float {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-20px, 20px);
  }
}
@keyframes floatShape {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -50px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Animations */
.reveal.active .problem-card:nth-child(1),
.reveal.active .solution-card:nth-child(1),
.reveal.active .service-card:nth-child(1),
.reveal.active .case-study-card:nth-child(1) {
  transition-delay: 0.1s;
}

.reveal.active .problem-card:nth-child(2),
.reveal.active .solution-card:nth-child(2),
.reveal.active .service-card:nth-child(2),
.reveal.active .case-study-card:nth-child(2) {
  transition-delay: 0.2s;
}

.reveal.active .problem-card:nth-child(3),
.reveal.active .solution-card:nth-child(3),
.reveal.active .service-card:nth-child(3),
.reveal.active .case-study-card:nth-child(3) {
  transition-delay: 0.3s;
}

.reveal.active .problem-card:nth-child(4),
.reveal.active .solution-card:nth-child(4),
.reveal.active .service-card:nth-child(4),
.reveal.active .case-study-card:nth-child(4) {
  transition-delay: 0.4s;
}

.reveal.active .problem-card:nth-child(5),
.reveal.active .service-card:nth-child(5) {
  transition-delay: 0.5s;
}

.reveal.active .problem-card:nth-child(6),
.reveal.active .service-card:nth-child(6) {
  transition-delay: 0.6s;
}

.u-bg-light-pink {
  background-color: #FDF6FA;
}

.u-bg-light-grey {
  background-color: #F8F9FA;
}

.u-bg-primary {
  background: linear-gradient(135deg, #de3e21 0%, #c53218 100%);
  color: #FFFFFF;
}

.u-text-note {
  font-size: 11px;
  color: #888;
  line-height: 1.5;
  display: block;
  margin-top: 5px;
}

.u-text-accent {
  color: #de3e21 !important;
}

.u-sp-only {
  display: none !important;
}
@media (max-width: 768px) {
  .u-sp-only {
    display: block !important;
  }
}

.u-pc-only {
  display: block !important;
}
@media (max-width: 768px) {
  .u-pc-only {
    display: none !important;
  }
}

.u-ib {
  display: inline-block;
}
