﻿@charset "UTF-8";

 /* フォント設定 */
body {
      font-family: 'Noto Sans JP', sans-serif;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }
    .font-display {
      font-family: 'Playfair Display', serif;
    }
    /* ヒーローセクションの背景色 */
    .big-bg {
      background-color:#F97316; /* Tailwind orange-500 */
      background-size: cover;
      background-position: center;
    }
 html, body {
      margin: 0;
      padding: 0;
    }
    /* 全体のラッパー要素のスタイル */
    .wrapper {
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
      padding: 1.5rem; /* Tailwind p-6 */
    }
    /* アップロードセクションのスタイル */
    .upload h2 {
      font-size: 1.875rem; /* Tailwind text-3xl */
      font-weight: 700; /* Tailwind font-bold */
      color: #F97316; /* Tailwind orange-500 */
      margin-bottom: 1.5rem; /* Tailwind mb-6 */
      text-align: center;
    }
    .upload p {
      margin-bottom: 0.5rem; /* Tailwind mb-2 */
      line-height: 1.6;
      color: #333;
    }
    .upload strong {
      color: #F97316; /* Tailwind orange-500 */
    }
    /* テキストエリアのスタイル */
    #texta {
      margin-top: 2rem; /* Tailwind mt-8 */
      background-color: #fefce8; /* Tailwind amber-50 */
      border: 1px solid #FDBA74; /* Tailwind amber-300 */
      border-radius: 0.5rem; /* Tailwind rounded-lg */
      padding: 1.5rem; /* Tailwind p-6 */
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Tailwind shadow-md */
    }
    .prv {
      width: 100%;
      height: 250px;
      resize: vertical;
      border: 1px solid #ccc;
      border-radius: 0.375rem; /* Tailwind rounded-md */
      padding: 1rem; /* Tailwind p-4 */
      font-size: 0.875rem; /* Tailwind text-sm */
      line-height: 1.5;
      background-color: #fff;
      color: #333;
    }
    /* ドロップエリアとファイル選択ボタンのコンテナ */
    .drop-up {
      display: flex;
      flex-direction: column;
      gap: 1.5rem; /* Tailwind gap-6 */
      margin-bottom: 2rem; /* Tailwind mb-8 */
    }
    @media (min-width: 768px) { /* md breakpoint */
      .drop-up {
        flex-direction: row;
        justify-content: center;
      }
    }
    /* ドロップエリアのスタイル */
    #DropArea, #label {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      min-height: 150px;
      border: 3px dashed #F97316; /* Tailwind orange-500 */
      border-radius: 0.75rem; /* Tailwind rounded-xl */
      background-color: #fff7ed; /* Tailwind orange-50 */
      color: #F97316; /* Tailwind orange-500 */
      font-weight: 600; /* Tailwind font-semibold */
      cursor: pointer;
      transition: all 0.3s ease;
      padding: 1rem;
      text-align: center;
    }
    #DropArea:hover, #label:hover {
      background-color: #fed7aa; /* Tailwind orange-200 */
      color: #fff;
      border-color: #ea580c; /* Tailwind orange-700 */
    }
    #DropArea p, #label p {
      margin-bottom: 0.5rem;
    }
    #label p:last-child {
      font-size: 0.75rem; /* Tailwind text-xs */
      color: #666;
      margin-top: 0.5rem;
    }
    /* プレビューセクションのスタイル */
    .preview {
      background-color: #fff;
      border: 1px solid #FDBA74; /* Tailwind amber-300 */
      border-radius: 0.75rem; /* Tailwind rounded-xl */
      padding: 1.5rem; /* Tailwind p-6 */
      text-align: center;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Tailwind shadow-md */
      margin-top: 2rem; /* Tailwind mt-8 */
    }
    .preview p {
      font-size: 1.125rem; /* Tailwind text-lg */
      font-weight: 600; /* Tailwind font-semibold */
      color: #F97316; /* Tailwind orange-500 */
      margin-bottom: 1rem; /* Tailwind mb-4 */
    }
    #ImagPart {
      max-width: 100%;
      height: auto;
      border: 1px solid #ccc;
      border-radius: 0.5rem; /* Tailwind rounded-lg */
      margin-top: 1rem;
      display: block; /* 中央寄せのため */
      margin-left: auto;
      margin-right: auto;
      max-height: 300px; /* プレビュー画像の最大高さを設定 */
      object-fit: contain; /* 画像が枠内に収まるように調整 */
    }
    /* 送信ボタンのスタイル */
    #SendButn + label {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      max-width: 300px; /* ボタンの最大幅 */
      margin: 2rem auto 0; /* 中央寄せと上部のマージン */
      padding: 1rem 2rem; /* Tailwind py-4 px-8 */
      background-color: #F97316; /* Tailwind orange-500 */
      color: white;
      font-size: 1.5rem; /* Tailwind text-2xl */
      font-weight: 700; /* Tailwind font-bold */
      border-radius: 0.75rem; /* Tailwind rounded-xl */
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.2s ease;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Tailwind shadow-md */
      text-align: center;
    }
    #SendButn:disabled + label {
      background-color: #fed7aa; /* Tailwind orange-200 */
      cursor: not-allowed;
      box-shadow: none;
    }
    #SendButn + label:hover:not(#SendButn:disabled + label) {
      background-color: #ea580c; /* Tailwind orange-700 */
      transform: translateY(-2px);
    }

/* デフォルトフォントとしてInterを設定します top画像のスタイル*/
        body {
            font-family: 'Inter', sans-serif;
        }
        /* 背景画像を適用するためのスタイル */
        .big-bg {
            
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }
