/*! destyle.css v3.0.2 | MIT License | https://github.com/nicolas-cusan/destyle.css */
*,
:root {
  /* Updated, more futuristic color system */
  --color-primary: #00c4b6;
  /* Vibrant teal for a modern AI feel */
  --color-secondary: #3b82f6;
  /* Bright blue */
  --color-accent: #8b5cf6;
  /* Soft purple accent */
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;

  /* Neutral grays */
  --color-gray-50: #f8fafc;
  --color-gray-100: #f1f5f9;
  --color-gray-200: #e2e8f0;
  --color-gray-300: #cbd5e1;
  --color-gray-400: #94a3b8;
  --color-gray-500: #64748b;
  --color-gray-600: #475569;
  --color-gray-700: #334155;
  --color-gray-800: #1e293b;
  --color-gray-900: #0f172a;
  /* Dark navy backdrop */

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  --gradient-hero: linear-gradient(135deg, #00c4b6, #3b82f6);

  /* Typography */
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-mono: 'Fira Code', 'SF Mono', monospace;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  color: var(--color-gray-800);
  background: var(--color-gray-50);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
}

p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  color: var(--color-gray-900);
}

p,
ul,
ol,
dl,
figure,
blockquote {
  margin: 0;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.4s;
}

a:hover {
  opacity: 0.8;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
  border-top-width: 1px;
  margin: 0;
  clear: both;
  color: inherit;
}

pre {
  font-family: monospace, monospace;
  font-size: inherit;
}

address {
  font-style: inherit;
}

a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

abbr[title] {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: inherit;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

svg,
img,
embed,
object,
iframe {
  vertical-align: bottom;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit;
}

[type='checkbox'] {
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;
  appearance: checkbox;
}

[type='radio'] {
  -webkit-appearance: radio;
  -moz-appearance: radio;
  appearance: radio;
}

button,
[type='button'],
[type='reset'],
[type='submit'] {
  cursor: pointer;
}

button:disabled,
[type='button']:disabled,
[type='reset']:disabled,
[type='submit']:disabled {
  cursor: default;
}

:-moz-focusring {
  outline: auto;
}

select:disabled {
  opacity: inherit;
}

option {
  padding: 0;
}

fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
  height: auto;
}

[type='search'] {
  outline-offset: -2px;
}

[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

label[for] {
  cursor: pointer;
}

details {
  display: block;
}

summary {
  display: list-item;
}

[contenteditable]:focus {
  outline: auto;
}

table {
  border-color: inherit;
  border-collapse: collapse;
}

caption {
  text-align: left;
}

td,
th {
  vertical-align: top;
  padding: 0;
}

th {
  text-align: left;
  font-weight: bold;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

body {
  margin: 0;
  padding: 0;
  letter-spacing: 0;
  font-family: Arial, 'Helvetica Neue', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  color: #323232;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.is-fixed {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100vh;
}

body.is-fixed header {
  position: fixed;
}

a {
  transition: opacity 0.4s;
}

a:link,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
  outline: none;
}

a:active {
  outline: none;
}

@media (min-width: 768px) {
  a:hover {
    opacity: 0.6;
  }
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

img {
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

section {
  padding: 4rem 0;
}

@media (max-width: 767px) {
  section {
    padding: 2rem 0;
  }
}

/* レイアウトルール ユーティリティ */

.u-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.u-right {
  text-align: right;
  margin-left: auto;
}

.u-left {
  text-align: left;
  margin-right: auto;
}

.u-primary {
  color: #1dac3f;
}

.u-white {
  color: #fff;
  fill: #fff;
}

.u-white * {
  color: #fff;
  fill: #fff;
}

.u-bold {
  font-weight: 600;
}

.u-semibold {
  font-weight: 500;
}

.u-underline {
  border-bottom: 1px solid currentColor;
}

.u-underline[target='_blank']::after {
  margin-left: 4px;
  vertical-align: bottom;
  font-family: 'Font Awesome 5 Free';
  font-weight: 600;
  content: '';
}

@media (min-width: 768px) {
  .u-sp {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .u-pc {
    display: none !important;
  }
}

.u-mt05 {
  margin-top: 0.5em;
}

.u-mb05 {
  margin-bottom: 0.5em;
}

.u-mt1 {
  margin-top: 1em;
}

.u-mb1 {
  margin-bottom: 1em;
}

.u-mt2 {
  margin-top: 2em;
}

.u-mb2 {
  margin-bottom: 2em;
}

.u-mt3 {
  margin-top: 3em;
}

.u-mb3 {
  margin-bottom: 3em;
}

.u-mt4 {
  margin-top: 4em;
}

.u-mb4 {
  margin-bottom: 4em;
}

.u-mt5 {
  margin-top: 5em;
}

.u-mb5 {
  margin-bottom: 5em;
}

/* ==================================== */
/* フォーム全体の基本スタイル */
/* ==================================== */

/* 各フォーム項目グループの下に余白を追加 */
.contact-form-group {
  margin-bottom: 5rem;
  /* 各グループの下に20pxの余白を追加 */
}

/* ==================================== */
/* フォーム項目名（ラベル）のスタイル */
/* ==================================== */
/* ==================================== */
/* フォーム全体の基本スタイル */
/* ==================================== */

/* 各フォーム項目グループの下に余白を追加 */
/* これが「各項目の記入欄の後に3remのmargin」に相当します */
.cta-form .contact-form-group {
  margin-bottom: 10rem !important;
  /* 各グループの下に3remの余白を追加 */
}

/* ==================================== */
/* フォーム項目名（ラベル）のスタイル */
/* ==================================== */

.cta-form .form-label {
  line-height: 10;
  /* 行の高さ（行間）を広げる (元に戻しました) */
  /* line-height: 1; は非常に詰まった表示になるため、1.8に戻しました。 */
  font-weight: bold;
  /* テキストを太字にする */
  margin-bottom: 0px;
  /* ラベルと入力欄の間に少し余白を追加 */
  display: block;
  /* 念のためブロック要素にする */
}

/* 必須マーク（*）のスタイル */
.cta-form .form-required {
  color: #dc3545;
  /* 赤色 */
  margin-left: 4px;
  /* アスタリスクと項目名の間を少し開ける */
  font-weight: normal;
  /* 必須マーク自体は太字にしない（好みで調整） */
}

/* ==================================== */
/* 入力フィールドのスタイル */
/* ==================================== */

.cta-form .form-input,
.cta-form .form-textarea {
  width: 100%;
  /* 親要素の幅いっぱいに広げる */
  padding: 10px 12px;
  /* 内側の余白 */
  border: 1px solid #ced4da;
  /* 枠線の色と太さ */
  border-radius: 4px;
  /* 角を丸くする */
  box-sizing: border-box;
  /* paddingとborderを要素の幅に含める */
  font-size: 16px;
  /* フォントサイズ */
  /* ここにあった border-bottom: 3rem; は余白ではないので削除しました */
  border-bottom: 10rem;
}

.cta-form .form-textarea {
  min-height: 120px;
  /* テキストエリアの最小高さを設定 */
  resize: vertical;
  /* 垂直方向のみリサイズ可能にする */
  /* ここにあった border-bottom: 5rem; は余白ではないので削除しました */
}

.cta-form .form-label {
  line-height: 5rem;
  /* 行の高さ（行間）を広げる */
  /* ... その他のスタイル ... */
}

/* ==================================== */
/* 送信ボタンのスタイル（既存のコードをベースに） */
/* ==================================== */

/* 送信ボタンのラッパー（中央寄せや上部の余白用） */
.cta-form .contact-form-submit-wrapper {
  text-align: center;
  /* ボタンを中央寄せ */
  margin-top: 30px;
  /* 送信ボタンの上に余白を追加 */
}

/* 送信ボタン自体のスタイル */
/* 既存の!important指定を考慮し、セレクタを調整 */
.cta-form .seo-form-submit {
  /* 両方のセレクタを記載し、既存のスタイルを確実に適用 */
  display: block !important;
  width: 100% !important;
  max-width: 300px;
  /* 必要に応じてボタンの最大幅を制限 */
  padding: 1.2rem 1.5rem !important;
  font-size: 1.125rem !important;
  font-weight: bold !important;
  color: white !important;
  background: linear-gradient(90deg, #00b4d8, #0077b6) !important;
  border: none !important;
  border-radius: 9999px !important;
  /* 角を非常に丸くする */
  cursor: pointer !important;
  margin-top: 1rem !important;
  /* 元々あったが、ラッパーで調整する想定なので0に */
  text-align: center !important;
  appearance: none !important;
}

/* 送信ボタンのホバーエフェクト */
.cta-form .seo-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 180, 216, 0.25);
}

/* 送信ボタンのフォーカス時のスタイル */
.cta-form .seo-form-submit:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.4);
}

/* 送信ボタンのアクティブ時のスタイル */
.cta-form .seo-form-submit:active {
  transform: scale(0.97);
  box-shadow: 0 4px 10px rgba(0, 180, 216, 0.2);
}

.cta-form .form-label {
  line-height: 1.8;
  /* 行の高さ（行間）を広げる */
  font-weight: bold;
  /* テキストを太字にする */
  margin-bottom: 8px;
  /* ラベルと入力欄の間に少し余白を追加 */
  margin-top: 2rem;
}

@media screen and (max-width: 767px) {
  .member {
    display: flex;
    justify-content: center;
    /* 水平方向中央 */
    align-items: center;
    /* 垂直方向中央 */
  }
}

.hero-form-box .premium-submit-button {
  width: 100% !important;
  padding: 15px 10px !important;
  background-color: #007bff !important;
  color: #ffffff !important;
  font-size: 1.1em !important;
  font-weight: bold !important;
  border: none !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease !important;
  margin-top: 10px !important;
  text-align: center !important;
}

.hero-form-box .premium-submit-button:hover {
  background-color: #0066d2 !important;
}

/* --- 送信ボタン (ID指定で最強化) --- */
.hero-form-box .free-submit-button {
  width: 100% !important;
  padding: 16px !important;
  background-color: #007bff !important;
  color: white !important;
  border: none !important;
  border-radius: 6px !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  margin-top: 5px !important;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.4) !important;
  text-align: center !important;
}

.hero-form-box .free-submit-button:hover {
  background-color: #0066d2 !important;
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.5) !important;
}
