.main-page-container {
    width: 100%;
    padding: clamp(60px, 8.33vw, 120px) 0 0;
    background-color: #f8f8f8;
}

/* Header Area (Max width 1245px) */
.main-header {
    width: 100%;
    margin-bottom: clamp(40px, 5.56vw, 80px);
}

.main-header-inner {
    max-width: 1245px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: baseline;
    gap: 20px;
}

.main-title-en {
    font-size: clamp(40px, 5.83vw, 55px);
    font-weight: 500;
    color: #003a8c;
    line-height: 1;
}

.main-title-jp {
    font-size: 20px;
    color: #333;
}

@media screen and (max-width: 768px) {
  .main-header-inner {
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
  }
  .main-title-en { font-size: 40px; }
  .main-title-jp { font-size: 16px; }
}

/* --- main_sec01 settings --- */
.main_sec01 {
  padding-bottom: clamp(40px, 5vw, 80px);
  background-color: transparent !important;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
}

.main_sec01-inner {
  width: 90%;
  max-width: 1245px;
  margin: 0 auto;
  display: flex;
  gap: clamp(20px, 4vw, 60px);
  align-items: flex-start;
}

/* Sidebar / Menu common */
.main_sec01-sidebar {
  width: 240px;
  flex-shrink: 0;
}

/* PC版：Sticky固定 */
@media screen and (min-width: 769px) {
  .main_sec01-sidebar {
    position: sticky;
    top: clamp(80px, 8.33vw, 120px); /* 固定ヘッダー(最大100px) + 余白(20px) */
    height: fit-content;
    z-index: 10;
  }
}

.main_sec01-nav-title {
    font-size: 25px;
    color: #003E92;
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
    font-weight: 500
}

.main_sec01-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.main_sec01-nav-item {
  margin-bottom: 1px;
}

.main_sec01-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #003e92;
  color: #fff;
  text-decoration: none;
  padding: 12px 15px;
  font-size: 14px;
  transition: background-color 0.3s;
}

.main_sec01-nav-link::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}

.main_sec01-nav-link:hover {
  background-color: #0056cc;
}

/* Main Content Area */
.main_sec01-main {
  flex-grow: 1;
  max-width: 850px; /* main_sec01-inner(1440) - sidebar(240) - gap(60) */
  min-width: 0;
}

.main_sec01-title {
  font-size: clamp(30px, 2.5vw, 38px);
  color: #333;
  margin-bottom: clamp(30px, 4vw, 50px);
  font-weight: 500;
}

.main_sec01-sub-title {
  font-size: clamp(18px, 2vw, 24px);
  color: #003e92;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  font-weight: 500;
}

.main_sec01-sub-title::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  background-color: #003e92;
  margin-right: 10px;
}

.main_sec01-block {
  margin-bottom: clamp(30px, 4vw, 50px);
}

.main_sec01-text {
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.8;
  margin-bottom: 5px;
}

.main_sec01-intro-content {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 10px;
}

.main_sec01-intro-img {
  flex: 0 1 clamp(350px, 50vw, 500px);
}

.main_sec01-intro-img img {
  width: 100%;
  height: auto;
}

.main_sec01-details {
  margin-top: 80px;
}

.main_sec01-spec {
  font-size: 0.5em;
  font-weight: normal;
  vertical-align: middle;
  margin-left: 10px;
}

.main_sec01-spec-title {
  font-size: clamp(16px, 1.8vw, 20px);
  color: #003e92;
  margin: 30px 0 15px;
}

.main_sec01-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
}

.main_sec01-table th,
.main_sec01-table td {
  border: 1px solid #ccc;
  padding: 15px;
  text-align: center;
  font-size: 16px;
  word-break: break-all;
}

.main_sec01-table th {
  background-color: #003e92;
  color: #fff;
  font-weight: normal;
}

.main_contact-fixed {
    position: fixed;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

.main_contact-fixed.pc-only {
    bottom: clamp(20px, 4vw, 40px);
    right: 30px;
    width: 250px; /* デフォルト幅、必要に応じて調整 */
}

.main_contact-fixed.sp-only {
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0;
}

.main_contact-fixed-link {
    display: block;
}

.main_contact-fixed img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Responsive (Break Point: 768px) --- */
@media screen and (max-width: 768px) {
  .main_sec01 {
    padding-top: 0; /* メニューが固定されるため上部パディング調整 */
  }
  
  .main_sec01-inner {
    flex-direction: column;
    width: 100%; /* フル幅 */
  }

  /* SP版：Sticky固定 */
  .main_sec01-sidebar {
    width: 100%;
    position: sticky;
    top: clamp(60px, 16vw, 120px); /* 固定ヘッダーの高さに合わせる */
    z-index: 1000;
  }

  .main_sec01-menu-trigger {
    width: 100%;
    background-color: #003e92;
    color: #fff;
    border: none;
    padding: 10px 15px;
    font-size: 33px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
  }

  .main_sec01-menu-trigger::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 48px;
    line-height: 1;
  }

  .main_sec01-menu-trigger.is-open::after {
    content: "−";
  }

  /* SP版：展開されるナビ */
  .main_sec01-nav {
    display: none;
    background-color: #f2f2f2;
    width: 100%;
    border-bottom: 2px solid #003e92;
  }

  .main_sec01-nav-title {
    display: none;
  }

  .main_sec01-nav.is-open {
    display: block;
  }

  .main_sec01-nav-link {
    background-color: transparent;
    color: #333;
    border-bottom: 1px solid #ccc;
    padding: 15px 20px;
  }

  .main_sec01-nav-link::after {
    border-top-color: #333;
    border-right-color: #333;
  }

  /* コンテンツ側の調整 */
  .main_sec01-main {
    width: 90%;
    margin: 40px auto;
  }

  .main_sec01-intro-content {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
  }

  .main_sec01-intro-img {
    flex: none;
    width: 100%;
  }

  .main_sec01-details {
    margin-top: 40px;
  }

  .pc-hide { display: block; }
}

@media screen and (min-width: 769px) {
  .pc-hide { display: none; }
}

/* スムーズスクロール */
html {
  scroll-behavior: smooth;
  scroll-padding-top: clamp(80px, 8.33vw, 120px); /* 固定ヘッダーの高さ分、ジャンプ位置を調整 */
}

/* --- main_sec02 settings --- */
.main_sec02 {
  padding: clamp(40px, 5vw, 80px) 0;
  background-color: transparent !important;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
  width: 100%;
}

.main_sec02-inner {
  width: 100%;
  max-width: none;
  margin: 0;
}

.main_sec02-header {
  margin-bottom: clamp(30px, 4vw, 50px);
}

.main_sec02-title {
  font-size: clamp(24px, 2.5vw, 38px);
  font-weight: 500;
  color: #333;
}

.main_sec02-spec {
  font-size: 0.5em;
  font-weight: normal;
  vertical-align: middle;
  margin-left: 10px;
}

.main_sec02-content {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* Table Design */
.main_sec02-table-wrapper {
  width: 100%;
}

.main_sec02-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  table-layout: fixed; /* セルの幅を均等にするため */
}

.main_sec02-table th,
.main_sec02-table td {
  border: 1px solid #ccc;
  padding: clamp(3px, 0.3vw, 6px);
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
  vertical-align: middle;
  word-break: break-all;
}

@media screen and (min-width: 769px) {
  .main_sec02-table td {
    word-break: keep-all;
  }
}

/* 左端の青背景ヘッダー */
.main_sec02-th-primary {
  background-color: #003e92;
  color: #fff;
  width: clamp(100px, 10vw, 150px);
  font-weight: normal;
}

/* メーカー名のセル */
.main_sec02-td-maker {
  width: clamp(100px, 12vw, 140px);
  font-size: clamp(11px, 1vw, 14px);
}

/* --- Responsive (Break Point: 768px) --- */
@media screen and (max-width: 768px) {
  .main_sec02-inner {
    width: 95%; /* SP版は少し広く使う */
  }

  /* SP版：横スクロールの実装 */
  .main_sec02-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* カスタムスクロールバー（グレーのバーの再現） */
    padding-bottom: 20px; /* スクロールバーのための余白 */
  }

  /* スクロールバーのスタイル（モダンブラウザ対応） */
  .main_sec02-table-wrapper::-webkit-scrollbar {
    -webkit-appearance: none;
    height: 8px; /* バーの太さ */
  }
  .main_sec02-table-wrapper::-webkit-scrollbar-track {
    background: #e0e0e0; /* バーの背景（細いグレーの線） */
    border-radius: 4px;
  }
  .main_sec02-table-wrapper::-webkit-scrollbar-thumb {
    background: #888; /* スクロール中・存在を示すグレーの濃い部分 */
    border-radius: 4px;
  }

  /* SP版では表の最小幅を固定してスクロールさせる */
  .main_sec02-table {
    min-width: 700px; /* スクロールを発生させるための最小幅 */
    table-layout: auto;
  }

  .main_sec02-th-primary {
    width: 120px;
    padding: 10px 5px;
  }

  .main_sec02-td-maker {
    width: 140px;
  }
  
  .main_sec02-content {
    gap: 40px;
  }
}

/* --- main_sec03 settings --- */
.main_sec03 {
  padding: clamp(40px, 5vw, 80px) 0;
  background-color: transparent !important;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
  width: 100%;
}

.main_sec03-inner {
  width: 100%;
  max-width: none;
  margin: 0;
}

.main_sec03-header {
  margin-bottom: clamp(30px, 4vw, 50px);
  text-align: center;
}

.main_sec03-title {
  font-size: clamp(24px, 2.5vw, 38px);
  font-weight: 500;
  color: #333;
}

.main_sec03-title span {
  font-size: 0.8em;
  font-weight: normal;
  display: inline-block;
  margin-left: 0.5em;
}

.main_sec03-content {
  display: flex;
  flex-direction: column;
}

/* Table Design */
.main_sec03-table-wrapper {
  width: 100%;
}

/* PC版ではテーブル間の隙間を無くして1つの大きな表に見せる */
@media screen and (min-width: 769px) {
  .main_sec03-table-wrapper + .main_sec03-table-wrapper .main_sec03-table {
    border-top: none;
  }
}

.main_sec03-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  table-layout: fixed;
}

.main_sec03-table td {
  border: 1px solid #ccc;
  padding: clamp(12px, 1.5vw, 20px);
  text-align: center;
  font-size: 16px;
  line-height: 1.4;
  vertical-align: middle;
  height: 4.5em; /* セルの高さを揃える */
  word-break: break-all;
}

/* --- Responsive (Break Point: 768px) --- */
@media screen and (max-width: 768px) {
  .main_sec03-inner {
    width: 95%;
  }

  .main_sec03-header {
    text-align: left;
  }

  .main_sec03-title span {
    display: block;
    margin-left: 0;
    margin-top: 5px;
  }

  .main_sec03-content {
    gap: 40px; /* SP版では分割された表の間に余白を設ける */
  }

  /* SP版：横スクロールの実装 */
  .main_sec03-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px; /* スクロールバー用のスペース */
  }

  /* スクロールバーのカスタマイズ */
  .main_sec03-table-wrapper::-webkit-scrollbar {
    -webkit-appearance: none;
    height: 8px;
  }
  .main_sec03-table-wrapper::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 4px;
  }
  .main_sec03-table-wrapper::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
  }

  /* SP版では最小幅を設定してスクロールを発生させる */
  .main_sec03-table {
    min-width: 850px; /* 4カラムのテキストが入り切る幅 */
    table-layout: auto;
  }

  .main_sec03-table td {
    padding: 15px 10px;
    height: auto;
    min-width: 200px;
  }
}

/* --- main_sec04 settings --- */
.main_sec04 {
  padding: clamp(60px, 8vw, 100px) 0;
  background-color: transparent !important;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
  width: 100%;
}

.main_sec04-inner {
  width: 100%;
  max-width: none;
  margin: 0;
}

.main_sec04-header {
  margin-bottom: clamp(20px, 3vw, 40px);
}

.main_sec04-title {
  font-size: clamp(24px, 2.5vw, 38px);
  font-weight: 500;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 15px;
}

.main_sec04-sub-link {
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: normal;
  color: #003e92;
}

/* Table Area */
.main_sec04-price {
  margin-bottom: clamp(60px, 8vw, 100px);
}

.main_sec04-table-wrapper {
  width: 100%;
  max-width: 800px; /* デザインに合わせ表の幅を制限 */
}

.main_sec04-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
}

.main_sec04-table th,
.main_sec04-table td {
  border: 1px solid #ccc;
  padding: clamp(15px, 2vw, 25px);
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  word-break: break-all;
}

.main_sec04-table th {
  background-color: #003e92;
  color: #fff;
  font-weight: normal;
  width: 50%;
}

.main_sec04-note {
  margin-top: 15px;
  font-size: clamp(14px, 1.1vw, 15px);
  text-align: right;
  max-width: 800px;
}

/* Documents Area */
.main_sec04-doc-main {
  width: 100%;
  max-width: 900px;
  margin-bottom: 30px;
}

.main_sec04-doc-image-lg img,
.main_sec04-doc-image-sm img {
  width: 100%;
  height: auto;
  display: block;
}

.main_sec04-doc-sub-grid {
  width: 100%;
  max-width: 900px;
}

/* --- Responsive (Break Point: 768px) --- */
@media screen and (max-width: 768px) {
  .main_sec04-inner {
    width: 95%;
  }

  .main_sec04-title {
    flex-direction: column;
    gap: 10px;
  }

  .main_sec04-table-wrapper {
    max-width: 100%;
  }

  .main_sec04-table th,
  .main_sec04-table td {
    padding: 15px 10px;
  }

  .main_sec04-note {
    text-align: left;
  }

  .main_sec04-doc-main,
  .main_sec04-doc-sub-grid {
    max-width: 100%;
  }
}

/* --- main_sec05 settings --- */
.main_sec05 {
  position: relative;
  background-color: #00a5ae;
  color: #fff;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  text-align: center;
  /* セクション間のグレー地余白をセクション内のトップパディングとして確保 */
  padding-bottom: clamp(60px, 8vw, 100px);
  margin: clamp(60px, 8vw, 100px) 0 0;
  width: 100%;
}

/* 上部のグレー余白と突き出る三角形 */
.main_sec05-deco {
  position: relative;
  width: 100%;
  height: clamp(60px, 8vw, 100px); /* グレー地の高さ */
  background-color: #f8f8f8; /* 画像から抽出した薄いグレー */
}

.main_sec05-deco::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  /* 上向きの三角形（背景と同じ #00a5ae） */
  border-style: solid;
  border-width: 0 clamp(25px, 5vw, 50px) clamp(20px, 4vw, 40px) clamp(25px, 5vw, 50px);
  border-color: transparent transparent #00a5ae transparent;
}

.main_sec05-inner {
  width: 90%;
  max-width: 1440px;
  margin: 0 auto;
  padding-top: clamp(20px, 4vw, 40px); /* 三角形の頂点からの余白 */
}

/* Header */
.main_sec05-title {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: clamp(20px, 4vw, 40px);
}

.main_sec05-intro {
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.8;
  margin-bottom: clamp(30px, 6vw, 60px);
}

.main_sec05-note a {
  color: #fff;
  text-decoration: underline;
}

/* Button (マウスアウト時：白地/青文字、オンマウス時：青地/白文字+白枠) */
.main_sec05-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(280px, 50vw, 480px);
  height: clamp(50px, 8vw, 70px);
  background-color: #fff;
  color: #00a5ae;
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #fff;
  border-radius: 50px;
  transition: all 0.3s ease;
  margin-bottom: clamp(40px, 8vw, 80px);
}

.main_sec05-btn:hover {
  background-color: #00a5ae;
  color: #fff;
}

/* Info Section */
.main_sec05-flow-list {
  display: inline-block;
  text-align: left;
  list-style-position: outside;
  margin: 0 auto clamp(30px, 6vw, 60px);
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 2.2;
}

.main_sec05-flow-list li {
  margin-bottom: 0.5em;
}

.main_sec05-footer-text {
  font-size: clamp(14px, 1.6vw, 15px);
  line-height: 1.8;
}

.main_sec05-footer-text a {
  color: #fff;
  text-decoration: underline;
}

/* Utilities */
.pc-only { display: block; }

/* --- Responsive (Break Point: 768px) --- */
@media screen and (max-width: 768px) {
  .main_sec05 {
    padding-bottom: 60px;
  }
  
  .main_sec05-inner {
    width: 95%;
  }

  .main_sec05-flow-list {
    width: 90%;
    font-size: 14px;
    padding-left: 1.2em;
  }

  .pc-only { display: none; }
}