/* ===================================== */
/* page-question 共通 */
/* ===================================== */
.page-contents {
    position: relative;
}

.question-contents {
    position: relative;
    z-index: 2;
}

/* ===================================== */
/* タイトルエリア */
/* ===================================== */
.page-contents .section_section {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    margin: 0 0 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

.page-contents .section_section-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(135deg, #041e3a 0%, #0d5ca3 55%, #4db6ff 100%);
    transform: translateX(-105%);
    opacity: 0;
}

.page-contents .section_section-bg.animation {
    animation: pageQuestionBgSlideIn 1s ease-out forwards;
}

.page-contents .section_section-title {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: 40px 20px;
}

.page-contents .section_section-title h3,
.page-contents .section_section-title h5 {
    margin: 0;
    color: inherit;
}

.page-contents .section_section-title h3 {
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: 0.08em;
}

.page-contents .section_section-title h5 {
    margin-top: 10px;
    font-size: clamp(14px, 2vw, 18px);
    letter-spacing: 0.2em;
    opacity: 0.9;
}

@keyframes pageQuestionBgSlideIn {
    0% {
        transform: translateX(-105%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===================================== */
/* 目次 */
/* ===================================== */
.question-contents fieldset {
    position: relative;
    width: min(80%, 960px);
    margin: 0 auto 50px;
    padding: 28px 24px 24px;
    border: 1px solid #041e3a;
    background: #fff;
}

.question-contents legend {
    position: absolute;
    top: -14px;
    left: 24px;
    background-color: #0d5ca3;
    display: inline-block;
    width: auto;
    color: #fff;
    padding: 4px 20px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.12);
    line-height: 1.4;
}

.question-contents fieldset .lists {
    margin: 0;
    padding: 0;
    list-style: none;
}

.question-contents fieldset .lists li {
    padding-bottom: 8px;
}

.question-contents fieldset .lists li:last-child {
    padding-bottom: 0;
}

.question-contents fieldset .lists li::before {
    content: '▶';
    margin-right: 10px;
    color: #0d5ca3;
    font-size: 0.9em;
}

.question-contents fieldset .lists a {
    color: #041e3a;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.question-contents fieldset .lists a:hover {
    opacity: 0.7;
}

/* ===================================== */
/* アコーディオン全体 */
/* ===================================== */
.page-question.question-acordion {
    list-style: none;
    margin: 0 auto 56px;
    padding: 0;
}

.question-title {
    text-align: center;
    padding: 20px 16px;
    margin: 30px auto 14px;
    background: rgba(4, 30, 58, 0.96);
    color: #ffd700;
}

.question-title h3 {
    margin: 0;
}

.question-acordion li {
    margin: 10px 0;
    list-style: none;
}

.question-acordion section {
    border: 1px solid #ccc;
}

/* ===================================== */
/* アコーディオン見出し */
/* ===================================== */
.question-sub-title {
    position: relative;
    cursor: pointer;
    padding: 22px 20px 22px 56px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 1px solid #041e3a;
    margin: 0;
    background: #fff;
    color: #041e3a;
    line-height: 1.6;
}

.question-sub-title:hover {
    background: #f6fbff;
}

/* プラス / バツ */
.question-sub-title::before,
.question-sub-title::after {
    position: absolute;
    content: '';
    width: 15px;
    height: 2px;
    background-color: #333;
    left: 20px;
    top: 50%;
    transform-origin: center;
    transition: transform 0.3s ease;
}

.question-sub-title::before {
    transform: translateY(-50%) rotate(0deg);
}

.question-sub-title::after {
    transform: translateY(-50%) rotate(90deg);
}

.question-sub-title.close::before {
    transform: translateY(-50%) rotate(45deg);
}

.question-sub-title.close::after {
    transform: translateY(-50%) rotate(-45deg);
}

/* ===================================== */
/* アコーディオン本文 */
/* ===================================== */
.question-box {
    display: none;
    background-color: rgba(255, 237, 237, 0.51);
    padding: 24px 20px;
    border: 1px solid #041e3a;
    border-top: 0;
    line-height: 1.9;
}

.question-box p:last-child {
    margin-bottom: 0;
}

/* ===================================== */
/* アンカー位置調整 */
/* 固定ヘッダー対策が必要なら数値を増やす */
/* ===================================== */
#question01,
#question02,
#question03,
#question04,
#question05 {
    scroll-margin-top: 120px;
}

/* ===================================== */
/* タブレット */
/* ===================================== */
@media (max-width: 768px) {
    .page-contents .section_section {
        min-height: 160px;
        margin-bottom: 40px;
    }

    .page-contents .section_section-title {
        padding: 28px 16px;
    }

    .question-contents fieldset {
        width: 90%;
        padding: 26px 18px 20px;
        margin-bottom: 40px;
    }

    .question-contents legend {
        left: 18px;
    }

    .page-question.question-acordion {
        margin-bottom: 44px;
    }

    .question-title {
        padding: 16px 12px;
        margin-top: 24px;
    }

    .question-sub-title {
        padding: 18px 16px 18px 50px;
    }

    .question-sub-title::before,
    .question-sub-title::after {
        left: 18px;
    }

    .question-box {
        padding: 20px 16px;
    }
}

/* ===================================== */
/* スマホ */
/* ===================================== */
@media (max-width: 540px) {
    .page-contents .section_section {
        min-height: 140px;
        margin-bottom: 32px;
    }

    .page-contents .section_section-title h3 {
        font-size: 26px;
    }

    .page-contents .section_section-title h5 {
        font-size: 14px;
        margin-top: 8px;
    }

    .question-contents fieldset {
        width: 92%;
        padding: 24px 14px 18px;
    }

    .question-contents legend {
        top: -12px;
        left: 14px;
        padding: 3px 14px;
        font-size: 14px;
    }

    .question-contents fieldset .lists li {
        padding-bottom: 10px;
        line-height: 1.7;
    }

    .question-title {
        padding: 14px 10px;
    }

    .question-sub-title {
        padding: 16px 14px 16px 46px;
        font-size: 16px;
    }

    .question-sub-title::before,
    .question-sub-title::after {
        width: 14px;
        left: 16px;
    }

    .question-box {
        padding: 16px 14px;
    }
}

/* =========================================
   パンくず全体
========================================= */
.page-breadcrumb {
    position: relative;
    width: 100%;
    background: linear-gradient(90deg, #02284b 0%, #0b5fa5 55%, #2f8ddd 100%);
    overflow: hidden;
}

/* 右端の斜めカット */
.page-breadcrumb::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 72px;
    height: 100%;
    background: #fff;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

/* 内側幅 */
.page-breadcrumb__inner {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
    padding: 14px 0;
    position: relative;
    z-index: 1;
}

/* =========================================
   パンくず帯
========================================= */
.page-breadcrumb {
    position: relative;
    width: 100%;
    background: linear-gradient(90deg, #02284b 0%, #0b5fa5 55%, #2f8ddd 100%);
    overflow: hidden;
}

.page-breadcrumb::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 72px;
    height: 100%;
    background: #fff;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.page-breadcrumb__inner {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
    padding: 14px 0;
    position: relative;
    z-index: 1;
}

/* =========================================
   パンくず本体
========================================= */
.breadcrumb-wrap {
    width: 100%;
}

.guidance {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.7;
    gap: 0;
}

.guidance li {
    display: flex;
    align-items: center;
    color: #fff;
    min-width: 0;
}

.guidance li:not(:last-child)::after {
    content: "/";
    display: inline-block;
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.72);
}

.guidance a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.25s ease;
}

.guidance a:hover {
    opacity: 0.75;
}

.guidance .current {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
}

.guidance li,
.guidance a,
.guidance .current {
    word-break: break-word;
}

/* =========================================
   ページ本文との余白
========================================= */
.page-contents {
    width: min(1100px, calc(100% - 32px));
    margin: 40px auto 0;
}

/* =========================================
   タブレット
========================================= */
@media (max-width: 768px) {

    .page-breadcrumb__inner,
    .page-contents {
        width: calc(100% - 24px);
    }

    .page-breadcrumb__inner {
        padding: 12px 0;
    }

    .page-breadcrumb::after {
        width: 48px;
    }

    .guidance {
        font-size: 13px;
        line-height: 1.6;
    }

    .guidance li:not(:last-child)::after {
        margin: 0 7px;
    }

    .page-contents {
        margin-top: 28px;
    }
}

/* =========================================
   スマホ
========================================= */
@media (max-width: 480px) {

    .page-breadcrumb__inner,
    .page-contents {
        width: calc(100% - 20px);
    }

    .page-breadcrumb__inner {
        padding: 10px 0;
    }

    .page-breadcrumb::after {
        width: 34px;
    }

    .guidance {
        font-size: 12px;
        line-height: 1.6;
    }

    .guidance li:not(:last-child)::after {
        margin: 0 5px;
    }

    .page-contents {
        margin-top: 24px;
    }
}


/* =========================================================
   RowTech 会社概要ページ 完全版
   - 青系クールデザイン
   - レスポンシブ対応
   - ヘッダー/フッターとの統一感重視
========================================================= */

:root {
  --rt-company-navy: #0d2d5c;
  --rt-company-navy-deep: #081a33;
  --rt-company-blue: #00abef;
  --rt-company-cyan: #47d7ff;
  --rt-company-ink: #10233f;
  --rt-company-sub: #607086;
  --rt-company-line: rgba(13, 45, 92, 0.10);
  --rt-company-line-strong: rgba(13, 45, 92, 0.16);
  --rt-company-bg: #f7fbff;
  --rt-company-white: #ffffff;
  --rt-company-shadow: 0 20px 60px rgba(13, 45, 92, 0.10);
  --rt-company-shadow-soft: 0 12px 34px rgba(13, 45, 92, 0.08);
  --rt-company-radius: 24px;
  --rt-company-radius-sm: 18px;
}

/* 全体 */
.rt-company-page {
  position: relative;
  background:
    linear-gradient(180deg, #f8fcff 0%, #f4f9ff 34%, #f8fbff 100%);
  color: var(--rt-company-ink);
  overflow: hidden;
}

.rt-company-container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* Hero */
.rt-company-hero {
  position: relative;
  padding: 120px 0 80px;
  border-bottom: 1px solid var(--rt-company-line);
  overflow: hidden;
}

.rt-company-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 15%, rgba(71, 215, 255, 0.14), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(0, 171, 239, 0.16), transparent 26%),
    linear-gradient(135deg, #fbfeff 0%, #eef7ff 45%, #f8fbff 100%);
}

.rt-company-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -140px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 171, 239, 0.10), transparent 70%);
  pointer-events: none;
}

.rt-company-hero::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -100px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 45, 92, 0.08), transparent 70%);
  pointer-events: none;
}

.rt-company-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 840px;
}

.rt-company-kicker {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--rt-company-blue);
}

.rt-company-title {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--rt-company-navy);
}

.rt-company-lead {
  max-width: 760px;
  margin: 24px 0 0;
  font-size: clamp(15px, 2vw, 17px);
  line-height: 2;
  color: var(--rt-company-sub);
}

/* Main */
.rt-company-main {
  position: relative;
  padding: 84px 0 110px;
}

.rt-company-block + .rt-company-block {
  margin-top: 74px;
}

/* 見出し */
.rt-company-heading {
  margin-bottom: 28px;
}

.rt-company-heading-en {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--rt-company-blue);
}

.rt-company-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--rt-company-navy);
}

/* ABOUT */
.rt-company-about-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--rt-company-line);
  border-radius: var(--rt-company-radius);
  box-shadow: var(--rt-company-shadow);
  padding: 38px 40px;
  backdrop-filter: blur(6px);
}

.rt-company-about-card p {
  margin: 0;
  font-size: 16px;
  line-height: 2.1;
  color: var(--rt-company-sub);
}

.rt-company-about-card p + p {
  margin-top: 18px;
}

/* table */
.rt-company-table-wrap {
  background: var(--rt-company-white);
  border: 1px solid var(--rt-company-line);
  border-radius: var(--rt-company-radius);
  box-shadow: var(--rt-company-shadow);
  overflow: hidden;
}

.rt-company-table {
  width: 100%;
  border-collapse: collapse;
}

.rt-company-table th,
.rt-company-table td {
  padding: 24px 28px;
  vertical-align: top;
  border-bottom: 1px solid var(--rt-company-line);
}

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

.rt-company-table th {
  width: 230px;
  background:
    linear-gradient(180deg, #f5faff 0%, #eff6ff 100%);
  color: var(--rt-company-navy);
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  letter-spacing: 0.04em;
}

.rt-company-table td {
  background: #fff;
  color: var(--rt-company-sub);
  font-size: 15px;
  line-height: 2;
}

.rt-company-table a {
  color: var(--rt-company-blue);
  text-decoration: none;
  font-weight: 700;
  word-break: break-all;
}

.rt-company-table a:hover {
  text-decoration: underline;
}

/* service */
.rt-company-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.rt-company-service-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid var(--rt-company-line);
  border-radius: var(--rt-company-radius);
  box-shadow: var(--rt-company-shadow-soft);
  padding: 30px 26px 28px;
  overflow: hidden;
}

.rt-company-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--rt-company-blue), var(--rt-company-cyan));
}

.rt-company-service-no {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--rt-company-blue);
}

.rt-company-service-card h3 {
  margin: 0 0 14px;
  font-size: 21px;
  line-height: 1.45;
  font-weight: 800;
  color: var(--rt-company-navy);
}

.rt-company-service-card p {
  margin: 0;
  font-size: 15px;
  line-height: 2;
  color: var(--rt-company-sub);
}

/* message */
.rt-company-message-box {
  background:
    linear-gradient(135deg, rgba(13, 45, 92, 0.96), rgba(10, 34, 67, 0.96));
  border-radius: 28px;
  box-shadow: 0 24px 64px rgba(13, 45, 92, 0.18);
  padding: 40px 42px;
  position: relative;
  overflow: hidden;
}

.rt-company-message-box::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(71, 215, 255, 0.20), transparent 70%);
}

.rt-company-message-box::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -30px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
}

.rt-company-message-box p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 15px;
  line-height: 2.05;
  color: rgba(255, 255, 255, 0.88);
}

.rt-company-message-box p + p {
  margin-top: 16px;
}

/* contact */
.rt-company-contact-box {
  text-align: center;
  background:
    linear-gradient(135deg, #ffffff 0%, #f4f9ff 100%);
  border: 1px solid var(--rt-company-line-strong);
  border-radius: 30px;
  box-shadow: var(--rt-company-shadow);
  padding: 48px 28px;
}

.rt-company-contact-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--rt-company-blue);
}

.rt-company-contact-box h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.3;
  font-weight: 800;
  color: var(--rt-company-navy);
}

.rt-company-contact-box p {
  max-width: 760px;
  margin: 18px auto 0;
  font-size: 15px;
  line-height: 2;
  color: var(--rt-company-sub);
}

.rt-company-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  min-height: 58px;
  margin-top: 28px;
  padding: 14px 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rt-company-navy), #143f7c);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(13, 45, 92, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.rt-company-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(13, 45, 92, 0.28);
  opacity: 0.96;
}

/* tablet */
@media (max-width: 991px) {
  .rt-company-hero {
    padding: 104px 0 68px;
  }

  .rt-company-main {
    padding: 70px 0 90px;
  }

  .rt-company-block + .rt-company-block {
    margin-top: 60px;
  }

  .rt-company-about-card {
    padding: 32px 28px;
  }

  .rt-company-service-grid {
    grid-template-columns: 1fr;
  }

  .rt-company-message-box {
    padding: 34px 28px;
  }
}

/* mobile */
@media (max-width: 767px) {
  .rt-company-container {
    width: min(100% - 28px, 1120px);
  }

  .rt-company-hero {
    padding: 86px 0 50px;
  }

  .rt-company-kicker {
    margin-bottom: 10px;
    font-size: 12px;
  }

  .rt-company-lead {
    margin-top: 18px;
    line-height: 1.9;
  }

  .rt-company-main {
    padding: 52px 0 70px;
  }

  .rt-company-block + .rt-company-block {
    margin-top: 48px;
  }

  .rt-company-heading {
    margin-bottom: 20px;
  }

  .rt-company-heading h2 {
    font-size: 26px;
  }

  .rt-company-about-card {
    border-radius: var(--rt-company-radius-sm);
    padding: 24px 18px;
  }

  .rt-company-about-card p {
    font-size: 14px;
    line-height: 1.95;
  }

  .rt-company-table-wrap {
    border-radius: var(--rt-company-radius-sm);
    overflow: hidden;
  }

  .rt-company-table,
  .rt-company-table tbody,
  .rt-company-table tr,
  .rt-company-table th,
  .rt-company-table td {
    display: block;
    width: 100%;
  }

  .rt-company-table tr {
    border-bottom: 1px solid var(--rt-company-line);
  }

  .rt-company-table tr:last-child {
    border-bottom: none;
  }

  .rt-company-table th,
  .rt-company-table td {
    border-bottom: none;
    padding: 0;
  }

  .rt-company-table th {
    width: 100%;
    padding: 14px 16px;
    font-size: 13px;
  }

  .rt-company-table td {
    padding: 14px 16px 18px;
    font-size: 14px;
    line-height: 1.9;
  }

  .rt-company-service-card {
    border-radius: var(--rt-company-radius-sm);
    padding: 24px 18px 22px;
  }

  .rt-company-service-card h3 {
    font-size: 18px;
  }

  .rt-company-service-card p {
    font-size: 14px;
    line-height: 1.9;
  }

  .rt-company-message-box {
    border-radius: 20px;
    padding: 26px 18px;
  }

  .rt-company-message-box p {
    font-size: 14px;
    line-height: 1.9;
  }

  .rt-company-contact-box {
    border-radius: 22px;
    padding: 32px 18px;
  }

  .rt-company-contact-box p {
    font-size: 14px;
    line-height: 1.9;
  }

  .rt-company-contact-btn {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    margin-top: 22px;
  }
}
/* 会社概要 end */