/*
Theme Name: gifucco
Description: gifucco
*/

@charset "utf-8";



/*box-sizingを全ブラウザに対応*/
*, *::before, *::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: revert;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
}

ol, ul, menu {
  list-style: none
}

img {
  max-width: 100%;
  vertical-align: bottom !important;
  font-size: 0;
  line-height: 0;
  image-rendering: -webkit-optimize-contrast;
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  text-align: justify;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}

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

html {
  height: -webkit-fill-available;
  font-size: 62.5%;
}

body {
  font-family: "Noto Sans JP", "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  background: #f5eedf;
  color: #3a352a;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}

@media (min-width: 769px) {
  body {
    font-size: 1.5rem;
  }
}



/*link*/
a:link {
  /* リンク */
  color: #0085c2;
  text-decoration: none;
}

a:visited {
  /* 既に見たリンク */
  color: #0085c2;
  text-decoration: none
}

a:hover {
  /* クリック時のリンク */
  color: #e03a96;
  text-decoration: none
}

a:active {
  /* カーソルが上にある時のリンク */
  color: #0085c2;
  text-decoration: none
}

button:hover {
  cursor: pointer;
}



/*レスポンシブ改行*/
.pc_area {
  display: none !important;
}

.sp_area {
  display: block !important;
}

@media (min-width: 769px) {
  .pc_area {
    display: block !important;
  }

  .sp_area {
    display: none !important;
  }
}

.form_tittle {
  font-weight: 900;
  margin-bottom: 15px;
  text-align: center;
  font-size: 1.7rem;
}

/* ==========================================
   2. レイアウト（モバイルファースト・最大520px）
   ========================================== */
.wrap {
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  background: #fffdf7;
  /* 内側背景：清潔で温かいアイボリーホワイト */
  box-shadow: 0 0 30px rgba(58, 53, 42, 0.08);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==========================================
   3. ヘッダー（追従・やわらかいぼかし）
   ========================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 247, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 3px dashed #ebdcb9;
  /* 手書き感のある点線 */
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
  color: #e07d00;
  display: flex;
  flex-direction: column;
}

.logo small {
  font-size: 10px;
  font-weight: 700;
  color: #8c7e65;
  margin-top: 1px;
}

.header-btn {
  background: #f39800;
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 3px 8px rgba(243, 152, 0, 0.25);
  border: 2px solid #fff;
}

.header-btn:hover {
  transform: scale(1.03);
  background: #e07d00;
}

/* ==========================================
   4. ヒーローセクション
   ========================================== */
.hero {
  padding: 32px 20px 40px;
  background: radial-gradient(circle at top, #fff7d7 0%, #fffdf7 70%);
  text-align: center;
  position: relative;
}

/* 手描き風のあしらいドット */
.hero::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px dashed rgba(243, 152, 0, 0.15);
  border-radius: 24px;
  pointer-events: none;
}

.catch {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  color: #3a352a;
  text-align: center;
}

.catch span {
  color: #e07d00;
  background: linear-gradient(transparent 70%, #ffd666 70%);
  /* マーカー風 */
  padding: 0 4px;
  display: inline-block;
}

.sub {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #e07d00;
  background: #fff;
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  border: 2px solid #ffe89e;
  box-shadow: 0 4px 10px rgba(243, 152, 0, 0.05);
}

/* 追加：実績表示バッジ */
.achievement-badge {
  display: inline-block;
  /*align-items: center;
  gap: 6px;*/
  background: #fff;
  border: 2px dashed #f39800;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 900;
  color: #4a4235;
  margin-bottom: 24px;
  box-shadow: 0 4px 10px rgba(243, 152, 0, 0.08);
  text-align: center;
}

.ta-c {
  text-align: center;
}

.achievement-badge .highlight {
  color: #e07d00;
  font-size: 17px;
  background: linear-gradient(transparent 70%, #ffd666 70%);
  padding: 0 2px;
}

/* ぎふっこカード（手づくり） */
.card-box {
  margin: 0 auto 28px;
  max-width: 320px;
  background: #fff;
  padding: 12px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(58, 53, 42, 0.05);
  border: 2px solid #f0edd8;
  transform: rotate(-1.5deg);
  /* 少し傾けて手作りパンフレット感を演出 */
  transition: transform 0.3s ease;
}

.card-box:hover {
  transform: rotate(0deg) scale(1.02);
}

/* ==========================================
   5. CTA（共通）
   ========================================== */
.cta-container {
  max-width: 380px;
  margin: 0 auto;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f39800;
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-weight: 900;
  padding: 18px 20px;
  border-radius: 18px;
  box-shadow: 0 6px 16px rgba(243, 152, 0, 0.35);
  border: 2px solid #fff;
  border-bottom: 5px solid #c47600;
  /* 立体的なボタンで親しみやすさを向上 */
  position: relative;
  cursor: pointer;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(243, 152, 0, 0.4);
}

.cta:active {
  transform: translateY(3px);
  border-bottom-width: 1px;
  box-shadow: 0 2px 5px rgba(243, 152, 0, 0.2);
}

.cta::after {
  content: none;
}

.cta-sub {
  font-size: 12px;
  text-align: center;
  font-weight: 700;
  color: #8c7e65;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* 吹き出しスタイル（初期コードイメージに戻す） */
.cta-balloon {
  display: inline-block;
  background: #fffdf7;
  border: 2px solid #ff5e5e;
  color: #ff5e5e;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 15px;
  position: relative;
  margin-bottom: 12px;
}

.cta-balloon::after,
.cta-balloon::before {
  content: none !important;
}


/* ==========================================
   6. かんたん登録紹介
   ========================================== */
.simple-box {
  padding: 40px 20px;
  background: #fff;
  border-top: 1px solid #f0edd8;
  border-bottom: 1px solid #f0edd8;
  text-align: center;
}

.simple-title {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 24px;
  color: #3a352a;
}

.simple-title span {
  position: relative;
  display: inline-block;
}


.simple-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
}

.simple-item {
  background: #fffdf0;
  border: 2px dashed #ffe699;
  padding: 16px 12px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 14px;
  color: #4e4637;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.simple-item:hover {
  transform: translateY(-2px);
  background: #fff9e1;
}

.simple-icon {
  font-size: 20px;
}

/* ==========================================
   7. セクション共通スタイル
   ========================================== */
.section {
  padding: 48px 20px;
}

.section.yellow {
  background: #fffcf2;
  /* さわやかなたまご色 */
  border-top: 3px dashed #ebdcb9;
  border-bottom: 3px dashed #ebdcb9;
}

.section-title {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 28px;
  color: #3a352a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title::before {
  content: "🌸";
  font-size: 20px;
}

/* ==========================================
   8. メリット
   ========================================== */
.merit-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.merit {
  background: #fff;
  padding: 20px;
  border-radius: 18px;
  border: 2px solid #f0edd8;
  transition: transform 0.2s ease;
}

.merit:hover {
  transform: scale(1.01);
}

.merit-header {
  display: flex;
  align-items:start;
  gap: 10px;
  margin-bottom: 8px;
}

.merit-num {
  background: #f39800;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 6px;
}

.merit h3 {
  font-size: 16px;
  font-weight: 900;
  color: #3a352a;
  width:calc(100% - 80px - 7px);
}

.merit p {
  font-size: 13.5px;
  color: #635b4c;
  line-height: 1.7;
}

.merit p strong {
  color: #e07d00;
}

/* ==========================================
   9. こんな特典でOK！（折りたたみアコーディオン）
   ========================================== */
.example-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.example-accordion {
  background: #fff;
  border-radius: 18px;
  border: 2px solid #ebdcb9;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(58, 53, 42, 0.01);
}

.example-trigger {
  width: 100%;
  padding: 16px 18px;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.example-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.example-tag {
  background: #fff0cf;
  color: #d48100;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}

.example h3 {
  font-size: 15px;
  font-weight: 900;
  color: #3a352a;
}

.example-arrow {
  font-size: 11px;
  color: #a6987d;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.example-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fffdfa;
}

.example-content-inner {
  padding: 0 18px 18px;
}

.example ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.example li {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  background: #fffdf5;
  border-radius: 10px;
  border-left: 4px solid #f39800;
  color: #4a4538;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.example li::after {
  content: "🎁";
  font-size: 14px;
  opacity: 0.8;
}

/* アコーディオンが開いている状態 */
.example-accordion.is-open {
  border-color: #ffe89e;
  box-shadow: 0 4px 12px rgba(243, 152, 0, 0.05);
}

.example-accordion.is-open .example-arrow {
  transform: rotate(180deg);
}

/* ==========================================
   10. 3ステップフロー
   ========================================== */
.flow {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  padding: 10px 0;
}

.flow-item {
  background: #fff;
  padding: 22px;
  border-radius: 20px;
  border: 2px solid #f0edd8;
  position: relative;
  z-index: 1;
}

.flow-item:not(:last-child)::after {
  content: "▼";
  position: absolute;
  bottom: -24px;
  left: 34px;
  color: #ebdcb9;
  font-size: 14px;
  z-index: 2;
}

.flow-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.flow-num {
  width: 28px;
  height: 28px;
  background: #e07d00;
  color: #fff;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 13px;
  border: 2px solid #fff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.flow-item h3 {
  font-size: 16px;
  font-weight: 900;
  color: #3a352a;
  width:calc(100% - 28px - 7px);
}

.flow-item p {
  font-size: 13.5px;
  color: #635b4c;
  padding-left: 2px;
}

/* ==========================================
   11. よくある質問（アコーディオン）
   ========================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq {
  background: #fff;
  border-radius: 16px;
  border: 2px solid #f0edd8;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-trigger {
  width: 100%;
  padding: 18px 16px;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  color: #3a352a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-trigger span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq-trigger span::before {
  content: "Q";
  color: #f39800;
  font-size: 18px;
  font-weight: 900;
}

.faq-icon::before {
  content: none !important;
}

.faq-icon {
  font-size: 12px;
  color: #a6987d;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fffdfa;
}

.faq-content-inner {
  padding: 0 16px 18px 36px;
  font-size: 13.5px;
  color: #635b4c;
  line-height: 1.6;
  position: relative;
}

.faq-content-inner::before {
  content: "A";
  position: absolute;
  left: 16px;
  top: 0;
  color: #8c7e65;
  font-weight: 900;
  font-size: 16px;
}

/* アコーディオン開閉用のアクティブクラス */
.faq.is-open {
  border-color: #ffe89e;
  box-shadow: 0 4px 12px rgba(243, 152, 0, 0.05);
}

.faq.is-open .faq-icon {
  transform: rotate(180deg);
}

/* ==========================================
   12. フッターCTA（温かい締めくくり）
   ========================================== */
.bottom {
  padding: 56px 20px;
  background: #fffdf7;
  text-align: center;
  color: #3a352a;
  position: relative;
  border-top: 3px dashed #ebdcb9;
  overflow: hidden;
}

/* ほっこりする手書き風水玉背景パターン */
.bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.08;
  background-image: radial-gradient(#f39800 15%, transparent 16%), radial-gradient(#f39800 15%, transparent 16%);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  pointer-events: none;
}

.bottom h2 {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 16px;
  text-shadow: none;
  text-align:center;
}

.bottom p {
  font-size: 14px;
  margin-bottom: 28px;
  font-weight: 700;
  line-height: 1.7;
  color: #635b4c;
}

.bottom .cta {
  background: #f39800;
  color: #fff;
  border-bottom: 5px solid #c47600;
  box-shadow: 0 8px 22px rgba(243, 152, 0, 0.25);
}

.bottom .cta:hover {
  background: #e07d00;
}

.bottom .cta-sub {
  color: #8c7e65;
  opacity: 1;
}

/* ==========================================
   13. フッター
   ========================================== */
.footer {
  padding: 32px 20px;
  background: #3a352a;
  color: #c5bfae;
  font-size: 11px;
  text-align: center;
  line-height: 1.8;
  letter-spacing: 0.03em;
  border-top: 4px solid #ebdcb9;
}

.footer-copy {
  margin-top: 12px;
  font-size: 10px;
  opacity: 0.7;
}

/* ==========================================
   14. WEBお申し込みモーダル（体験価値の向上）
   ========================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(58, 53, 42, 0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}

.modal-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  width: 100%;
  max-width: 460px;
  background: #fffdf7;
  border-radius: 24px;
  border: 3px solid #f39800;
  box-shadow: 0 15px 35px rgba(58, 53, 42, 0.2);
  /* padding: 24px 20px; ← ここから削除して .form-body へ移動 */
  position: relative;
  max-height: 90vh;
  /* overflow-y: auto; ← 削除 */
  overflow: hidden;
  /* ★追記：角丸からはみ出るスクロールバーをここでカットする */
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  /* ★追記：内部コンテンツの高さを制御するため */
  flex-direction: column;
  /* ★追記 */
}

.modal-overlay.is-active .modal {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: #f0f0f0;
  border: none;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 900;
  color: #8c7e65;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  /* ★追記：コンテンツがスクロールしてきた時にボタンの下に潜り込ませるため */
}

/* 3. フォーム領域（新設）：ここだけをスクロールさせる */
.form-body {
  overflow-y: auto;
  /* ★追記：ここでスクロールさせる */
  padding: 24px 20px;
  /* .modal から移動 */
  padding-top: 30px;
  /* ★追記：右上の閉じるボタンにコンテンツが被らないよう、上部の余白を多めに取る */
  max-height: 100%;
}

.modal-title {
  font-size: 18px;
  font-weight: 900;
  color: #3a352a;
  margin-bottom: 4px;
  text-align: center;
}

.modal-subtitle {
  font-size: 12px;
  color: #f39800;
  text-align: center;
  font-weight: 700;
  margin-bottom: 20px;
}

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

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #3a352a;
  margin-bottom: 6px;
}

.form-label span {
  background: #ff5e5e;
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

.form-input {
  width: 100%;
  padding: 12px;
  border: 2px solid #ebdcb9;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  color: #3a352a;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-color: #f39800;
}

.form-select {
  width: 100%;
  padding: 12px;
  border: 2px solid #ebdcb9;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  color: #3a352a;
  background: #fff;
  outline: none;
  cursor: pointer;
}

.form-submit {
  width: 100%;
  background: #f39800;
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 4px 10px rgba(243, 152, 0, 0.2);
  border-bottom: 4px solid #c47600;
}

.form-submit:active {
  transform: translateY(2px);
  border-bottom-width: 1px;
}

/* 送信完了ステート */
.success-msg {
  display: none;
  text-align: center;
  padding: 30px 10px;
}

.success-icon {
  font-size: 48px;
  margin-bottom: 16px;
}


/* ==========================================
   17. 追加：添付イラストに合わせた手描き風イラスト群
   ========================================== */
:root {
  --illust-line: #2f2a22;
  --illust-orange: #f39800;
  --illust-yellow: #ffd666;
  --illust-cream: #fff3c6;
  --illust-blue: #5480a5;
  --illust-green: #00a99d;
  --illust-pink: #f7beb1;
}

.section-title::before {
  content: "";
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%232f2a22' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath fill='%23ffd666' d='M24 8c4 7 7 10 15 10-6 4-8 8-6 16-6-4-11-4-18 0 2-8 0-12-6-16 8 0 11-3 15-10Z'/%3E%3Ccircle cx='24' cy='22' r='4' fill='%23f39800'/%3E%3C/g%3E%3C/svg%3E");
}

.hero-illust-wrap {
  width: calc(100% + 40px);
  margin: 4px -20px 22px;
  position: relative;
  overflow: hidden;
}

.hero-illust-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42px;
  background: linear-gradient(to bottom, rgba(255, 253, 247, 0), #fffdf7 82%);
  pointer-events: none;
}

.hero-town-illust {
  display: block;
  width: 118%;
  max-width: none;
  margin-left: -9%;
  opacity: .97;
  filter: drop-shadow(0 8px 0 rgba(58, 53, 42, .035));
}

.hero-note {
  position: absolute;
  right: 22px;
  top: 12px;
  background: #fffdf7;
  border: 2px solid var(--illust-line);
  border-radius: 16px 14px 18px 13px;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 900;
  color: #4a4235;
  transform: rotate(3deg);
  box-shadow: 3px 4px 0 rgba(47, 42, 34, .08);
}

.hero-note::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: -8px;
  width: 12px;
  height: 12px;
  background: #fffdf7;
  border-right: 2px solid var(--illust-line);
  border-bottom: 2px solid var(--illust-line);
  transform: rotate(45deg);
}

.illust-divider {
  width: 100%;
  height: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='34' viewBox='0 0 240 34'%3E%3Cpath d='M2 18c20-11 38 13 58 0s39-11 60 1 38 9 59-1 40-12 59 1' fill='none' stroke='%23ebdcb9' stroke-width='3' stroke-linecap='round' stroke-dasharray='2 9'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center;
  opacity: .9;
}

.hand-icon svg,
.merit-visual svg,
.flow-visual svg,
.example-mini svg {
  overflow: visible;
}

.hand-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.simple-icon {
  font-size: 0;
}

.simple-item {
  border-style: solid;
  box-shadow: 4px 5px 0 rgba(235, 220, 185, .32);
  transform: rotate(var(--tilt, -1deg));
}

.simple-item:nth-child(2) {
  --tilt: 1.2deg;
}

.simple-item:nth-child(3) {
  --tilt: .7deg;
}

.simple-item:nth-child(4) {
  --tilt: -.6deg;
}

.merit {
  position: relative;
  overflow: hidden;
  box-shadow: 5px 6px 0 rgba(235, 220, 185, .28);
  border-radius: 20px 18px 22px 17px;
}

.merit-num {
  border: 2px solid #fff;
  box-shadow: 2px 3px 0 rgba(196, 118, 0, .16);
  width:80px;
  display:flex;
  align-items:center;
}

.example-trigger {
  min-height: 66px;
}

.example-mini {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  background: #fff9e8;
  border: 2px solid #ebdcb9;
  border-radius: 12px 15px 13px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.example-header-left {
  gap: 9px;
}

.example-tag {
  box-shadow: 2px 2px 0 rgba(212, 129, 0, .12);
}

.example li::after {
  content: "";
}

.example li {
  border-left: 0;
  border: 2px solid #f2e6c8;
  border-radius: 13px 11px 14px 12px;
  position: relative;
  padding-left: 34px;
}

.example li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffd666;
  border: 2px solid #2f2a22;
  transform: translateY(-50%) rotate(-8deg);
}

.flow-item {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 14px;
  align-items: center;
  box-shadow: 5px 6px 0 rgba(235, 220, 185, .28);
}

.flow-visual {
  grid-row: 1 / span 2;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff9e8;
  border: 2px solid #ebdcb9;
  border-radius: 18px 15px 20px 14px;
}

.flow-top {
  margin-bottom: 0;
}

.flow-item p {
  grid-column: 2;
}

.bottom-illust {
  max-width: 360px;
  margin: 0 auto 18px;
  background: #fffdf7;
  border: 3px solid rgba(255, 255, 255, .85);
  border-radius: 24px 20px 26px 18px;
  padding: 10px 8px 2px;
  box-shadow: 0 9px 0 rgba(196, 118, 0, .18);
}

.bottom-illust img {
  display: block;
  width: 100%;
}

@media (min-width: 521px) {
  .hero-town-illust {
    width: 108%;
    margin-left: -4%;
  }
}



/* ==========================================
   修正指定対応：ヒーロー下CTAまわり
   ① 添付写真表示 / ② 吹き出し再設計 / ③ CTA装飾アイコン削除 / ④ CTA中央揃え
   ========================================== */
.card-box {
  transform: none;
  padding: 10px;
  max-width: 320px;
}

.card-box:hover {
  transform: translateY(-2px);
}

.card-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
}

.cta-container {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  text-align: center;
}

/* ② 三角の吹き出しをやめて、全体トーンに合う手描きライン風に変更 */
.cta-balloon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e07d00;
  background: transparent;
  border: 0;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.4;
  padding: 7px 18px 10px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-balloon::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 50' preserveAspectRatio='none'%3E%3Cpath d='M18 10 C54 2 95 8 132 6 C172 4 221 1 244 13 C259 21 252 38 231 41 C176 48 89 47 31 41 C5 38 1 17 18 10Z' fill='%23fffdf7' stroke='%23f39800' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M126 43 C130 49 138 51 146 43' fill='none' stroke='%23f39800' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.cta-balloon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 20px;
  height: 12px;
  transform: translateX(-50%) rotate(-2deg);
  background: #fffdf7;
  z-index: -2;
}

/* ③ ボタン右側のイラスト/絵文字アイコンを削除 */
.cta::after {
  content: none;
}

/* ④ ボタン内テキストを完全センタリング */
.cta {
  width: 100%;
  justify-content: center;
  text-align: center;
  gap: 0;
}

.cta.w-full {
  width: 100%;
}




.cta-sub a:link,
.cta-sub a:active,
.cta-sub a:visited {
  text-decoration:underline;
  display:inline-block;
  text-align:center;
  color:#42403f;
}



/*メイン幅*/
.main {
  width: 100%;
  margin: 0 auto;
  padding: 3em 0 4em 0;
  word-break: break-all;
}

.form_wrap input,
.form_wrap textarea {
  width: 100%;
  font-size: 16px;
  padding: 10px;
}

input:not([type="checkbox"]):not([type="radio"]),
textarea {
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid #aaaaa9;
  opacity: 1;
}

/* 例：文字サイズを14pxにする */
input::placeholder {
  font-size: 12px;
}

/* textarea（複数行入力欄）の場合 */
textarea::placeholder {
  font-size: 12px;
}

select {
  /* Safariのデフォルトスタイルを解除 */
  -webkit-appearance: none; 
  -moz-appearance: none;
  appearance: none;
}

.wpcf7-checkbox {
  display: flex !important;
  gap: 10px;
  flex-direction: column;
}

.wpcf7-checkbox .wpcf7-list-item {
  display: block;
  margin: 0;
  width: 100%;
}

.wpcf7-checkbox .wpcf7-list-item label {
  display: flex;
  gap: 10px;
}

.wpcf7-checkbox .wpcf7-list-item label input {
  width: 25px;
}

.wpcf7-select {
  padding: 10px;
}

.index,
.form_wrap {
  width: 100%;
  margin: 0 auto;
  position: relative;
  padding-bottom: 30px;
}

@media (min-width: 769px) {

  .index,
  .form_wrap {
    width: 750px;
    margin: 0 auto;
  }
}

.top_text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.form_title {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
  font-weight: 900;
  font-size: 2.0rem;
}

@media (min-width: 769px) {
  .form_title {
    font-size: 2.0rem;
  }
}

.form_title_description {
  margin-bottom: 20px;
}


.form-flex {
  display: block;
  margin-bottom: 20px;
  padding: 10px 20px;
  background: #FFF;
  border-radius: 10px;
  border: 1px solid gray;
  font-size: 13.5px;
}

/*
@media (min-width: 769px) {
  .form-flex {
    display:flex;
    gap:50px;
    align-items:center;
    margin-bottom:20px;
    padding:10px 20px;
  }
}
*/

.form-h {
  font-weight: bold;
  width: 100%;
  position: relative;
}

.form-right {
  width: 100%;
}

/*
@media (min-width: 769px) {
  .form-h {
    font-weight:bold;
    width:180px;
    position:relative;
  }
  
  .form-right {
    width:calc(100% - 50px - 180px);
  }
   
  
}
   */
.form-h-p {
  font-weight: bold;
  display: inline-block;
  position: relative;
}


.form-p {
  display: block !important;
  font-weight: bold;
  padding: 10px 0;
  word-wrap: break-word;
}

.form-p-p {
  margin-bottom: 10px;
  position: relative;
}

.required:after {
  content: "必須";
  display: inline-block;
  padding: 3px 5px;
  text-align: center;
  color: #FFF;
  border-radius: 3px;
  background: #d43115;
  position: absolute;
  right: -40px;
  font-size: 1.0rem;
}

.any:after {
  content: "任意";
  display: inline-block;
  padding: 3px 5px;
  text-align: center;
  color: #FFF;
  border-radius: 3px;
  background: #42403f;
  position: absolute;
  right: -40px;
  font-size: 1.0rem;
}



.m-text {
  width: 100%;
}

.s-text {
  width: 40% !important;
  padding: 10px;
}

/* 郵便番号入力欄のplaceholderのフォントサイズを変更 */
#zip::placeholder {
  font-size: 13px;
}

.wpcf7-not-valid-tip {
  font-size: 12px !important;
}

.telnum {
  display: flex;
  align-items: center;
  padding: 10px 0;
}

.telnumbox {
  width: calc((100% - 40px)/3)
}

.telnum_hyphen {
  width: 20px;
  text-align: center;
}

#autozip {
  display: none !important;
}

.wpcf7-radio {
  display: flex;
  align-items: center;
}

.wpcf7-radio .wpcf7-list-item {
  width: calc(100% / 3);
  margin: 0;
}

.wpcf7-radio label {
  display: flex;
  gap: 10px;
  align-items: center;
}

.wpcf7-radio label input {
  width: 25px;
}




.confirm:hover {
  background: #7a7369;
  color: #FFF;
}

.confirm_button {
  width: 200px;
  text-align: center;
  margin: 30px auto;
}

.end_flex {
  display: flex;
  gap: 50px;
  justify-content: center;
}

@media (min-width: 769px) {
  .end_flex {
    width: 300px;
    margin: 0 auto;
  }
}

.end_flex div {
  width: calc((100% - 50px)/2);
}

.end_flex div input {
  background: #FFF;
  border-radius: 5px;
  text-align: center;
  color: #000;
}

.wpcf7-response-output {
  color: #e07d00;
  font-weight:900;
}

.confirm_before_text {
  text-align: center;
  margin-bottom: 20px;
}

.craft_wrap {
  display: block;
  margin-bottom: 20px;
  padding: 10px 20px;
  background: #FFF;
  border-radius: 10px;
  border: 1px solid gray;
}

.craft-h {
  padding: 10px 20px;
  font-weight: 600;
  background: #b1b1a9;
  color: #000;
  text-align: center;
  border-radius: 50px;
}

.craft-p {
  padding: 15px;
}

.craft-ul li {
  text-indent: -1em;
  padding-left: 1em;
}

.requirements {
  font-size: 2.0rem;
  text-align: center;
  color: #db542b;
  font-weight: 900;
  padding: 20px 0;
}

.end {
  text-align: left;
  margin-bottom: 30px;
}

@media (min-width: 769px) {
  .end {
    text-align: center;
  }
}

.end_info {
  margin-bottom: 50px;
}

/*20250826追加*/

.form-wrap {
  max-width: 1100px;
  text-align: center;
  margin: 0 auto;
}

.form-wrap h1 {
  text-align: center;
  font-size: 3rem;
}

.form-imgtop {
  max-width: 300px;
  height: auto;
  margin-top: 50px;
}

.title-text {
  text-align: center;
  margin-top: 50px;
}

.bold {
  text-align: center;
  margin: 30px 0;
  font-weight: 700;
}

.form-news {
  margin-top: 50px;
  text-align: center;
}

.form-news p {
  text-align: center;
}

.domain {
  margin: 30px;
}

.form-apply {
  max-width: 800px;
  margin: 0 auto;
  margin-top: 50px;
}

.form-ul {
  text-align: left;
  list-style: disc;
  padding-left: 3em;
  margin: 0 0 1em;
}


.form-footer {
  margin-top: 50px;
}

.form-footer p,
.form-footer a {
  text-align: center;
}

.form-footer a {
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  body {
    max-width: 100%;
    width: auto;
    padding: 3%;
  }

  .domain {
    margin: 50px 0;
  }

  .form-img {
    max-width: 100%;
    height: auto;
  }

  .form-news, .title-text, .form-footer {
    text-align: left;
  }

  .bold, .domain {
    text-align: center;
  }
}

/* cf7 */

.form-row {
  display: flex;
  margin-bottom: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
}

.form-label {
  width: 35%;
  text-align: left;
  padding-top: 6px;
  font-weight: bold;
}

.form-field {
  width: 60%;
}

.form-field label {
  display: block;
  margin-bottom: 5px;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="date"],
.form-field textarea {
  width: 100%;
  padding: 6px 8px;
  box-sizing: border-box;
  font-size: 16px;
}

.file-input {
  display: block;
  margin-bottom: 10px;
}

.form-notes {
  font-size: 0.9em;
  color: #555;
  margin-bottom: 5px;
  padding-left: 20px;
}

.btn-submit {
  display: inline-block;
  padding: 10px 30px;
  background-color: #f7b731;
  color: #000;
  border: none;
  cursor: pointer;
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }

  .form-label,
  .form-field {
    width: 100%;
  }

  .form-label {
    margin-bottom: 6px;
  }
}

.cf7-mamakoko ul.form-notes {
  list-style: disc;
  padding-left: 20px;
}

.form-row.full {
  display: block;
  text-align: center;
}

.form-row.full .form-field {
  width: 100%;
  text-align: center;
  margin-top: 30px;
  padding-left: 70px;
}


.madoguchi {
  margin-bottom: 20px;
}

.copy {
  padding-bottom: 50px;
}

footer {
  background: black;
  color: white;
  padding: 30px 0;
  text-align: center;
}

/* .form-wrap .required:after {
  display: none;
} */

.form-row .form-pl {
  padding-left: 7px;
}

.form-w300 .input-text,
.form-w300 .input-date {
  max-width: 300px;
}

.form-row .wpcf7-radio .wpcf7-list-item {
  width: 300px;
  margin: 0;
}

.form-row .form-label .required:after {
  right: initial;
  position: initial;
  margin-left: 5px;
}

.red {
  color: red;
}

.form-row .form-field .checkbox .wpcf7-list-item-label {
  margin-left: 7px;
}

.form-add {
  margin: 50px 0;
}

.form-row .form-field .wpcf7-checkbox {
  flex-direction: initial;
}

.confirim-text {
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
}


/*確認画面に進むボタン*/
#to-confirm-btn {
  background: #007bff;
  color: white;
  border: none;
  padding: 12px 32px;
  font-size: 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 170px;
  margin: 0 auto;
  display: block
}

#to-confirm-btn:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

#to-confirm-btn:active {
  transform: translateY(0);
}


#submit_or_previous {
  display: flex;
  gap: 20px;
  justify-content: center;
  position: relative;
}

/*入力画面に戻るボタン*/
#to-input-btn {
  background: #5a5a5a;
  color: white;
  border: none;
  padding: 12px 32px;
  font-size: 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 170px;
  display: block
}

#to-input-btn:hover {
  background: #2c2c2c;
  transform: translateY(-2px);
}

#to-input-btn:active {
  transform: translateY(0);
}


/*送信するボタン*/
.wpcf7-submit {
  background: #007bff;
  color: white;
  border: none;
  padding: 12px 32px;
  font-size: 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 170px !important;
  display: block
}

/* スピナーをボタンの下に「宙に浮かせて」配置する */
.wpcf7-spinner {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);

  /* ▼ ここを変更！左右の余白を0にして、上だけ10px空ける */
  margin: 10px 0 0 0 !important;

  width: 24px !important;
  height: 24px !important;
  display: block !important;
}

.wpcf7-submit:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

.wpcf7-submit:active {
  transform: translateY(0);
}




#cf7-input-step,
#cf7-confirm-step {
  padding-bottom: 30px;
}

/* Turnstile */
.cf7-cf-turnstile,
.cf-turnstile {
  width: 100%;
  display: flex;
  justify-content: center;
}

.cf7-cf-turnstile {
  margin-bottom: 20px !important;
}