@charset "UTF-8";
/* ==================================================
   Base & Reset
================================================== */
html {
  scroll-behavior: smooth;
}
:root {
  --color-text: #333333;
  --color-bg: #ffffff;
  --color-bg-light: #f7f7f7;
  --color-main: #e34e49;
  --color-accent: #2c3e50;
  --font-base: 'Noto Sans JP', sans-serif;
  --font-en: "Poppins", sans-serif;
  --transition-sec: .3s;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--font-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.8;
  letter-spacing: 0.05em;
}
a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
  &:hover {
    opacity: 0.7;
  }
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
@media screen and (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}
.section {
  padding: 120px 0;
}
@media screen and (max-width: 768px) {
  .section {
    padding: 80px 0;
  }
}
.bg-light {
  background-color: var(--color-bg-light);
}
.text-center {
  text-align: center;
}
/* ==================================================
   Typography & Titles
================================================== */
.section-title {
  font-family: var(--font-en);
  color: #ddd;
  font-size: min(144px, 14.32vw);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin-bottom: 60px;
  position: relative;
}
.section-title span {
  font-family: var(--font-base);
  position: absolute;
  bottom: 0;
  display: block;
  font-size: 1.2rem;
  letter-spacing: 0.6em;
  font-weight: 500;
  color: var(--color-main);
  padding-inline: 1em 0;
}
.section-title._right {
  text-align: right;
  & span {
    right: 0;
    padding-inline: 0 1em;
  }
}
.section-lead {
  text-align: left;
  margin-bottom: 50px;
  font-size: 24px;
  color: #444;
}
.section-lead p {
  margin-bottom: 5px;
}
@media screen and (max-width: 768px) {
  .section-lead p {
    text-align: left;
  }
}
/* ==================================================
   Buttons
================================================== */
.btn {
  display: inline-block;
  padding: 15px 40px;
  border: 1px solid var(--color-main);
  background-color: transparent;
  color: var(--color-main);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  &:hover {
    background-color: var(--color-main);
    color: #fff;
  }
}
.btn-dark {
  background-color: var(--color-main);
  color: #fff;
  &:hover {
    background-color: transparent;
    color: var(--color-main);
  }
}
/* Back to Top */
.btn-back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 40;
  background: rgb(15 33 55);
  color: white;
  width: 3rem;
  height: 3rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  border: none;
}
.btn-back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.btn-back-to-top:hover {
  background: var(--color-main);
  transform: translateY(-3px);
  cursor: pointer;
}
/* ==================================================
   Header
================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px min(1.30vw, 40px);
}
@media screen and (max-width: 768px) {
  .header-inner {
    padding: 15px 20px;
  }
}
.logo {
  font-family: var(--font-en);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-main);
  & span {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0;
    padding-left: 0.4em;
  }
}
@media screen and (max-width: 768px) {
  .global-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    transition: right 0.4s ease;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .global-nav.is-open {
    right: 0;
  }
}
.global-nav ul {
  display: flex;
  align-items: center;
  gap: min(1.30vw, 30px);
}
@media screen and (max-width: 768px) {
  .global-nav ul {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
}
.global-nav a {
  font-size: min(1.69vw, 0.9rem);
  font-weight: 500;
  transition: all .3s;
  &:hover {
    color: var(--color-main);
  }
}
@media screen and (max-width: 768px) {
  .global-nav a {
    font-size: 1.2rem;
  }
}
.btn-contact {
  background-color: var(--color-main);
  color: #fff;
  padding: 13px min(1.30vw, 20px);
  line-height: 1;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 5px;
  &:hover {
    color: #fff !important;
  }
}
@media screen and (max-width: 768px) {
  .btn-contact {
    padding: 13px 20px;
  }
}
.hamburger {
  display: none;
}
@media screen and (max-width: 768px) {
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
    position: relative;
    & span {
      display: block;
      width: 100%;
      height: 2px;
      background-color: var(--color-main);
      transition: all 0.3s;
    }
  }
  .hamburger.is-open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .hamburger.is-open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.is-open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}
/* ==================================================
   Main Visual
================================================== */
.mv {
  position: relative;
  background-color: #fafafa;
}
.mv-sticky {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100vh;
}
.mv-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/mv-bg.webp');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.mv-title {
  font-family: var(--font-en);
  position: absolute;
  font-size: 112px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-main);
  z-index: 2;
  & span {
    font-size: 4rem;
    font-weight: 500;
    letter-spacing: 0;
    padding-left: 0.4em;
  }
}
@media screen and (max-width: 768px) {
  .mv-title {
    font-size: max(60px, 12vw);
    & span {
      font-size: min(50px, 11vw);
    }
  }
}
.mv-copy-parts {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 1;
}
@media screen and (max-width: 768px) {
  .mv-copy-parts {
    gap: 10px;
  }
}
.copy-left, .copy-right {
  font-size: 3.5rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  display: block;
}
@media screen and (max-width: 768px) {
  .copy-left, .copy-right {
    font-size: 2.2rem;
    margin: 0;
    align-self: center;
  }
}
.copy-left {
  align-self: flex-start;
  margin-right: 150px;
}
.copy-right {
  align-self: flex-end;
  margin-left: 150px;
}
@media screen and (max-width: 425px) {
  .copy-left {
    margin-right: 50px;
  }
  .copy-right {
    margin-left: 50px;
  }
}
.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--color-main);
  z-index: 10;
}
.scroll-down::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background-color: var(--color-main);
  margin: 10px auto 0;
  animation: scrollLine 2s infinite;
}
@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  50.1% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}
/* ==================================================
   MV Animation (CSS Scroll-Driven Animations)
================================================== */
@supports (animation-timeline: view()) {
  body {
    timeline-scope: --mv-scroll;
  }
  .mv {
    height: 400vh;
    view-timeline-name: --mv-scroll;
  }
  .mv-sticky {
    position: sticky;
    top: 0;
  }
  .header {
    animation: headerFadeIn linear both;
    animation-timeline: --mv-scroll;
    animation-range: cover 40% cover 80%;
  }
  .mv-bg {
    animation: mvBgFadeOut linear both;
    animation-timeline: --mv-scroll;
    animation-range: cover 0% cover 60%;
  }
  .mv-title {
    animation: mvTitleOut linear both;
    animation-timeline: --mv-scroll;
    animation-range: cover 20% cover 30%;
  }
  .copy-left {
    animation: mvCopyLeftIn linear both;
    animation-timeline: --mv-scroll;
    animation-range: cover 35% cover 50%;
  }
  .copy-right {
    animation: mvCopyRightIn linear both;
    animation-timeline: --mv-scroll;
    animation-range: cover 50% cover 65%;
  }
  @keyframes headerFadeIn {
    0% {
      background-color: rgba(255, 255, 255, 0);
      box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }
    80% {
      background-color: rgba(255, 255, 255, 0);
      box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }
    100% {
      background-color: rgba(255, 255, 255, 0.95);
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
  }
  @keyframes mvBgFadeOut {
    0% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
  @keyframes mvTitleOut {
    0% {
      opacity: 1;
      transform: scale(1);
    }
    100% {
      opacity: 0;
      transform: scale(1.05);
      visibility: hidden;
    }
  }
  @keyframes mvCopyLeftIn {
    0% {
      opacity: 0;
      transform: translateX(-150px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }
  @keyframes mvCopyRightIn {
    0% {
      opacity: 0;
      transform: translateX(150px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }
}

@supports not (animation-timeline: view()) {
  .mv {
    height: 100vh;
  }
  .mv-bg {
    animation: fallbackBgFadeOut 3s ease forwards;
  }
  @keyframes fallbackBgFadeOut {
    0% {
      opacity: 1;
    }
    100% {
      opacity: 0.1;
    }
  }
  .mv-title {
    animation: fallbackTitleOut 1s ease forwards 1.5s;
  }
  .copy-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: fallbackLeftIn 1s ease forwards 2.5s;
  }
  .copy-right {
    opacity: 0;
    transform: translateX(50px);
    animation: fallbackRightIn 1s ease forwards 3s;
  }
  @keyframes fallbackTitleOut {
    100% {
      opacity: 0;
      visibility: hidden;
    }
  }
  @keyframes fallbackLeftIn {
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }
  @keyframes fallbackRightIn {
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }
}
/* ==================================================
   Services
================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.service-card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #eaeaea;
  /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05); */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-img-wrap {
  position: relative;
  height: 180px;
  width: 100%;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-badge {
  position: absolute;
  top: 15px;
  left: 0;
  padding: 6px 16px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 0 99px 99px 0;
  letter-spacing: 0.05em;
}
.card-content {
  padding: 30px 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.service-card h3 {
  font-size: 1.2rem;
  color: #111;
  margin-bottom: 15px;
  border: none;
  padding: 0;
  display: block;
}
.card-content > p {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 25px;
  line-height: 1.6;
}
/* チェックマーク付きリスト */
.card-list {
  /*margin-top: auto;*/
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-list li {
  font-size: 0.8rem;
  color: #333;
  position: relative;
  padding-left: 22px;
  line-height: 1.4;
}

.card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}

.card-btn-wrap {
  padding: 0 25px 30px;
}
.card-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 0;
  border-radius: 8px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  transition: opacity 0.3s;
}
.card-btn:hover {
  opacity: 0.8;
  color: #fff;
}
/* ==================================================
   テーマごとのカラー指定 (赤・濃紺・水色)
================================================== */
/* 1. Web制作 (Red) */
.theme-develop .card-badge, .theme-develop .card-list li::before, .theme-develop .card-btn {
  background-color: #e24e41; /* 赤色 */
}
/* 2. 保守 (Dark Blue) */
.theme-mainte .card-badge, .theme-mainte .card-list li::before, .theme-mainte .card-btn {
  background-color: #0b589e; /* 濃紺色 */
}
/* 3. コンサル (Light Blue) */
.theme-consul .card-badge, .theme-consul .card-list li::before, .theme-consul .card-btn {
  background-color: #009ce1; /* 水色 */
}
/* ==================================================
   Strengths
================================================== */
.strengths-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}
.str-card {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.str-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 25px;
}
.str-icon-wrap {
  width: 70px;
  aspect-ratio: 1;
  border-radius: 999px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.str-icon-wrap i {
  color: #fff;
  font-size: 32px;
}
.str-stats {
  text-align: right;
}
.stats-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: -5px;
}
.stats-num {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: #111;
}
.stats-num span {
  font-size: 2rem;
}
.stats-num small {
  font-size: 1rem;
  font-weight: 700;
  margin-left: 2px;
}
.str-card-body {
  flex-grow: 1;
}
.str-reason {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 8px;
}
.str-card-body h3 {
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 15px;
  color: #111;
}
.str-card-body p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.6;
}
/* カードテーマカラー */
.theme-red .str-icon-wrap {
  background-color: #e24e41;
}
.theme-red .stats-label, .theme-red .str-reason {
  color: #e24e41;
}
.theme-darkblue .str-icon-wrap {
  background-color: #0b589e;
}
.theme-darkblue .stats-label, .theme-darkblue .str-reason {
  color: #0b589e;
}
.theme-lightblue .str-icon-wrap {
  background-color: #009ce1;
}
.theme-lightblue .stats-label, .theme-lightblue .str-reason {
  color: #009ce1;
}
/* --- ワークフローパネル --- */
.workflow-panel {
  background: #fff;
  border-radius: 8px;
  padding: 40px;
}
@media screen and (max-width: 768px) {
  .workflow-panel {
    padding: 30px 20px;
  }
}
.wf-header {
  text-align: center;
  margin-bottom: 40px;
}
.wf-badge {
  display: inline-block;
  background-color: #ffeaea;
  color: #e24e41;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 8px;
  letter-spacing: 0.1em;
  margin-bottom: 15px;
}
.wf-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
}
.wf-steps {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 40px;
}
@media screen and (max-width: 768px) {
  .wf-steps {
    flex-direction: column;
    gap: 30px;
  }
}
.wf-step {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 30px 15px 20px;
  text-align: center;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 99px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}
.step-icon i {
  font-size: 24px;
  color: #fff;
}
.wf-step h4 {
  font-size: 0.95rem;
  color: #111;
  margin-bottom: 5px;
  font-weight: 700;
}
.wf-step p {
  font-size: 0.7rem;
  color: #666;
  line-height: 1.4;
}
/* プロセスのテーマカラー */
.step-red {
  border-color: #ffcccc;
}
.step-red .step-icon {
  background-color: #e24e41;
}
.step-lightblue {
  border-color: #cceeff;
}
.step-lightblue .step-icon {
  background-color: #009ce1;
}
.step-darkblue {
  border-color: #ccdff0;
}
.step-darkblue .step-icon {
  background-color: #0b589e;
}
.step-orange {
  border-color: #ffe6cc;
}
.step-orange .step-icon {
  background-color: #f39c12;
}
.step-green {
  border-color: #ccffcc;
}
.step-green .step-icon {
  background-color: #2ecc71;
}
/* ==================================================
   Works (Swiper Carousel)
================================================== */
#works .section-lead {
  text-align: left;
  margin-bottom: 40px;
  font-size: 24px;
  color: #444;
}
#works .section-lead p {
  margin-bottom: 5px;
}
.over-content {
  width: 98dvw;
  margin-left: calc(50% - 49dvw);
  margin-right: calc(50% - 49dvw);
  overflow: hidden;
}
.works-swiper {
  padding: 60px 10px 40px !important;
  margin: -20px -10px 0;
}
.works-swiper .swiper-slide {
  height: auto;
}
.work-card {
  height: 100%;
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.work-img-wrap {
  position: relative;
  height: 180px;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  background-color: #f5f5f5;
}
.work-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-badge {
  position: absolute;
  top: 15px;
  left: 0;
  background-color: #e24e41;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 0 99px 99px 0;
  letter-spacing: 0.05em;
  z-index: 1;
}
.work-badge:contains("システム") {
  background-color: #0b589e;
}
.work-badge:contains("保守") {
  background-color: #009ce1;
}
.work-badge:contains("コンサル") {
  background-color: #333;
}
.work-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.work-client {
  font-size: 0.75rem;
  color: #888;
  margin-bottom: 8px;
  font-weight: 700;
}
.work-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a2b4c;
  line-height: 1.4;
  margin-bottom: 12px;
}
.work-desc {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}
.work-tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.work-tags span {
  font-size: 0.7rem;
  color: #666;
  border: 1px solid #ddd;
  padding: 4px 8px;
  border-radius: 8px;
  background-color: #fff;
}
.swiper-pagination-bullet-active {
  background: var(--color-main) !important;
}
.swiper-button-prev, .swiper-button-next {
  color: var(--color-main) !important;
  background: rgba(255, 255, 255, 0.9);
  width: 40px !important;
  height: 40px !important;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.swiper-button-prev::after, .swiper-button-next::after {
  font-size: 1rem !important;
  font-weight: bold;
}
/* ==================================================
   Simulation
================================================== */
.sim-container, .sim-container *, .sim-container *::before, .sim-container *::after {
  box-sizing: border-box;
}
/* Container */
.sim-container {
  background-color: var(--color-bg);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  /* box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); */
  display: grid;
  gap: 2rem;
  align-items: stretch;
  font-family: var(--font-base);
}
@media (min-width: 768px) {
  .sim-container {
    padding: 3rem;
    grid-template-columns: repeat(12, 1fr);
    margin-top: 20px;
  }
}
/* Left Area */
.sim-options-area {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .sim-options-area {
    grid-column: span 7 / span 7;
  }
}
/* Steps */
.step-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.step-badge {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background-color: var(--color-main);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
}
.step-title {
  font-size: 0.75rem;
  font-weight: bold;
  color: var(--color-accent);
  text-transform: uppercase;
}
/* Grids */
.sim-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.sim-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
/* Buttons */
.sim-btn {
  appearance: none;
  -webkit-appearance: none;
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: bold;
  border: 1px solid #e2e8f0;
  background-color: var(--color-bg-light);
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition-sec);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  text-align: center;
  font-family: var(--font-base);
}
.sim-btn .icon {
  font-size: 1rem;
  margin-bottom: 0.125rem;
}
.sim-btn:hover {
  border-color: #cbd5e1;
}
/* Active Button State */
.sim-btn.active {
  border: 2px solid var(--color-main);
  background-color: rgba(227, 78, 73, 0.05); /* メインカラーの極薄い色 */
  color: var(--color-main);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
/* Checkboxes */
.sim-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background-color: var(--color-bg-light);
  cursor: pointer;
  transition: all var(--transition-sec);
  font-size: 0.75rem;
  font-weight: bold;
  color: var(--color-text);
}
.sim-checkbox-label:hover {
  border-color: rgba(227, 78, 73, 0.3); /* メインカラーの薄い色 */
}
.sim-checkbox {
  accent-color: var(--color-main);
  width: 1rem;
  height: 1rem;
  cursor: pointer;
}
/* Right Result Card */
.sim-result-card {
  position: relative;
  overflow: hidden;
  color: var(--color-accent);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(227, 78, 73, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .sim-result-card {
    grid-column: span 5 / span 5;
  }
}
.result-content-top {
  position: relative;
  z-index: 10;
}
.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background-color: rgba(227, 78, 73, 0.1);
  color: var(--color-main);
  font-size: 0.75rem;
  font-weight: bold;
  border: 1px solid rgba(227, 78, 73, 0.2);
  margin-bottom: 1rem;
}
.result-subtitle {
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}
.price-box {
  margin: 1rem 0;
  padding: 1.25rem;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  border: 1px solid rgba(227, 78, 73, 0.15);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.price-label {
  font-size: 0.75rem;
  font-weight: bold;
  color: #64748b;
  margin-bottom: 0.25rem;
}
.price-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  color: var(--color-accent);
  font-weight: 900;
  font-family: var(--font-en);
}
.price-prefix {
  font-size: 1.125rem;
  color: #64748b;
  font-family: var(--font-base);
}
.price-number {
  font-size: 2.25rem;
  color: var(--color-main);
}
@media (min-width: 640px) {
  .price-number {
    font-size: 3rem;
  }
}
.price-suffix {
  font-size: 1.25rem;
  font-family: var(--font-base);
}
.price-note {
  font-size: 10px;
  color: #94a3b8;
  margin-top: 0.5rem;
}
/* Submit Button */
.result-content-bottom {
  position: relative;
  z-index: 10;
  padding-top: 1rem;
}
.btn-submit {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 1rem;
  border-radius: 8px;
  font-weight: bold;
  font-size: 0.85rem;
  color: #ffffff;
  background-color: var(--color-main);
  border: none;
  cursor: pointer;
  transition: opacity var(--transition-sec);
  box-shadow: 0 4px 6px -1px rgba(227, 78, 73, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-base);
}
.btn-submit:hover {
  opacity: 0.85;
}
.btn-submit .icon-arrow {
  font-size: 0.75rem;
  transition: transform var(--transition-sec);
}
.btn-submit:hover .icon-arrow {
  transform: translateX(4px);
}
.submit-note {
  font-size: 10px;
  color: #64748b;
  margin-top: 0.75rem;
  text-align: left;
}
@media (min-width: 768px) {
  .submit-note {
    text-align: center;
  }
}
/* ==================================================
   Company
================================================== */
.company-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
  font-family: var(--font-base);
}
@media (min-width: 992px) {
  .company-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}
.company-info-card {
  background-color: var(--color-bg-light);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  /* box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); */
}
.company-heading {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--color-accent);
  margin-top: 0;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.company-heading .icon-main {
  color: var(--color-main);
}
.company-table {
  width: 100%;
  text-align: left;
  font-size: 0.75rem;
  color: var(--color-text);
  border-collapse: collapse;
}
@media (min-width: 640px) {
  .company-table {
    font-size: 0.875rem;
  }
}
.company-table th, .company-table td {
  padding: 0.875rem 0;
  vertical-align: top;
}
.company-table th {
  font-weight: bold;
  color: var(--color-accent);
  width: 7rem;
}
.company-table tr {
  border-bottom: 1px solid #e2e8f0;
}
.company-table tr.no-border, .company-table tr:last-child {
  border-bottom: none;
}
.company-table .leading-relaxed {
  line-height: 1.7;
}
.company-table ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.company-locations {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.location-card {
  background-color: var(--color-bg-light);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  /* box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); */
  width: 100%;
  max-width: 911px;
  box-sizing: border-box;
}
.location-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}
.location-title {
  color: var(--color-main);
  font-weight: bold;
  font-size: 0.75rem;
}
.location-title i {
  margin-right: 0.25rem;
}
.location-badge {
  font-size: 10px;
  background-color: rgba(227, 78, 73, 0.1);
  color: var(--color-main);
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
  font-weight: bold;
}
.location-address {
  font-size: 1rem;
  font-weight: bold;
  color: var(--color-accent);
  margin: 0;
}
.location-contact {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.25rem;
  margin-bottom: 0;
  font-weight: 500;
}
.location-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.location-address,
.location-contact {
  word-break: break-all;
}
.location-map {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  height: 0;
  overflow: hidden;
}

.location-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* ==================================================
   RECRUIT
================================================== */
.recruit-roles-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 4rem;
  font-family: var(--font-base);
}
@media (min-width: 768px) {
  .recruit-roles-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.role-card {
  background-color: var(--color-bg);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all var(--transition-sec);
}
@media (min-width: 640px) {
  .role-card {
    padding: 2rem;
    text-align: left;
  }
}
.role-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  margin-bottom: 2.25rem;
}
.role-tag {
  font-size: 11px;
  font-weight: bold;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  display: inline-block;
}
/* 1. エンジニア職（メインカラー） */
.role-icon-red {
  background-color: rgba(227, 78, 73, 0.1);
  border: 1px solid rgba(227, 78, 73, 0.2);
  color: var(--color-main);
}
.role-tag-red {
  background-color: rgba(227, 78, 73, 0.1);
  border: 1px solid rgba(227, 78, 73, 0.2);
  color: var(--color-main);
}
/* 2. インフラ職（ブルー系） */
.role-icon-blue {
  background-color: #eff6ff;
  border: 1px solid #dbeafe;
  color: #3b82f6;
}
.role-tag-blue {
  background-color: #eff6ff;
  border: 1px solid #dbeafe;
  color: #3b82f6;
}
/* 3. クリエイティブ職（水色系） */
.role-icon-sky {
  background-color: #f0f9ff;
  border: 1px solid #e0f2fe;
  color: #0ea5e9;
}
.role-tag-sky {
  background-color: #f0f9ff;
  border: 1px solid #e0f2fe;
  color: #0ea5e9;
}
.role-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--color-accent);
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}
.role-desc {
  font-size: 0.75rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.role-tech {
  font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; /* 等幅フォント */
  color: #64748b;
  background-color: var(--color-bg-light);
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  line-height: 1.4;
}
/* ==================================================
   RECURUIT・待遇セクション
================================================== */
.recruit-req-card-wrap {
  margin: 0 20px;
}
.recruit-req-card {
  background-color: var(--color-bg);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  /* box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); */
  max-width: 64rem;
  font-family: var(--font-base);
  margin: auto;
}
@media (min-width: 640px) {
  .recruit-req-card {
    padding: 3rem;
  }
}
.req-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}
.req-header .icon-main {
  font-size: 1.5rem;
  color: var(--color-main);
}
.req-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-accent);
  margin: 0;
}
.req-table {
  width: 100%;
  text-align: left;
  font-size: 0.75rem;
  color: var(--color-text);
  border-collapse: collapse;
}
@media (min-width: 640px) {
  .req-table {
    font-size: 0.875rem;
  }
}
.req-table th, .req-table td {
  padding: 1rem 0;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
}
.req-table tr:last-child th, .req-table tr:last-child td {
  border-bottom: none;
}
.req-table th {
  font-weight: bold;
  color: var(--color-accent);
  width: 8rem;
}
@media (min-width: 640px) {
  .req-table th {
    width: 10rem;
  }
}
.req-table td {
  font-weight: 500;
  line-height: 1.6;
}
.req-table .note-text {
  font-size: 0.75rem;
  color: #64748b;
  display: block;
  margin-top: 0.25rem;
}
.req-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.badge {
  padding: 0.25rem 0.75rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: bold;
}
.badge-main {
  background-color: rgba(227, 78, 73, 0.05);
  color: var(--color-main);
  border: 1px solid rgba(227, 78, 73, 0.15);
}
.badge-main i {
  margin-right: 0.25rem;
}
.badge-gray {
  background-color: #f1f5f9;
  color: #475569;
}
.req-cta-box {
  margin-top: 2.5rem;
  background-color: var(--color-bg-light);
  padding: 1.5rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .req-cta-box {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.req-cta-title {
  font-size: 1rem;
  font-weight: bold;
  color: var(--color-accent);
}
.req-cta-desc {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.25rem;
}
.btn-req-submit {
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--color-main);
  color: #ffffff;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: bold;
  font-size: 0.75rem;
  border: none;
  cursor: pointer;
  transition: opacity var(--transition-sec);
  box-shadow: 0 10px 15px -3px rgba(227, 78, 73, 0.2);
  white-space: nowrap;
  width: 100%;
}
@media (min-width: 640px) {
  .btn-req-submit {
    width: auto;
  }
}
.btn-req-submit:hover {
  opacity: 0.85;
}
/* ==================================================
   お問い合わせフォーム
================================================== */
.form-wrap {
  max-width: 64em;
  margin: auto;
  text-align: left;
  & > p {
    margin-bottom: 1em;
  }
}
.contact-form {
  background-color: var(--color-bg-light);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  /* box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); */
  font-family: var(--font-base);
}
@media (min-width: 640px) {
  .contact-form {
    padding: 3rem;
  }
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-grid-2 {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) {
  .form-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid-2 .form-group {
    margin-bottom: 0;
  }
}
.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: bold;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}
.required-mark {
  color: var(--color-main);
  margin-left: 0.25rem;
}
.form-control {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #0f172a;
  font-family: var(--font-base);
  transition: all var(--transition-sec);
  outline: none;
}
.form-control::placeholder {
  color: #94a3b8;
}
.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}
.form-control:focus {
  border-color: var(--color-main);
  box-shadow: 0 0 0 3px rgba(227, 78, 73, 0.15);
}
.form-submit-area {
  text-align: center;
  padding-top: 1rem;
}
.btn-form-submit {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background-color: var(--color-main);
  color: #ffffff;
  padding: 1rem 3rem;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-sec);
  box-shadow: 0 10px 15px -3px rgba(227, 78, 73, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-base);
}
@media (min-width: 640px) {
  .btn-form-submit {
    width: auto;
  }
}
.btn-form-submit:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(227, 78, 73, 0.4);
}
.btn-form-submit i {
  font-size: 0.75rem;
}
/*-- 送信結果メッセージ --*/
.form-message {
  display: none; /* 初期状態は非表示 */
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: bold;
  text-align: center;
  font-family: var(--font-base);
}
/* 成功時のスタイル（緑系） */
.form-message.success {
  display: block;
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
/* エラー時のスタイル（赤系） */
.form-message.error {
  display: block;
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
/* ==================================================
   Footer
================================================== */
.footer {
  background-color: #f1f5f9;
  padding-top: 3rem;
  padding-bottom: 3rem;
  color: #475569;
  font-size: 0.75rem;
  line-height: 1rem;
  border-top: 1px solid #e2e8f0;
}
.footer-container {
  max-width: 82rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
  }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer-logo {
  display: flex;
  align-items: baseline;
  transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-logo:hover {
  opacity: 0.9;
}
.footer-logo-main {
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  color: #e34e49;
  letter-spacing: -0.025em;
}
.footer-logo-sub {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1;
  color: #e34e49;
  margin-left: 0.25rem;
}
.footer-logo-mark {
  font-weight: 600;
  font-size: 10px;
  line-height: 1;
  color: #e34e49;
  margin-left: -0.125rem;
}
.footer-company-info {
  border-left: 1px solid #cbd5e1;
  padding-left: 1rem;
}
.footer-company-name {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.footer-company-address {
  color: #64748b;
  font-size: 11px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: #334155;
  font-weight: 500;
}
.footer-link {
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-link:hover {
  color: #e34e49;
}
.footer-copyright {
  color: #94a3b8;
}
/* ==================================================
   Responsive (Tablet & Mobile)
================================================== */
@media screen and (max-width: 768px) {
  .strength-item {
    flex-direction: column;
    gap: 15px;
  }
  .company-table th, .company-table td {
    display: block;
    width: 100%;
  }
  .company-table th {
    border-bottom: none;
    padding-bottom: 0;
  }
}

.txtLink {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  color: #222;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  padding: 12px 0;
}


.txtLink::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #e60012;
  border-right: 2px solid #e60012;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.txtLink[target="_blank"][href*=".pdf"]::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 18px;
  background: url("/assets/img/icn_pdf.png") no-repeat center / contain;
  flex-shrink: 0;
}