* {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    font-family:
      "Hiragino Sans",
      "Yu Gothic",
      "Meiryo",
      sans-serif;
    background: #f5f8f5;
    color: #213026;
    line-height: 1.8;
  }
  
  
  /* =========================
     ヘッダー
  ========================= */
  
  .contact-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e9e2;
  }
  
  .header-inner {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
    padding: 20px 0;
  
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .site-name {
    text-decoration: none;
    color: #163c25;
  }
  
  .site-name span {
    display: block;
    font-size: 0.78rem;
  }
  
  .site-name strong {
    display: block;
    font-size: 1.25rem;
  }
  
  .back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  
    min-width: 120px;
    padding: 10px 18px;
  
    text-decoration: none;
    color: #2e7d32;
  
    border: 1px solid #42a846;
    border-radius: 30px;
  
    font-weight: bold;
    transition: 0.2s;
  }
  
  .back-button:hover {
    background: #42a846;
    color: #ffffff;
  }
  
  
  /* =========================
     ヒーロー
  ========================= */
  
  .contact-hero {
    padding: 70px 20px;
    text-align: center;
  
    background:
      linear-gradient(
        rgba(20, 80, 43, 0.88),
        rgba(20, 80, 43, 0.88)
      );
  }
  
  .contact-hero-inner {
    max-width: 800px;
    margin: 0 auto;
    color: #ffffff;
  }
  
  .hero-label {
    margin: 0 0 5px;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    opacity: 0.85;
  }
  
  .contact-hero h1 {
    margin: 0 0 15px;
    font-size: clamp(2rem, 4vw, 3rem);
  }
  
  .contact-hero p {
    margin: 0;
    font-size: 1rem;
  }
  
  
  /* =========================
     フォームエリア
  ========================= */
  
  .contact-section {
    padding: 60px 20px 80px;
  }
  
  .contact-card {
    max-width: 850px;
    margin: 0 auto;
  
    padding: 50px 60px;
  
    background: #ffffff;
    border-radius: 24px;
  
    box-shadow:
      0 15px 40px
      rgba(32, 70, 42, 0.08);
  }
  
  .contact-intro {
    margin-bottom: 40px;
    text-align: center;
  }
  
  .contact-intro h2 {
    margin: 0 0 10px;
    color: #1f4d2c;
    font-size: 1.7rem;
  }
  
  .contact-intro p {
    margin: 5px 0;
  }
  
  .required-note {
    font-size: 0.88rem;
    color: #666;
  }
  
  .required-note span {
    color: #d9534f;
  }
  
  
  /* =========================
     入力欄
  ========================= */
  
  .form-group {
    margin-bottom: 28px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
  }
  
  .required,
  .optional {
    display: inline-block;
    margin-left: 8px;
  
    padding: 2px 9px;
  
    border-radius: 20px;
    font-size: 0.72rem;
    vertical-align: 2px;
  }
  
  .required {
    background: #e95d5d;
    color: #ffffff;
  }
  
  .optional {
    background: #e8ece8;
    color: #647064;
  }
  
  input,
  select,
  textarea {
    width: 100%;
  
    padding: 14px 16px;
  
    border: 1px solid #cfd8cf;
    border-radius: 10px;
  
    background: #ffffff;
  
    color: #243127;
    font: inherit;
  
    transition:
      border-color 0.2s,
      box-shadow 0.2s;
  }
  
  input:focus,
  select:focus,
  textarea:focus {
    outline: none;
  
    border-color: #45a94a;
  
    box-shadow:
      0 0 0 3px
      rgba(69, 169, 74, 0.13);
  }
  
  textarea {
    resize: vertical;
    min-height: 180px;
  }
  
  .char-count {
    margin-top: 5px;
    text-align: right;
    font-size: 0.78rem;
    color: #7b827b;
  }
  
  
  /* =========================
     個人情報
  ========================= */
  
  .privacy-box {
    margin: 35px 0;
  
    padding: 20px 22px;
  
    background: #f3f8f3;
    border: 1px solid #dce9dc;
    border-radius: 12px;
  }
  
  .privacy-box p {
    margin: 0;
    font-size: 0.9rem;
  }
  
  
  /* =========================
     送信ボタン
  ========================= */
  
  .submit-area {
    text-align: center;
  }
  
  #submitButton {
    min-width: 240px;
  
    padding: 16px 32px;
  
    border: none;
    border-radius: 40px;
  
    background: #3fc64d;
    color: #ffffff;
  
    font-size: 1rem;
    font-weight: bold;
  
    cursor: pointer;
  
    transition:
      transform 0.2s,
      opacity 0.2s;
  }
  
  #submitButton:hover {
    transform: translateY(-2px);
  }
  
  #submitButton:disabled {
    opacity: 0.55;
    cursor: default;
    transform: none;
  }
  
  
  /* =========================
     メッセージ
  ========================= */
  
  .form-message {
    display: none;
  
    margin-bottom: 25px;
    padding: 15px 18px;
  
    border-radius: 10px;
  
    text-align: center;
    font-weight: bold;
  }
  
  .form-message.success {
    display: block;
  
    background: #edf9ef;
    border: 1px solid #99d5a2;
    color: #237536;
  }
  
  .form-message.error {
    display: block;
  
    background: #fff2f2;
    border: 1px solid #e7a1a1;
    color: #a23434;
  }
  
  
  /* =========================
     フッター
  ========================= */
  
  footer {
    padding: 45px 20px;
  
    background: #154b2c;
    color: #ffffff;
  
    text-align: center;
  }
  
  footer p {
    margin: 4px 0;
  }
  
  footer strong {
    font-size: 1.25rem;
  }
  
  .footer-company {
    margin-top: 12px;
    font-size: 0.82rem;
    opacity: 0.85;
  }
  
  
  /* =========================
     スマホ
  ========================= */
  
  @media (max-width: 700px) {
  
    .header-inner {
      width: calc(100% - 30px);
    }
  
    .site-name strong {
      font-size: 1rem;
    }
  
    .back-button {
      min-width: auto;
      padding: 8px 14px;
      font-size: 0.85rem;
    }
  
    .contact-hero {
      padding: 50px 20px;
    }
  
    .contact-section {
      padding: 35px 15px 60px;
    }
  
    .contact-card {
      padding: 30px 20px;
      border-radius: 18px;
    }
  
    .contact-intro h2 {
      font-size: 1.4rem;
    }
  
    #submitButton {
      width: 100%;
    }
  
    .pc-only {
      display: none;
    }
  
  }