@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
*/

/* 四隅を少し丸くする */
.radius-sm {
  border-radius: 8px;
  overflow: hidden;
}

/* 四隅をしっかり丸くする */
.radius-md {
  border-radius: 16px;
  overflow: hidden;
}

/* 四隅を大きく丸くする */
.radius-lg {
  border-radius: 24px;
  overflow: hidden;
}

/* 完全な丸・丸ボタン用 */
.radius-full {
  border-radius: 999px;
}

/* 指定した画像だけ四隅を丸くする */
.img-radius img {
  border-radius: 12px;
  overflow: hidden;
}

/* ============================================================
   ヒーロー（メインビジュアル）追加スタイル
   ============================================================ */

/* メインコピー拡大 */
.p-mainVisual__slideTitle {
  font-size: clamp(32px, 5.5vw, 68px) !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  letter-spacing: .04em !important;
  margin: 0 0 28px !important;
}

/* スマホ時：メインコピーを1行表示に調整 */
@media screen and (max-width: 599px) {
  .p-mainVisual__slideTitle {
    font-size: clamp(23px, 7vw, 28px) !important;
    line-height: 1.3 !important;
    letter-spacing: .02em !important;
    margin: 0 0 20px !important;
    white-space: nowrap !important;
  }
}

/* お悩みカードの枠・角丸・影 */
/* お悩みカード：通常時の枠線・角丸・影 */
.worry-card {
  border: 2px solid #CFECEB;
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: 0 12px 28px rgba(52, 91, 92, .08);
  padding: 24px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

/* お悩みカード：マウスを乗せた時の動き */
.worry-card:hover {
  border-color: #F08A3C;
  box-shadow: 0 16px 34px rgba(52, 91, 92, .12);
  transform: translateY(-4px);
}

/* リスクカード：通常時の枠線・角丸・影 */
.risk-card {
  border: 2px solid #f0df95;
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: 0 12px 28px rgba(52, 91, 92, .08);
  padding: 24px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

/* お悩みカード：マウスを乗せた時の動き */
.risk-card:hover {
  border-color: #F08A3C;
  box-shadow: 0 16px 34px rgba(52, 91, 92, .12);
  transform: translateY(-4px);
}

/* 解決策カード全体：水色の枠線・角丸・影をつける */
.solution-card {
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  border: 3px solid #CFECEB;
  border-radius: 18px;
  background: #FFFFFF;
  box-shadow: 0 8px 0 rgba(22, 139, 134, .12);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

/* 解決策カード：ホバー時に少し浮かせる */
.solution-card:hover {
  border-color: #F08A3C;
  box-shadow: 0 10px 0 rgba(240, 138, 60, .18);
  transform: translateY(-4px);
}

/* 左上の番号バッジ */
.solution-badge {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 !important;
  border-radius: 999px;
  background: #F08A3C;
  color: #FFFFFF;
  font-weight: 700;
  line-height: 1;
}

/* カード上部の画像 */
.solution-image {
  margin: 0 !important;
}

.solution-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

.hp-form-required {
  background: #D95C3D;
  color: #FFFFFF;
}

.hp-form-optional {
  background: #DDF4F3;
  color: #168B86;
}

/* ============================================================
   Contact Form 7：お問い合わせフォーム全体
   ------------------------------------------------------------
   フォームを白いカードとして見せるための外枠です。
   固定ページ側では、フォームを置くフルワイドブロックの背景色を #E9FBFB にします。
============================================================ */
.wpcf7 .hp-contact-form {
  box-sizing: border-box;
  width: min(100%, 920px);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid #BFEAE8;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 18px 45px rgba(52, 91, 92, .08);
}

.wpcf7 .hp-contact-form *,
.wpcf7 .hp-contact-form *::before,
.wpcf7 .hp-contact-form *::after {
  box-sizing: border-box;
}

/* ============================================================
   Contact Form 7：行レイアウト
   ------------------------------------------------------------
   1項目ずつ縦に並べ、メールアドレスと電話番号だけPCで2列にします。
============================================================ */
.wpcf7 .hp-form-row {
  margin: 0 0 26px;
}

.wpcf7 .hp-form-row-half {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.wpcf7 .hp-form-row-half > div {
  min-width: 0;
}

/* Contact Form 7が自動で出力する入力欄の外側spanをブロック化します。 */
.wpcf7 .hp-contact-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* ============================================================
   Contact Form 7：ラベルと必須・任意バッジ
   ------------------------------------------------------------
   ラベルを入力欄の上に固定し、添付画像のように小さなバッジを付けます。
============================================================ */
.wpcf7 .hp-contact-form label.hp-form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0 0 9px;
  color: #263238;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.wpcf7 .hp-form-required,
.wpcf7 .hp-form-optional {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.wpcf7 .hp-form-required {
  background: #D95C3D;
  color: #FFFFFF;
}

.wpcf7 .hp-form-optional {
  background: #DDF4F3;
  color: #168B86;
}

/* ============================================================
   Contact Form 7：入力欄
   ------------------------------------------------------------
   SWELLやブラウザ標準の入力欄デザインを上書きし、
   水色の枠・角丸・白に近い背景で統一します。
============================================================ */
.wpcf7 .hp-contact-form input[type="text"],
.wpcf7 .hp-contact-form input[type="email"],
.wpcf7 .hp-contact-form input[type="tel"],
.wpcf7 .hp-contact-form select,
.wpcf7 .hp-contact-form textarea {
  display: block;
  width: 100% !important;
  max-width: none !important;
  min-height: 48px;
  margin: 0 !important;
  padding: 12px 16px !important;
  border: 2px solid #BFEAE8 !important;
  border-radius: 10px !important;
  background: #FFFDF9 !important;
  box-shadow: none !important;
  color: #3F4648;
  font-size: 15px;
  line-height: 1.7;
  appearance: none;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.wpcf7 .hp-contact-form select {
  padding-right: 42px !important;
  background-image:
    linear-gradient(45deg, transparent 50%, #168B86 50%),
    linear-gradient(135deg, #168B86 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.wpcf7 .hp-contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.wpcf7 .hp-contact-form input::placeholder,
.wpcf7 .hp-contact-form textarea::placeholder {
  color: #8B989A;
}

/* 入力中の項目を分かりやすくするため、枠線と影を少し強めます。 */
.wpcf7 .hp-contact-form input[type="text"]:focus,
.wpcf7 .hp-contact-form input[type="email"]:focus,
.wpcf7 .hp-contact-form input[type="tel"]:focus,
.wpcf7 .hp-contact-form select:focus,
.wpcf7 .hp-contact-form textarea:focus {
  outline: none !important;
  border-color: #168B86 !important;
  background: #FFFFFF !important;
  box-shadow: 0 0 0 4px rgba(22, 139, 134, .12) !important;
}

/* ============================================================
   Contact Form 7：同意チェック
   ------------------------------------------------------------
   プライバシーポリシー同意のチェックボックス行を整えます。
============================================================ */
.wpcf7 .hp-form-privacy {
  margin: 2px 0 30px;
  color: #3F4648;
  font-size: 13px;
  line-height: 1.8;
}

.wpcf7 .hp-form-privacy .wpcf7-list-item {
  margin: 0;
}

.wpcf7 .hp-form-privacy label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  font-weight: 400;
}

.wpcf7 .hp-form-privacy input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #168B86;
}

.wpcf7 .hp-form-privacy a {
  color: #168B86;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   Contact Form 7：送信ボタン
   ------------------------------------------------------------
   添付画像に近い、中央配置の丸いオレンジボタンにします。
============================================================ */
.wpcf7 .hp-form-submit {
  text-align: center;
}

.wpcf7 .hp-contact-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 240px;
  min-height: 52px;
  margin: 0 auto !important;
  padding: 15px 30px !important;
  border: none !important;
  border-radius: 999px !important;
  background: #F08A3C !important;
  box-shadow: 0 5px 0 #D76F22 !important;
  color: #FFFFFF !important;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  transition: box-shadow .2s ease, transform .2s ease, background-color .2s ease;
}

.wpcf7 .hp-contact-form input[type="submit"]:hover {
  background: #F39A52 !important;
  box-shadow: 0 3px 0 #D76F22 !important;
  transform: translateY(2px);
}

/* 送信中のスピナー位置を、中央ボタンの横に自然に置きます。 */
.wpcf7 .hp-contact-form .wpcf7-spinner {
  margin: 0 0 0 12px;
}

/* ============================================================
   Contact Form 7：エラー・完了メッセージ
   ------------------------------------------------------------
   Contact Form 7標準メッセージをフォームの雰囲気に合わせます。
============================================================ */
.wpcf7 .hp-contact-form .wpcf7-not-valid-tip {
  margin-top: 7px;
  color: #D95C3D;
  font-size: 13px;
}

.wpcf7 .hp-contact-form .wpcf7-response-output {
  margin: 24px 0 0 !important;
  padding: 14px 16px !important;
  border-radius: 8px;
  font-size: 14px;
}

/* ============================================================
   Contact Form 7：スマホ表示
   ------------------------------------------------------------
   2列項目を1列にし、余白とボタン幅を調整します。
============================================================ */
@media (max-width: 640px) {
  .wpcf7 .hp-contact-form {
    padding: 28px 20px;
    border-radius: 12px;
  }

  .wpcf7 .hp-form-row {
    margin-bottom: 22px;
  }

  .wpcf7 .hp-form-row-half {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .wpcf7 .hp-contact-form input[type="submit"] {
    width: 100% !important;
    min-width: 0;
  }
}

/* 報告セクション：白い大きなカード */
.report-card {
  border: 3px solid #CFECEB;
  border-radius: 24px;
  background: #FFFFFF;
  box-shadow: 0 10px 0 rgba(22, 139, 134, .12);
  padding: clamp(28px, 5vw, 56px);
  overflow: hidden;
}

/* sp-reverse-columns を付けたリッチカラムだけ、スマホで逆順にする */
@media (max-width: 640px) {
  .sp-reverse-columns .swell-block-columns__inner {
    display: flex !important;
    flex-direction: column-reverse !important;
  }
}
