:root {
  --primary-color: #008658;
  --primary-dark: #164a85;
  --primary-light: #2d7bc7;
  --secondary-color: #f39800;
  --accent-color: #1e5fa8;
  --text-dark: #333;
  --text-light: #666;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;
  --success-color: #27ae60;
  --warning-color: #f39c12;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.section-title {
  font-size: 1.2rem;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid;
  display: flex;
  align-items: center;
  gap: 10px;
}

.invoice-page-content {
  max-width: 1200px;
  margin-inline: auto;

  @media screen and (min-width: 768px) {
    margin-top: 40px;
  }

  a:hover {
    @media (hover: hover) {
      color: currentColor;
    }
  }
}

.invoice-page_heading {
  position: relative;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2em;

  @media screen and (min-width: 768px) {
    font-size: min(40px, 2.2rem);
  }
}
.invoice-page_heading::after {
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  display: block;
  width: 2em;
  height: 4px;
  background: var(--primary-color);
}
/* ==========================================
   優先アクションセクション
   ========================================== */
.primary-action {
  width: 90%;
  margin-inline: auto;
  background: #daf0ea;

  @media screen and (min-width: 768px) {
    max-width: 900px;
    width: 100%;
    margin-bottom: 40px;
  }
}

/* ==========================================
   初回向け情報（折りたたみ）
   ========================================== */
.info-details {
  border: 1px solid #777777;
  border-radius: 4px;
  cursor: pointer;
}

.info-summary {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  list-style: none;
  cursor: pointer;
  transition: all 0.3s ease;

  @media screen and (min-width: 768px) {
    padding: 2rem;
    font-size: 1.4rem;
  }
}

.info-summary::-webkit-details-marker {
  /* display: none; */
}

.info-summary .arrow {
  margin-left: auto;
  transition: transform 0.3s ease;
}

.info-details[open] .info-summary .arrow {
  transform: rotate(180deg);
}

.info-content {
  padding: 1rem;
  @media screen and (min-width: 768px) {
    padding-top: 0;
    padding-bottom: 2rem;
    padding-inline: 3rem;
  }
}

.info-block {
  margin-bottom: 40px;
}

.info-block:last-child {
  margin-bottom: 0;
}

.info-block h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.5rem;
  /* font-size: 1.5rem; */
  color: var(--primary-color);
}

.info-block p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.start-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem 0;
  padding: 1rem;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 4px;

  @media screen and (min-width: 768px) {
    display: flex;
    align-items: center;
    gap: 10px;
  }
}

.start-info i {
  color: var(--secondary-color);
  font-size: 1.5rem;
}

/* ==========================================
   メリットセクション（折りたたみ内）
   ========================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 1rem;
}

.benefit-card {
  width: 90%;
  margin-inline: auto;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 25px 15px;
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.5rem;
  color: white;
}

.benefit-card h3,
.benefit-card h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.benefit-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ==========================================
   提出方法セクション
   ========================================== */
.method-content {
  text-align: center;
}

.method-description {
  margin-bottom: 30px;
  padding: 1rem;
  font-size: 1.15rem;
  line-height: 2;
  color: var(--text-dark);
  background: var(--bg-light);
  border: 1px solid var(--border-color);
}

.method-description strong {
  color: var(--primary-color);
  font-weight: 600;
}

.method-section .document-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 30px 0;

  @media screen and (min-width: 768px) {
    flex-direction: row;
    gap: 2rem;
  }
}

.doc-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 80%;
  color: white;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  background: var(--primary-color);

  @media screen and (min-width: 768px) {
    width: auto;
  }
}

.doc-link i {
  font-size: 1.5rem;
}

.small-note {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ==========================================
   スケジュールセクション
   ========================================== */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.schedule-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  text-align: center;
  background: var(--bg-light);
  border: 2px solid var(--border-color);
  border-radius: 4px;
}

.schedule-label {
  font-size: 1rem;
  /* color: var(--primary-color);; */
  font-weight: 600;
  /* margin-bottom: 0.5rem; */
  text-transform: uppercase;
  letter-spacing: 1px;
}

.schedule-value {
  font-size: 1.5rem;
  color: var(--text-dark);
  font-weight: 600;
  /* margin-bottom: 10px; */
}

.highlight-date {
  font-size: 2rem;
  color: var(--primary-color);
  font-weight: 600;
}

.schedule-note {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 10px;
  line-height: 1.5;
}

.warning-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1rem;
  border: 2px solid #b70012;
  border-radius: 4px;
}

.warning-icon {
  font-size: 3rem;
  color: #b70012;
  flex-shrink: 0;
}

.warning-content p {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.warning-content p:last-child {
  margin-bottom: 0;
}

/* ==========================================
   アップロードセクション
   ========================================== */
.upload-content {
  text-align: center;
}

.upload-button-container {
  margin: 30px 0;
}

.upload-button {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 20px 40px;
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  background: var(--primary-color);
}

.upload-button i {
  font-size: 1.8rem;
}

.upload-button.unclickable {
  position: relative;
  pointer-events: none;
}

.upload-button.unclickable::after {
  position: absolute;
  content: "2026年2月1日より利用開始予定";
  top: 0;
  left: 0;
  border-radius: 4px;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-notes {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.note-item {
  margin-bottom: 1rem;
  padding: 1rem;
  background: #fff;

  @media screen and (min-width: 768px) {
    padding-inline: 2rem;
  }
}

.note-item i {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.note-item p {
  margin-top: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-dark);
}

.note-item strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* ==========================================
   ドキュメントセクション
   ========================================== */
.document-box {
  background: var(--bg-light);
  border: 2px solid var(--border-color);
  border-radius: 4px;
  padding: 30px;
  margin-bottom: 25px;
}

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

.document-subtitle {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.document-subtitle i {
  font-size: 1.3rem;
}

.document-box p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.document-box p:last-of-type {
  margin-bottom: 25px;
}

.info-text {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-radius: 4px;
  background: var(--bg-light);
}

.info-text i {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.download-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-color);
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.download-link i {
  font-size: 1.2rem;
}

/* ==========================================
   お問合せセクション
   ========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  /* overflow: hidden; */
  border-radius: 4px;
}

.contact-header {
  display: flex;
  align-items: center;
  gap: 15px;
  color: white;
  padding: 20px;
  background: var(--primary-color);
}

.contact-header i {
  font-size: 2rem;
}

.contact-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
}

.contact-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 25px;
  border: 2px solid var(--border-color);
}

.contact-company {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.contact-info {
  margin-bottom: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.contact-item i {
  color: var(--primary-color);
  font-size: 1.1rem;
  width: 20px;
}

.contact-item a {
  text-decoration: none;
  font-weight: 500;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-note {
  margin-top: -1rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--text-light);
  padding-left: 30px;
}
