@charset "UTF-8";
/* CSS Document */


.guideline-page * {
  box-sizing: border-box;
}

.guideline-page .sp-only {
  display: none;
}

.guideline-page .pc-only {
  display: block;
}

.guideline-page .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px 8px;
}

section.cmn_cont01.cmn_cont01--guideline {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  overflow: hidden;
}

.guideline-page .header {
  background: none;
  color: #111;
  padding: 12px 20px;
  text-align: center;
  border-radius: 0;
  margin-bottom: 24px;
  box-shadow: none;
}

.guideline-page .header h1 {
  font-size: 2.2em;
  margin-bottom: 16px;
  font-weight: 700;
}

.guideline-page .header p {
  font-size: 1.1em;
  opacity: 1;
}

.guideline-page .header .header-notice {
  display: inline-block;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #24bbb7;
}

.guideline-page .summary-section {
  background: white;
  padding: 24px 40px 40px;
  margin-bottom: 32px;
  border-radius: 12px;
  box-shadow: none;
}

.guideline-page .summary-section h2 {
  font-size: 1.6em;
  color: #111;
  margin-top: 0;
  margin-bottom: 24px;
  text-align: center;
  border-bottom: none;
  box-shadow: none;
}

.guideline-page .summary-section h2::after {
  content: none;
}

.guideline-page .key-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
  margin-bottom: 60px;
}

.guideline-page .key-point {
  background: #f8f9fa;
  padding: 8px 16px;
  border-radius: 12px;
  border-left: 4px solid #0ea5a4;
  transition: all 0.3s ease;
}

.guideline-page .key-point:hover {
  transform: translateY(-4px);
  box-shadow: none;
}

.guideline-page .key-point h3 {
  color: #111;
  font-size: 1.2em;
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-left: none;
  padding-left: 6px;
}

.guideline-page .key-point p {
  color: #555;
  font-size: 0.95em;
  margin-top: 0;
  margin-bottom: 10px;
}

.guideline-page .notice-box {
  background: #fff3cd;
  border-left: 5px solid #ffc107;
  padding: 24px;
  margin-top: 24px;
  border-radius: 8px;
}

.guideline-page .notice-box p {
  color: #856404;
  font-size: 0.95em;
}

.guideline-page .tabs {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.guideline-page .tab-buttons {
  display: flex;
  background: #f8f9fa;
  border-bottom: 2px solid #e2e8f0;
  overflow-x: auto;
}

.guideline-page .tab-button {
  flex: 1;
  min-width: 140px;
  padding: 20px 16px;
  background: none;
  border: none;
  color: #666;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.guideline-page .tab-button:hover {
  background: #e9ecef;
  color: #111;
}

.guideline-page .tab-button.active {
  color: #111;
  background: white;
  border-bottom: 3px solid #0ea5a4;
}

.guideline-page .tab-content {
  display: none;
  padding: 40px;
  animation: fadeIn 0.3s ease;
}

.guideline-page .tab-content[data-content="1"] {
  padding-left: 24px;
  padding-right: 24px;
}

.guideline-page .tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.guideline-page .tab-heading {
  border: none;
  padding: 0;
}

.guideline-page .tab-heading--center {
  text-align: center;
  color: #111;
  margin-bottom: 32px;
}

.guideline-page .tab {
  border: none;
  padding: 0;
}

.guideline-page .flowchart {
  max-width: 680px;
  margin: 0 auto;
}

.guideline-page .flow-step {
  background: white;
  border: 3px solid #7dd3d0;
  border-radius: 12px;
  padding: 24px;
  margin: 16px 0;
  text-align: center;
  font-weight: 600;
  font-size: 1.1em;
  color: #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.guideline-page .flow-step.start {
  background: linear-gradient(135deg, #0ea5a4 0%, #0d8f8e 100%);
  color: white;
  border: none;
}

.guideline-page .flow-step.question {
  background: #fff9e6;
  border-color: #ffc107;
  border-radius: 50px;
}

.guideline-page .flow-step.ok {
  background: #d4edda;
  border-color: #28a745;
  min-height: 94px;
  padding: 20px 12px;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
}

.guideline-page .flow-step.ok span {
  font-size: inherit !important;
}

.guideline-page .flow-step.ng {
  background: #f8d7da;
  border-color: #dc3545;
  min-height: 94px;
  padding: 20px 12px;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
}

.guideline-page .flow-arrow {
  text-align: center;
  font-size: 2em;
  color: #0ea5a4;
  margin: 8px 0;
}

.guideline-page .flow-branch {
  display: flex;
  gap: 24px;
  margin: 16px 0;
}

.guideline-page .flow-branch > div {
  flex: 1;
}

.guideline-page .branch-label {
  text-align: center;
  font-weight: 600;
  color: #111;
  margin: 8px 0;
}

.guideline-page .branch-label--small {
  font-size: 0.9em;
}

.guideline-page .flow-tip {
  margin-top: 32px;
  padding: 20px;
  background: #f0f9ff;
  border-radius: 8px;
  text-align: left;
}

.guideline-page .flow-tip p {
  color: #0369a1;
  font-weight: 600;
  padding-left: 1.4em;
  text-indent: -1.4em;
}

.guideline-page .rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 24px 0;
}

.guideline-page .rights-card {
  background: #f8f9fa;
  padding: 22px;
  border-radius: 12px;
  border: 2px solid #e0e0e0;
  display: flex;
  flex-direction: column;
}

.guideline-page .rights-card h4 {
  color: #111;
  font-size: 1.2em;
  margin: 0 0 10px 0;
}

.guideline-page .rights-card p {
  font-size: 0.95em;
  color: #555;
  margin: 0 0 10px 0;
}

.guideline-page .rights-example {
  margin-top: auto;
  margin-bottom: 0;
  font-weight: 600;
  color: #000000;
}

.guideline-page .rights-warning {
  margin-top: 32px;
  padding: 24px;
  background: #fef3c7;
  border-radius: 8px;
}

.guideline-page .rights-warning p {
  color: #92400e;
  font-weight: 600;
  padding-left: 1.6em;
  text-indent: -1.6em;
}


.guideline-page .prohibited-list,
.guideline-page .example-list {
  list-style: none;
  padding: 20px 20px 20px 48px;
  border-radius: 8px;
  margin: 20px 0;
}

.guideline-page .prohibited-list {
  background: #fff5f5;
  border: 2px solid #fc8181;
}

.guideline-page .example-list {
  background: #f0fdf4;
  border: 2px solid #86efac;
}

.guideline-page .prohibited-list li,
.guideline-page .example-list li {
  margin: 12px 0;
  line-height: 1.8;
  position: relative;
}

.guideline-page .prohibited-list li {
  color: #c53030;
}

.guideline-page .prohibited-list li::before {
  content: "✕";
  color: #fc8181;
  font-weight: bold;
  position: absolute;
  left: -24px;
}

.guideline-page .example-list li {
  color: #0ea5a4;
}

.guideline-page .example-list li::before {
  content: "✓";
  color: #22c55e;
  font-weight: bold;
  position: absolute;
  left: -24px;
}

.guideline-page .case-box {
  background: #f8f9fa;
  border-left: 4px solid #7dd3d0;
  padding: 20px;
  margin: 16px 0;
  border-radius: 8px;
}

.guideline-page .case-box h4 {
  color: #2d3748;
  font-size: 1.1em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.guideline-page .case-box h4::before {
  content: "Q";
  background: #0ea5a4;
  color: white;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: bold;
  font-size: 0.9em;
  flex-shrink: 0;
}

.guideline-page .case-box p {
  color: #555;
  padding-left: 36px;
}

.guideline-page h3 {
  color: #111;
  font-size: 1.3em;
  margin: 32px 0 16px 0;
  padding-left: 16px;
  border-left: 4px solid #7dd3d0;
}

.guideline-page .tab-content[data-content="2"] > h3:first-child {
  margin-bottom: 8px;
}

.guideline-page .tab-content[data-content="2"] > h3 + h3 {
  margin-top: 32px;
}

@media (max-width: 768px) {
  .guideline-page .container {
    padding: 20px 8px;
  }

  .guideline-page .guideline-titlebar {
    margin: 0 -8px 12px;
    padding: 12px 16px;
  }

  .guideline-page .header {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 0;
  }

  .guideline-page .header .header-notice {
    text-align: left;
    padding-left: 0;
    padding-right: 0;
    font-size: 0.9em;
  }

  .guideline-page .header .header-notice .header-notice__lead {
    white-space: nowrap;
  }

  .guideline-page .sp-only {
    display: block;
  }

  .guideline-page .pc-only {
    display: none;
  }

  .guideline-page .summary-section,
  .guideline-page .tab-content {
    padding: 24px 12px;
  }

  .guideline-page .tab-content {
    font-size: 1.03em;
  }

  .guideline-page .tab-content[data-content="1"] {
    font-size: 1em;
  }

  .guideline-page .tab-button {
    min-width: 100px;
    padding: 16px 12px;
    font-size: 1em;
  }

  .guideline-page .key-points {
    grid-template-columns: 1fr;
  }

  .guideline-page .flow-branch {
    flex-direction: row;
  }

  .guideline-page .flow-branch {
    gap: 4px;
  }

  .guideline-page .flow-step {
    padding: 16px 12px;
    font-size: 0.9em;
  }

  .guideline-page .flow-step.question {
    padding: 14px 12px;
  }

  .guideline-page .flow-step.ok,
  .guideline-page .flow-step.ng {
    min-height: 66px;
    padding: 10px 4px;
    font-size: 0.82em;
  }

  .guideline-page .flowchart {
    --flowchart-scale: clamp(0.34, calc((100vw - 56px) / 600), 1);
    width: 600px;
    max-width: none;
    overflow-x: visible;
    padding-bottom: 0;
    min-width: 0;
    width: calc(100% / var(--flowchart-scale));
    transform: scale(var(--flowchart-scale));
    transform-origin: top center;
  }

  .guideline-page .flowchart > .flow-branch {
    justify-content: center;
  }

  .guideline-page .flowchart > .flow-branch > div {
    flex: 0 1 50%;
  }

  .guideline-page .tab-buttons {
    flex-direction: column;
    overflow-x: visible;
    border-bottom: none;
    background: transparent;
    padding: 16px 16px 0 16px;
  }

  .guideline-page .tab-button {
    flex: none;
    width: 100%;
    min-width: 0;
    white-space: normal;
    border: 1px solid #e2e8f0;
    border-bottom: none;
    background: #e9ecef;
    color: #111827;
    padding: 18px 14px;
    border-radius: 0;
  }

  .guideline-page .tab-button:first-child {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }

  .guideline-page .tab-button:last-child {
    border-bottom: 1px solid #e2e8f0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }

  .guideline-page .tab-button.active {
    background: #0ea5a4;
    border-color: #0ea5a4;
    color: #fff;
  }

  .guideline-page .case-box {
    padding: 14px;
    margin: 8px 0;
  }

  .guideline-page .case-box h4 {
    margin-bottom: 6px;
  }

  .guideline-page .case-box p {
    padding-left: 36px;
  }
}
