/* ============================================================
   ご注文の流れページ用スタイルシート (注文方法/chumon_style.css)
   対応ページ: https://www.1st-trophy.com/hpgen/HPB/entries/382.html
   ============================================================ */

/* ----- 基本設定 ----- */
#bread-crumb {
  display: none;
}

html {
  scroll-behavior: smooth;
}

.chumon-page {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: #333;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 12px;
  -webkit-text-size-adjust: 100%;
}

.chumon-page p {
  margin-bottom: 1.2em;
  font-size: 15px;
}

.chumon-page ul,
.chumon-page ol {
  padding-left: 1.2em;
  margin-bottom: 1.2em;
}

.chumon-page li {
  margin-bottom: 0.5em;
  font-size: 14.5px;
  line-height: 1.6;
}

.strong-key {
  color: #004669;
  font-weight: bold;
}

a.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #004669;
  font-weight: bold;
  text-decoration: none;
  margin: 10px 0 20px;
  padding: 8px 16px;
  border: 1.5px solid #004669;
  border-radius: 6px;
  transition: all 0.2s ease;
  background-color: #fff;
  font-size: 14px;
}

a.text-link:hover {
  background-color: #004669;
  color: #fff;
}

/* ----- 全体注意喚起アラート ----- */
.important-notice {
  background: #fff8e2;
  border: 1px solid #ddd;
  border-left: 6px solid #dc2626;
  padding: 18px 22px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.notice-title {
  color: #004669;
  font-weight: bold;
  font-size: 15.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.notice-text {
  font-size: 14px;
  color: #000;
  margin: 0;
  line-height: 1.65;
}

.highlight-box {
  background-color: #f2f2f2;
  border: 1px solid #ddd;
  border-left: 4px solid #004669;
  padding: 16px 18px;
  border-radius: 8px;
  margin: 18px 0;
}

.highlight-box.warning {
  background-color: #fef2f2;
  border-color: #fecaca;
  border-left-color: #dc2626;
}

/* ===== 4方式のはやわかり比較表 ===== */
.compare-section {
  margin-bottom: 34px;
}

.compare-section-title {
  font-size: 15.5px;
  font-weight: bold;
  color: #004669;
  margin-bottom: 12px;
  text-align: center;
}

.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  border: 1px solid #e5e5e5;
}

table.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 640px;
  font-size: 13px;
}

table.compare-table caption {
  display: none;
  text-align: left;
  padding: 6px 4px 10px;
  font-size: 12px;
  color: #999;
}

table.compare-table th,
table.compare-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e5e5e5;
  text-align: left;
  vertical-align: top;
}

table.compare-table thead th {
  background: #004669;
  color: #fff;
  font-weight: bold;
  font-size: 12.5px;
  white-space: nowrap;
}

table.compare-table tbody tr:last-child td {
  border-bottom: none;
}

table.compare-table tbody tr:hover {
  background: #f7f7f7;
}

table.compare-table td.name-cell {
  font-weight: bold;
  color: #004669;
  white-space: nowrap;
}

.tag-nocall {
  display: inline-block;
  background: #f2f2f2;
  color: #555;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
}

.tag-action {
  display: inline-block;
  background: #fef2f2;
  color: #dc2626;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
}

.compare-jump-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: bold;
  color: #004669;
  background: #f2f2f2;
  border: 1px solid #ccc;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.compare-jump-btn:hover {
  background: #004669;
  color: #fff;
}

/* ----- タブ切替 ----- */
.chumon-page input[type="radio"] {
  display: none;
}

.Order_text {
  margin-bottom: 24px;
  text-align: center;
  font-weight: bold;
  color: #004669;
  font-size: 16px;
}

.tab-labels {
  display: flex;
  width: 100%;
  gap: 6px;
  margin-bottom: -2px;
  position: relative;
  z-index: 2;
}

.tab-label {
  flex: 1 1 0;
  padding: 14px 6px;
  background: #e8e8e8;
  color: #777;
  font-weight: bold;
  font-size: 0.85rem;
  text-align: center;
  cursor: pointer;
  border-radius: 12px 12px 0 0;
  border: 1px solid #ccc;
  border-bottom: none;
  transition: all 0.25s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  line-height: 1.35;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.tab-label:hover {
  background: #f2f2f2;
  color: #004669;
}

.tab-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  background: #004669;
  color: #f7f7f7;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: normal;
  text-align: left;
  line-height: 1.55;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 99;
  pointer-events: none;
  animation: fadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 7px;
  border-style: solid;
  border-color: #004669 transparent transparent transparent;
}

.tab-label:hover .tab-tooltip {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, 6px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

#radio1:checked ~ .tab-labels [for="radio1"],
#radio2:checked ~ .tab-labels [for="radio2"],
#radio3:checked ~ .tab-labels [for="radio3"],
#radio4:checked ~ .tab-labels [for="radio4"] {
  background: #fff;
  color: #004669;
  border-color: #ccc;
  border-top: 3.5px solid #004669;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.03);
}

.tab-content {
  display: none;
  background: #fff;
  padding: 36px 28px;
  border: 1px solid #ddd;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  margin-bottom: 60px;
}

#radio1:checked ~ #content1,
#radio2:checked ~ #content2,
#radio3:checked ~ #content3,
#radio4:checked ~ #content4 {
  display: block;
}

.tab-content h2 {
  font-size: 1.35rem;
  color: #004669;
  margin: 0 0 10px 0;
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 2px solid #e5e5e5;
  letter-spacing: 0.02em;
}

.tab-content > p {
  color: #666;
  text-align: center;
  margin-bottom: 36px;
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ----- フロー図（お客様/スタッフの流れ） ----- */
.flow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 5%;
  row-gap: 0;
  position: relative;
  margin-bottom: 20px;
}

.column-title {
  font-size: 0.95rem;
  font-weight: bold;
  text-align: center;
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.title-customer {
  background: #004669;
}

.title-staff {
  background: #777;
}

.step-box {
  background: #fff;
  border: 1.5px solid #e5e5e5;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  display: block;
  margin-bottom: 24px;
  z-index: 2;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

a.step-box.customer-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-color: #004669;
}

.customer-step {
  border-color: #ccc;
  background: #fafafa;
  cursor: pointer;
}

.customer-step.static-step {
  cursor: default;
}

.staff-step {
  border-color: #e5e5e5;
  background: #fafafa;
  cursor: default;
}

.customer-step.action-required {
  border-color: #fca5a5;
  background: #fff5f5;
}

a.customer-step.action-required:hover {
  border-color: #dc2626;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.15);
}

.action-tag {
  position: absolute;
  top: -11px;
  right: 14px;
  z-index: 2;
  background: #dc2626;
  color: #fff;
  font-size: 10.5px;
  font-weight: bold;
  padding: 2px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.2);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 10px 16px;
}

.step-badge {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  font-weight: bold;
  font-size: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1.1;
}

.customer-step .step-badge {
  background: #004669;
}

.staff-step .step-badge {
  background: #888;
}

.step-badge span {
  font-size: 13px;
  font-weight: 800;
}

.step-text-wrapper {
  flex: 1;
  text-align: left;
}

.step-text {
  font-size: 0.95rem;
  font-weight: bold;
  color: #222;
}

.jump-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: bold;
  color: #fff;
  background-color: #004669;
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.jump-btn .arrow {
  font-size: 11px;
  transition: transform 0.2s ease;
}

a.step-box.customer-step:hover .jump-btn {
  background-color: #002e45;
}

a.step-box.customer-step:hover .jump-btn .arrow {
  transform: translateY(2px);
}

.customer-step.action-required .jump-btn {
  background-color: #dc2626;
  box-shadow: 0 2px 5px rgba(220, 38, 38, 0.2);
}

a.customer-step.action-required:hover .jump-btn {
  background-color: #991b1b;
}

.step-notes {
  padding: 10px 16px 14px 16px;
  font-size: 0.85rem;
  color: #555;
  border-top: 1px dashed #e5e5e5;
  line-height: 1.6;
}

.step-notes strong {
  color: #dc2626;
}

.badge-container {
  display: flex;
  justify-content: center; 
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
  text-align: center;
}

.badge-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #e63946;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 4px rgba(230, 57, 70, 0.2);
}

/* ----- step-notes用の返信要バッジ ----- */
.badge-reply {
  display: inline-block;
  background-color: #dc2626;
  color: #ffffff;
  font-size: 15px;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 20px;
  margin-bottom: 4px;
  letter-spacing: 0.03em;
  vertical-align: middle;
}

.customer-cell,
.staff-cell {
  position: relative;
}

.customer-cell::before,
.staff-cell::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 38px;
  width: 2px;
  background: #ccc;
  z-index: 1;
}

.flow-grid > div:nth-child(3).customer-cell::before,
.flow-grid > div:nth-child(4).staff-cell::before {
  top: 22px;
}

.customer-cell.last-step-cell::before,
.staff-cell.last-step-cell::before {
  bottom: auto;
  height: 35px;
}

.empty-cell.customer-cell::before,
.empty-cell.staff-cell::before {
  top: -24px;
}

.empty-cell.no-line::before {
  display: none !important;
}

/* ----- ステップの装飾アイコン（PC版のみ・スペースの都合でSPは非表示） ----- */
@media (min-width: 601px) {
  .step-box[class*="icon-"] .step-header {
    position: relative;
    overflow: hidden;
    border-radius: 0 11px 0 0;
  }

  .step-box[class*="icon-"] .step-text-wrapper {
    max-width: 58%;
  }

  .step-box[class*="icon-"] .step-header::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 30%;
    z-index: 1;
    background-color: #eef2f7;
    background-size: cover;
    background-position: center;
    clip-path: polygon(26% 0, 100% 0, 100% 100%, 0% 100%);
  }

  .icon-production .step-header::after {
    background-image: url("https://www.1st-trophy.com/pic-labo/limg/syouhinsakusei-1.jpg");
  }

  .icon-productionplate .step-header::after {
    background-image: url("https://www.1st-trophy.com/pic-labo/limg/kakou-plate.jpg");
  }

  .icon-shipping .step-header::after {
    background-image: url("https://www.1st-trophy.com/pic-labo/limg/syukka.jpg");
  }

  .icon-delivery .step-header::after {
    background-image: url("https://www.1st-trophy.com/pic-labo/limg/otodoke.jpg");
  }

  .icon-browse .step-header::after {
    background-image: url("https://www.1st-trophy.com/pic-labo/limg/syouhinsentaku.jpg");
  }

  .icon-textinput .step-header::after {
    background-image: url("https://www.1st-trophy.com/pic-labo/limg/chyumonkakutei.jpg");
  }

  .icon-confirmmail .step-header::after {
    background-image: url("https://www.1st-trophy.com/pic-labo/limg/confirmmail.jpg");
  }

  .icon-proofsend .step-header::after {
    background-image: url("https://www.1st-trophy.com/pic-labo/limg/Design-Creation.jpg");
  }

  .icon-reviewreply .step-header::after {
    background-image: url("https://www.1st-trophy.com/pic-labo/limg/shiagariimg.jpg");
  }

  .icon-datamake .step-header::after {
    background-image: url("https://www.1st-trophy.com/pic-labo/limg/Design-Creation.jpg");
  }

  .icon-checkout .step-header::after {
    background-image: url("https://www.1st-trophy.com/pic-labo/limg/chyumonkakutei.jpg");
  }

  .icon-datasend .step-header::after {
    background-image: url("https://www.1st-trophy.com/pic-labo/limg/mail-01.jpg");
  }

  .icon-datacheck .step-header::after {
    background-image: url("https://www.1st-trophy.com/pic-labo/limg/Design-Creation.jpg");
  }

  .icon-designtool .step-header::after {
    background-image: url("https://www.1st-trophy.com/pic-labo/limg/shiagariimg.jpg");
  }
}

/* ----- ご注文手順（詳細） ----- */
.detail-section-title {
  text-align: center;
  font-size: 20px;
  color: #004669;
  font-weight: bold;
  margin: 40px 0 28px;
  position: relative;
  padding-bottom: 12px;
  border-top: 2px dashed #ddd;
  padding-top: 40px;
}

.detail-section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: #004669;
  border-radius: 2px;
}

.step-section {
  scroll-margin-top: 80px;
}

#tabBox {
  scroll-margin-top: 80px;
}

.step-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 30px auto 16px;
  border-bottom: 2px solid #004669;
  padding-bottom: 8px;
}

.step-heading .label {
  background: #004669;
  color: #fff;
  padding: 4px 14px;
  font-weight: bold;
  font-size: 12.5px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.step-heading.action-heading {
  border-bottom-color: #dc2626;
}

.step-heading.action-heading .label {
  background: #dc2626;
}

.step-heading .title {
  font-size: 18px;
  color: #004669;
  font-weight: bold;
}

.step-heading.action-heading .title {
  color: #dc2626;
}

.content-box {
  margin: 0 auto 36px;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #e5e5e5;
}

.main-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 16px auto 24px;
  border: 1px solid #f2f2f2;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* ===== FAQ ===== */
.faq-section {
  margin: 50px auto 20px;
}

.faq-section-title {
  font-size: 19px;
  font-weight: bold;
  color: #004669;
  text-align: center;
  margin-bottom: 22px;
}

.faq-item {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: #fff;
  border: none;
  padding: 16px 46px 16px 18px;
  font-size: 14.5px;
  font-weight: bold;
  color: #222;
  cursor: pointer;
  position: relative;
  line-height: 1.5;
}

.faq-question::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #004669;
  color: #fff;
  border-radius: 6px;
  font-size: 12px;
  margin-right: 10px;
  flex-shrink: 0;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #999;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer-inner {
  padding: 0 18px 18px 50px;
  font-size: 13.5px;
  color: #555;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-fallback {
  text-align: center;
  margin-top: 20px;
}

.faq-fallback p {
  color: #555;
  font-size: 13.5px;
  margin-bottom: 10px;
}

/* ----- レスポンシブ ----- */
@media (max-width: 768px) {
  .tab-label {
    font-size: 0.78rem;
    padding: 10px 2px;
  }

  .tab-tooltip {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .chumon-page {
    padding: 20px 8px;
  }

  table.compare-table {
    table-layout: fixed;
    min-width: 640px;
    font-size: 12px;
  }

  table.compare-table caption {
    display: table-caption;
  }

  table.compare-table th,
  table.compare-table td {
    padding: 10px 8px;
  }

  table.compare-table th:nth-child(1),
  table.compare-table td:nth-child(1) {
    width: 120px;
  }

  table.compare-table th:nth-child(2),
  table.compare-table td:nth-child(2) {
    width: 140px;
  }

  table.compare-table th:nth-child(3),
  table.compare-table td:nth-child(3) {
    width: 120px;
  }

  table.compare-table th:nth-child(4),
  table.compare-table td:nth-child(4) {
    width: 170px;
  }

  table.compare-table th:nth-child(5),
  table.compare-table td:nth-child(5) {
    width: 90px;
  }

  table.compare-table td.name-cell {
    white-space: normal;
  }

  .tab-labels {
    flex-wrap: wrap;
    gap: 6px 4px;
    margin-bottom: 8px;
  }

  .tab-label {
    flex: 1 1 calc(50% - 4px);
    border-radius: 8px;
    border-bottom: 1px solid #ccc;
    padding: 10px 4px;
  }

  #radio1:checked ~ .tab-labels [for="radio1"],
  #radio2:checked ~ .tab-labels [for="radio2"],
  #radio3:checked ~ .tab-labels [for="radio3"],
  #radio4:checked ~ .tab-labels [for="radio4"] {
    border-top: none;
    border-bottom: 3px solid #004669;
    background: #fff;
  }

  .tab-content {
    padding: 20px 12px;
    border-radius: 12px;
  }

  .flow-grid {
    column-gap: 3%;
  }

  .column-title {
    font-size: 0.85rem;
    padding: 8px;
    margin-bottom: 14px;
  }

  .step-box {
    margin-bottom: 16px;
  }

  .step-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 10px 8px 10px;
    gap: 6px;
  }

  .step-badge {
    flex-direction: row;
    width: auto;
    height: auto;
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 10px;
    gap: 4px;
  }

  .step-badge span {
    font-size: 12px;
  }

  .step-text-wrapper {
    width: 100%;
  }

  .step-text {
    font-size: 0.85rem;
  }

  .jump-btn {
    display: flex;
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
    line-height: 1.4;
    border-radius: 8px;
    font-size: 10px;
    padding: 5px 3px;
  }

  .step-notes {
    font-size: 0.75rem;
    padding: 8px 8px 10px 8px;
  }

  .action-tag {
    top: -13px;
    right: 10px;
    font-size: 9.5px;
    padding: 2px 9px;
  }

  .customer-cell::before,
  .staff-cell::before {
    left: 25px;
  }

  .flow-grid > div:nth-child(3).customer-cell::before,
  .flow-grid > div:nth-child(4).staff-cell::before {
    top: 18px;
  }

  .empty-cell.customer-cell::before,
  .empty-cell.staff-cell::before {
    top: -16px;
  }

  .customer-cell.last-step-cell::before,
  .staff-cell.last-step-cell::before {
    height: 25px;
  }

  .step-heading {
    flex-direction: column;
    align-items: flex-start;
    margin: 20px 0 12px;
    gap: 8px;
  }

  .step-heading .label {
    padding: 5px 14px;
    font-size: 11.5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  }

  .step-heading .title {
    font-size: 15px;
  }

  .content-box {
    padding: 14px;
  }

  .main-image {
    margin: 10px auto 16px;
  }
}