:root {
  --color-primary: #9C8E00;
  --color-secondary: #1D1D1D;
  --color-text: #1A1A1A;
  --color-text-sub: #666666;
  --color-bg: #FFFFFF;
  --color-bg-sub: #F5F5F5;
  --color-bg-header: #F9F8F8;
  --color-border: #E0E0E0;
  --color-accent: #7A6F00;
  --color-danger: #C53030;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "arial","Noto Sans JP","游ゴシック",YuGothic,"ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","メイリオ",Meiryo,sans-serif;
  /*font-weight: 300;*/
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

/* ===== Utility ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

.section {
  padding: 80px 0;
}

br.sp {
  display: none;
}

.section-label {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  border: none;
  padding: 0;
  border-radius: 0;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 12px;
  color: var(--color-text);
}

.section-subtitle {
  font-size: 1rem;
  /*font-weight: 300;*/
  color: var(--color-text-sub);
  text-align: center;
  margin-bottom: 48px;
}

.customers .section-title,
.reasons .section-title,
.faq .section-title {
  margin-bottom: 40px;
}

/* ===== Fade-in animation ===== */
.fade-in {
  /*
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  */
}
.fade-in.visible {
  /*
  opacity: 1;
  transform: translateY(0);
  */
}

/* ===== Hero ===== */
.logo-bar {
  width: 100%;
  background: #FFFFFF;
  border-top: 4px solid #9C8E00;
  border-bottom: 1px solid #EAEAEA;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo-bar .container {
  position: static;
}

.top-page-button {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 10px;
  border: 1px solid #8f8f8f;
  border-radius: 999px;
  background: #FFFFFF;
  color: #1d1d1d;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.top-page-button-icon {
  font-size: 12px;
  line-height: 1;
  transform: translateY(-0.5px);
}

.top-page-button span:last-child {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.top-page-button:hover {
  opacity: 0.75;
}

.top-logo-link {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

.top-logo {
  display: block;
  width: 100%;
  max-width: 55px;
  height: auto;
  margin: 0 auto;
  padding: 10px 0;
}

.hero {
  background:
    linear-gradient(rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.86)),
    url('img/header_pc.jpg') center / cover no-repeat;
  padding: 96px 0 80px;
  text-align: center;
  font-family: "Noto Serif JP",Times New Roman,YuMincho,Hiragino Mincho ProN,Yu Mincho,MS PMincho,serif;
}

.hero .section-label {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.hero-heading {
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text);
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 1rem;
  /*font-weight: 300;*/
  color: #222222;
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-block;
  background: var(--color-primary);
  color: #FFFFFF;
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  line-height: 1.4;
}
.btn-primary:hover {
  opacity: 0.8;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--color-primary);
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  font-family: 'Noto Sans JP', sans-serif;
  text-decoration: none;
  border: 2px solid var(--color-primary);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  line-height: 1.4;
}
.btn-secondary:hover {
  background: var(--color-primary);
  color: #FFFFFF;
}

/* ===== Customer Types ===== */
.customers {
  padding: 80px 0;
}

.customer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.customer-card {
  background: #FFFFFF;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
}

.customer-card .card-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin: -32px -24px 20px -24px;
  width: calc(100% + 48px);
  border-radius: 8px 8px 0 0;
}

.customer-card .card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.customer-card h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.customer-card p {
  font-size: 0.85rem;
  color: var(--color-text-sub);
  /*font-weight: 300;*/
}

/* ===== Reasons ===== */
.reasons {
  background: var(--color-bg-sub);
  padding: 80px 0;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.reason-card {
  background: #FFFFFF;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border-radius: 8px;
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.reason-card .reason-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  opacity: 0.3;
  line-height: 1;
  margin: 0 12px 0 0;
}

.reason-card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.5;
}

.reason-card p {
  font-size: 0.9rem;
  color: var(--color-text-sub);
  /*font-weight: 300;*/
  line-height: 1.8;
  width: 100%;
  margin-top: 10px;
}

/* ===== Form Section ===== */
.form-section {
  padding: 80px 0;
}

.form-wrapper {
  max-width: 760px;
  margin: 0 auto;
  background: var(--color-bg-header);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 48px 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 6px;
}

.form-group .required {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-danger);
  margin-left: 4px;
}

.form-group .optional {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-text-sub);
  margin-left: 4px;
}

.form-group .form-label-block {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 6px;
}

/* スパム用 honeypot（画面外） */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

body .iz_form_container .form-input,
body .iz_form_container .form-select,
body .iz_form_container .form-textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.9rem;
  /*font-family: 'Noto Sans JP', sans-serif;*/
  /*font-weight: 300;*/
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: #FFFFFF;
  color: var(--color-text);
  transition: border-color 0.2s;
  line-height: 1.6;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #BBBBBB;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

body .iz_form_container .form-select{
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Radio group */
.radio-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.radio-option {
  position: relative;
}

.radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-option label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 400;
  background: #FFFFFF;
  transition: border-color 0.2s, background 0.2s;
  margin-bottom: 0;
}

.radio-option label::before {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  flex-shrink: 0;
  transition: border-color 0.2s;
}

.radio-option input[type="radio"]:checked + label {
  border-color: var(--color-primary);
  background: rgba(156, 142, 0, 0.04);
}

.radio-option input[type="radio"]:checked + label::before {
  border-color: var(--color-primary);
  background: var(--color-primary);
  box-shadow: inset 0 0 0 3px #FFFFFF;
}

/* Checkbox */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 28px;
}

.checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-primary);
  margin-top: 3px;
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: 0.8rem;
  color: var(--color-text-sub);
  /*font-weight: 300;*/
  cursor: pointer;
}

.checkbox-group a {
  color: var(--color-primary);
  text-decoration: underline;
}

.form-submit {
  text-align: center;
}

.form-submit .btn-primary {
  padding: 16px 56px;
  font-size: 1rem;
}

.form-submit-note {
  font-size: 0.75rem;
  color: var(--color-text-sub);
  margin-top: 12px;
}

.faq-category {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.06em;
  margin-top: 32px;
  padding-left: 2px;
}

.faq-category:first-child {
  margin-top: 0;
}

/* ===== FAQ ===== */
.faq {
  background: var(--color-bg-sub);
  padding: 80px 0;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-text);
  transition: background 0.2s;
  gap: 16px;
  user-select: none;
}

.faq-question:hover {
  background: var(--color-bg-sub);
}

.faq-toggle {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.faq-toggle svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-text-sub);
  stroke-width: 1.5;
  fill: none;
}

.faq-item.open .faq-toggle {
  transform: none;
}

.faq-item.open .faq-toggle .v-line {
  display: none;
}

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

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--color-text-sub);
  /*font-weight: 300;*/
  line-height: 1.8;
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
}

.contact-footer {
  border-top: 1px solid var(--color-border);
  background: #fafafa;
  padding: 20px 0;
}

.contact-footer .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 12px;
}

.contact-footer-links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 16px;
  font-size: 0.82rem;
}

.contact-footer-links a {
  color: var(--color-text-sub);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-footer-links a:hover {
  color: var(--color-main);
}

.contact-footer-copy {
  margin: 0;
  font-size: 0.78rem;
  color: var(--color-text-sub);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

body .iz_form_container .iz_btn__action button{
  font-size: 15px;
}
body .radio.form_inline label{
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: #FFFFFF;
  padding: 15px 20px;
  display: inline-block;
  margin: 5px 5px 5px 0;
  line-height: 1;
  vertical-align: middle;
}
body .radio.form_inline label:has(input[type="radio"]:checked) {
  border-color: var(--color-primary);
}
body .radio.form_inline input[type=radio]{
  accent-color: var(--color-primary);
}


/* ===== Responsive ===== */
@media (max-width: 768px) {
  br.sp {
    display: inline;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .top-page-button {
    left: 16px;
    height: 22px;
    padding: 0 8px;
    gap: 3px;
  }

  .top-page-button-icon {
    font-size: 11px;
  }

  .top-page-button span:last-child {
    font-size: 10px;
  }

  .section,
  .customers,
  .reasons,
  .form-section,
  .faq {
    padding: 48px 0;
  }

  .hero {
    background:
      linear-gradient(rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.86)),
      url('img/header.jpg') center / cover no-repeat;
    padding: 56px 0 48px;
  }

  .hero-heading {
    font-size: 1.3rem;
  }

  .hero-sub {
    font-size: 0.75rem;
  }

  .top-logo {
    max-width: 42px;
    padding: 7px 0;
  }

  .section-title {
    font-size: 1.05rem;
  }

  .section-subtitle {
    margin-bottom: 32px;
    font-size: 0.8em;
  }

  .customer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .customer-card {
    padding: 24px 16px;
  }

  .customer-card .card-photo {
    margin: -24px -16px 16px -16px;
    width: calc(100% + 32px);
  }

  .reasons-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-wrapper {
    padding: 32px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-row .form-group {
    margin-bottom: 20px;
  }

  .radio-group {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .contact-footer {
    padding: 16px 0;
  }

  .contact-footer .container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .contact-footer-links {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .contact-footer-links a {
    font-size: 0.76rem;
    line-height: 1.5;
    text-align: center;
  }

  body .iz_form_container .iz_btn__action{
    margin: 5px;
  }
  body .iz_form_container .iz_btn__action button{
    font-size: 13px;
  }
  body .iz_form_container .form_confirm_box{
    padding: 20px 10px !important;
  }
  body .iz_form_container .form_confirm_box p{
    padding: 10px 0 !important;
    font-size: 15px !important;
  }
  body .iz_form_container .form_confirm{
    font-size: 14px;
  }
}
