@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* --- ベース変数設定 --- */
:root {
  --tf-bg-color: #0f172a;       /* 背景色：ダークスレート */
  --tf-input-bg: #1e293b;       /* 入力欄背景 */
  --tf-accent: #06b6d4;         /* アクセント：シアン */
  --tf-text-main: #f8fafc;      /* テキスト色 */
  --tf-text-sub: #94a3b8;       /* プレースホルダー色 */
  --tf-border: #334155;         /* 枠線 */
}

/* --- コンテナ全体 --- */
.tech-form-container {
  background: var(--tf-bg-color);
  padding: 40px;
  border-radius: 8px;
  color: var(--tf-text-main);
  border: 1px solid var(--tf-border);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Helvetica Neue', Arial, sans-serif; /* システムフォントでシャープに */
}

/* --- レイアウト（PCで2列、スマホで1列） --- */
.tf-row {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.tf-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* --- ラベルデザイン --- */
.tf-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tf-accent);
  margin-bottom: 8px;
  font-weight: 700;
  display: block;
}

.tf-req {
  background: var(--tf-accent);
  color: #000;
  padding: 2px 6px;
  border-radius: 2px;
  font-size: 0.6rem;
  margin-left: 8px;
  vertical-align: middle;
}

/* --- 入力フィールド共通 --- */
.tf-input,
.tf-select,
.tf-textarea {
  background: var(--tf-input-bg);
  border: 1px solid var(--tf-border);
  color: var(--tf-text-main);
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 1rem;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box; /* 崩れ防止 */
}

.tf-textarea {
  height: 150px;
  resize: vertical;
}

/* フォーカス時のテック感あふれる発光演出 */
.tf-input:focus,
.tf-select:focus,
.tf-textarea:focus {
  outline: none;
  border-color: var(--tf-accent);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.3); /* シアン色のグロー */
  background: #1e293b;
}

/* プレースホルダーの色 */
::placeholder {
  color: var(--tf-text-sub);
  opacity: 1;
}

/* --- チェックボックスまわり --- */
.consent-row {
  justify-content: center;
  margin-top: 10px;
}

.tf-checkbox-label {
  font-size: 0.9rem;
  color: var(--tf-text-sub);
  cursor: pointer;
}

.tf-checkbox-label a {
  color: var(--tf-accent);
  text-decoration: none;
  border-bottom: 1px solid var(--tf-accent);
}

/* --- 送信ボタン --- */
.tf-submit-wrap {
  text-align: center;
  margin-top: 20px;
}

.tf-btn {
  background: transparent;
  color: var(--tf-accent);
  border: 1px solid var(--tf-accent);
  padding: 15px 50px;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  width: 100%;
  max-width: 300px;
}

/* ボタンのホバーエフェクト（塗りつぶし＋発光） */
.tf-btn:hover {
  background: var(--tf-accent);
  color: #0f172a; /* 背景色と同じ色で文字を抜く */
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.6);
}

/* --- スマホ対応（レスポンシブ） --- */
@media screen and (max-width: 600px) {
  .tf-row {
    flex-direction: column;
    gap: 15px;
  }
  
  .tech-form-container {
    padding: 20px;
  }
}


/* ---▼▼▼▼▼ フォント ▼▼▼▼▼--- */

.ubuntu-light {
  font-family: "Ubuntu", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.ubuntu-regular {
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.ubuntu-medium {
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.ubuntu-bold {
  font-family: "Ubuntu", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.ubuntu-light-italic {
  font-family: "Ubuntu", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.ubuntu-regular-italic {
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.ubuntu-medium-italic {
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.ubuntu-bold-italic {
  font-family: "Ubuntu", sans-serif;
  font-weight: 700;
  font-style: italic;
}
