@charset "utf-8";
/*
Template: jstork19
Theme Name: stork19_custom
Theme URI:http://open-cage.com/stork19/
Version: 1.0.0
Author: opencage
Author URI: https://open-cage.com/
*/


/*見積り15°回転*/
.rotateA:hover {
  transform: rotate(15deg);
  transition: all 1s;
}

/*フッタデザイン*/
.footer_line{ border-bottom: dotted 1.4px #e5e5e5;
padding-bottom: px;
font-size: 14px;}

/*フッターの下線を消す*/
a{
text-decoration:none;
}
a:hover{
text-decoration: underline;
}


/* 見積・問い合わせ・応募ボタンの色と形とアクション */
.wpcf7 input[type="submit"] {
width:100%;
padding:15px;
border-radius:0px;
-webkit-border-radius: 0px;  
-moz-border-radius: 0px;
border: none;
box-shadow: 0 3px 0 #ddd;
background: #B51D2c;
transition: 0.3s;
}
.wpcf7-submit:hover {
background: #a4dd6c;
transform: translate3d(0px, 3px, 1px);
-webkit-transform: translate3d(0px, 3px, 1px);
-moz-transform: translate3d(0px, 3px, 1px);
}


/* CF7チェックボックスとラジオボタンを縦並びに */
span.wpcf7-list-item {
margin-top:5px;
display: block;
}



/* テーブル全体 */
table.ctf7-custom {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 1rem;
}

/* セル共通スタイル */
table.ctf7-custom th,
table.ctf7-custom td {
  padding: 10px;
  vertical-align: top;
  border-bottom: 1px solid #ddd;
}

/* 見出し（左側） */
table.ctf7-custom th {
  width: 30%;
  font-weight: bold;
  text-align: left;
  background-color: #f8f8f8;
  white-space: nowrap;
}

/* 入力欄 */
table.ctf7-custom td {
  width: 70%;
}

/* 必須ラベル */
.required-badge {
  display: inline-block;
  background-color: #e53935;
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 6px;
  vertical-align: middle;
}

/* プライバシーノート */
.privacy-note {
  font-size: 0.85rem;
  color: #555;
  margin-top: 20px;
  line-height: 1.6;
}

/* 同意チェック */
.acceptance-box {
  background: #f9f9f9;
  padding: 12px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
  margin: 20px 0;
  text-align: center;
}


/* スマホ対応 */
@media screen and (max-width: 600px) {
  table.ctf7-custom th,
  table.ctf7-custom td {
    display: block;
    width: 100%;
  }
  table.ctf7-custom th {
    background: none;
    padding-top: 1em;
  }
}

/* ==================================================
   リフォームパンセ｜水回り修理・小工事LP
   WAFに弾かれにくい上品ブルーCSS一括版
================================================== */

/* ヘッダーロゴ画像サイズ調整 */
.panse-logo-img {
  max-width: 210px !important;
  max-height: 44px !important;
  width: auto !important;
  height: auto !important;
}

/* スマホ時はさらに少し小さく */
@media screen and (max-width: 560px) {
  .panse-logo-img {
    max-width: 180px !important;
    max-height: 40px !important;
  }
}

/* ヒーローKV｜PC・スマホ画像の表示切替を強制 */
.panse-hero-kv .panse-hero-kv-pc {
  display: block !important;
}

.panse-hero-kv .panse-hero-kv-sp {
  display: none !important;
}

@media screen and (max-width: 767px) {
  .panse-hero-kv .panse-hero-kv-pc {
    display: none !important;
  }

  .panse-hero-kv .panse-hero-kv-sp {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }
}


.panse-hero-kv {
  margin-top: 0 !important;
}


.panse-mizu-lp {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #24384f;
  line-height: 1.8;
  background: #ffffff;
}

.panse-mizu-lp * {
  box-sizing: border-box;
}

.panse-mizu-lp a {
  text-decoration: none;
}

.panse-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.panse-section {
  padding: 64px 0;
}

.panse-section-light {
  background: #f6fbff;
}

.panse-section-title {
  text-align: center;
  font-size: 31px;
  font-weight: 800;
  color: #0f3f67;
  line-height: 1.45;
  margin: 0 0 34px;
  letter-spacing: 0.03em;
}

.panse-section-title span {
  display: inline-block;
  padding-bottom: 10px;
  border-bottom: 3px solid #2aa7c9;
}

.panse-lead {
  max-width: 780px;
  margin: 0 auto 36px;
  text-align: center;
  font-size: 16px;
  color: #5d7184;
}

/* ヘッダー */
.panse-header {
  background: #ffffff;
  border-bottom: 1px solid #d8e8f2;
}

.panse-header-top {
  max-width: 1120px;
  margin: 0 auto;
  padding: 15px 20px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.panse-logo-sub {
  font-size: 13px;
  color: #5d7184;
  line-height: 1.3;
}

.panse-logo {
  font-size: 29px;
  font-weight: 900;
  color: #0f3f67;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.panse-logo-mark {
  display: inline-block;
  margin-right: 7px;
  color: #1f78b4;
}

.panse-header-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.panse-header-tel,
.panse-header-line {
  display: inline-block;
  border-radius: 9px;
  padding: 10px 18px;
  font-weight: 800;
  text-align: center;
  line-height: 1.25;
}

.panse-header-tel {
  color: #ffffff;
  background: #0f3f67;
}

.panse-header-line {
  color: #ffffff;
  background: #21a957;
}

.panse-header-tel small,
.panse-header-line small {
  display: block;
  font-size: 11px;
  font-weight: 500;
}

.panse-nav {
  border-top: 1px solid #eef5fa;
}

.panse-nav ul {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  list-style: none;
  display: flex;
  justify-content: center;
}

.panse-nav li {
  border-left: 1px solid #eef5fa;
}

.panse-nav li:last-child {
  border-right: 1px solid #eef5fa;
}

.panse-nav a {
  display: block;
  padding: 13px 24px;
  color: #0f3f67;
  font-size: 14px;
  font-weight: 700;
}

.panse-nav a:hover {
  background: #f6fbff;
}

.panse-nav-links {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
}

.panse-nav-links a {
  display: block;
  padding: 13px 24px;
  color: #0f3f67;
  font-size: 14px;
  font-weight: 700;
  border-left: 1px solid #eef5fa;
}

.panse-nav-links a:last-child {
  border-right: 1px solid #eef5fa;
}

.panse-nav-links a:hover {
  background: #f6fbff;
}

@media screen and (max-width: 900px) {
  .panse-nav {
    display: none;
  }
}




/* ファーストビュー */
.panse-hero {
  background: #f6fbff;
  padding: 72px 0 54px;
  border-bottom: 1px solid #d8e8f2;
}

.panse-hero-content {
  max-width: 760px;
}

.panse-hero-badge {
  display: inline-block;
  background: #0f3f67;
  color: #ffffff;
  border-radius: 999px;
  padding: 8px 28px;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 22px;
}

.panse-hero h1 {
  font-size: 41px;
  line-height: 1.38;
  margin: 0 0 20px;
  color: #0f3f67;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.panse-hero h1 strong {
  color: #1f78b4;
}

.panse-hero h1 em {
  color: #2aa7c9;
  font-style: normal;
}

.panse-hero-text {
  font-size: 17px;
  font-weight: 600;
  color: #344b62;
  margin: 0 0 30px;
}

.panse-feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.panse-feature-card {
  background: #ffffff;
  border: 1px solid #d8e8f2;
  border-radius: 16px;
  padding: 18px 13px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(15, 63, 103, 0.08);
}

.panse-feature-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 8px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eaf5fb;
  color: #1f78b4;
  font-size: 24px;
  font-weight: 800;
}

.panse-feature-card h3 {
  margin: 0 0 6px;
  color: #0f3f67;
  font-size: 16px;
  font-weight: 800;
}

.panse-feature-card p {
  margin: 0;
  font-size: 13px;
  color: #5d7184;
  line-height: 1.6;
}

/* ヒーローKV画像 */
.panse-hero-kv {
  width: 100%;
  background: #ffffff;
  padding: 0;
  margin: 0;
}

.panse-hero-kv-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
}

.panse-hero-kv-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

/* ヒーローKVはみ出し修正 */
.panse-hero-kv {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: #ffffff;
  margin: 0;
  padding: 0;
}

.panse-hero-kv-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.panse-hero-kv-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

/* WordPress側のfigureやpで包まれた場合の対策 */
.panse-hero-kv figure,
.panse-hero-kv p {
  margin: 0 !important;
  padding: 0 !important;
}

.panse-hero-kv img {
  max-width: 100% !important;
  height: auto !important;
}



/* お困りごと */
.panse-trouble-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.panse-trouble-card {
  background: #ffffff;
  border: 1px solid #d8e8f2;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(15, 63, 103, 0.08);
}

.panse-trouble-card h3 {
  margin: 0;
  color: #ffffff;
  text-align: center;
  padding: 11px 10px;
  font-size: 18px;
  font-weight: 800;
  background: #0f3f67;
}

.panse-trouble-img {
  height: 150px;
  background: #eaf5fb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1f78b4;
  font-weight: 800;
  font-size: 18px;
}

.panse-trouble-list {
  padding: 18px;
}

.panse-trouble-item {
  font-size: 14px;
  margin-bottom: 7px;
  color: #344b62;
  line-height: 1.7;
}

.panse-trouble-item span {
  color: #2aa7c9;
  font-weight: 800;
  margin-right: 6px;
}

/* 料金表 */
.panse-price-note {
  text-align: center;
  font-size: 14px;
  color: #5d7184;
  margin: -16px 0 28px;
}

.panse-price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.panse-price-card {
  background: #ffffff;
  border: 1px solid #d8e8f2;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(15, 63, 103, 0.08);
}

.panse-price-card h3 {
  margin: 0;
  color: #ffffff;
  text-align: center;
  padding: 11px 10px;
  font-size: 18px;
  font-weight: 800;
  background: #0f3f67;
}

.panse-price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.panse-price-table th,
.panse-price-table td {
  border-bottom: 1px solid #edf4f8;
  padding: 11px 10px;
  vertical-align: top;
}

.panse-price-table th {
  text-align: left;
  font-weight: 600;
  color: #344b62;
}

.panse-price-table td {
  text-align: right;
  font-weight: 800;
  white-space: nowrap;
  color: #0f3f67;
}

.panse-small-note {
  font-size: 13px;
  text-align: center;
  margin: 20px 0 0;
  color: #5d7184;
}

/* 選ばれる理由 */
.panse-reason-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.panse-reason-card {
  background: #ffffff;
  border: 1px solid #d8e8f2;
  border-radius: 18px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(15, 63, 103, 0.08);
}

.panse-reason-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: #eaf5fb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1f78b4;
  font-size: 28px;
}

.panse-reason-card h3 {
  margin: 0 0 10px;
  color: #0f3f67;
  font-size: 19px;
  font-weight: 800;
}

.panse-reason-card p {
  margin: 0;
  font-size: 14px;
  color: #5d7184;
}

/* ご相談の流れ */
.panse-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.panse-flow-card {
  background: #ffffff;
  border: 1px solid #d8e8f2;
  border-radius: 18px;
  padding: 28px 18px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(15, 63, 103, 0.08);
}

.panse-flow-num {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #0f3f67;
  color: #ffffff;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 12px;
}

.panse-flow-card h3 {
  margin: 0 0 10px;
  color: #0f3f67;
  font-size: 18px;
  font-weight: 800;
}

.panse-flow-card p {
  margin: 0;
  font-size: 14px;
  color: #5d7184;
}

/* 共通｜丸画像アイコン */
.panse-round-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: #eaf5fb;
  border: 1px solid #d8e8f2;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panse-round-icon img {
  display: block;
  width: 58%;
  height: 58%;
  object-fit: contain;
}


/* FAQ */
.panse-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.panse-faq-card {
  background: #ffffff;
  border: 1px solid #d8e8f2;
  border-radius: 18px;
  padding: 23px 24px;
  box-shadow: 0 8px 20px rgba(15, 63, 103, 0.06);
}

.panse-faq-q {
  font-weight: 800;
  color: #0f3f67;
  font-size: 17px;
  margin-bottom: 8px;
}

.panse-faq-q-mark {
  display: inline-flex;
  width: 28px;
  height: 28px;
  margin-right: 8px;
  border-radius: 999px;
  background: #eaf5fb;
  color: #1f78b4;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.panse-faq-a {
  margin: 0;
  font-size: 15px;
  color: #5d7184;
}

/* CTA */
.panse-cta {
  background: #0f3f67;
  color: #ffffff;
  padding: 50px 0;
}

.panse-cta h2 {
  text-align: center;
  font-size: 30px;
  line-height: 1.45;
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.panse-cta p {
  text-align: center;
  margin: 0 0 30px;
  font-size: 16px;
}

.panse-cta-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

.panse-cta-btn {
  display: block;
  background: #ffffff;
  color: #0f3f67;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  font-weight: 900;
  font-size: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.14);
}

.panse-cta-btn small {
  display: block;
  color: #5d7184;
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
}

.panse-cta-btn.tel {
  color: #1f78b4;
}

.panse-cta-btn.line {
  color: #21a957;
}

.panse-cta-btn.form {
  color: #0f3f67;
}

/* スマホ対応 */
@media screen and (max-width: 900px) {
  .panse-section {
    padding: 48px 0;
  }

  .panse-section-title {
    font-size: 24px;
  }

  .panse-inner {
    padding: 0 16px;
  }

  .panse-header-top {
    flex-direction: column;
    align-items: stretch;
  }

  .panse-logo {
    font-size: 25px;
  }

  .panse-header-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .panse-nav {
    display: none;
  }

  .panse-hero {
    padding: 44px 0 38px;
  }

  .panse-hero h1 {
    font-size: 30px;
  }

  .panse-hero-badge {
    font-size: 15px;
  }

  .panse-feature-row,
  .panse-trouble-grid,
  .panse-price-grid,
  .panse-reason-grid,
  .panse-flow-grid,
  .panse-cta-buttons {
    grid-template-columns: 1fr 1fr;
  }

  .panse-faq-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 560px) {
  .panse-feature-row,
  .panse-trouble-grid,
  .panse-price-grid,
  .panse-reason-grid,
  .panse-flow-grid,
  .panse-cta-buttons {
    grid-template-columns: 1fr;
  }

  .panse-trouble-img {
    height: 140px;
  }

  .panse-hero h1 {
    font-size: 27px;
  }

  .panse-cta h2 {
    font-size: 23px;
  }
}

/* ==================================================
   パンセLP｜STORK19表示補正
================================================== */

/* LP全体をワイド表示にする */
.panse-mizu-lp {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
}

/* 中身の最大幅はきれいに中央寄せ */
.panse-mizu-lp .panse-inner,
.panse-mizu-lp .panse-header-top,
.panse-mizu-lp .panse-nav ul {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

/* ==================================================
   固定ページID 73845 だけ｜STORK19装飾リセット
================================================== */

.page-id-73845 .panse-mizu-lp h1,
.page-id-73845 .panse-mizu-lp h2,
.page-id-73845 .panse-mizu-lp h3,
.page-id-73845 .panse-mizu-lp h4 {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.page-id-73845 .panse-mizu-lp h1::before,
.page-id-73845 .panse-mizu-lp h1::after,
.page-id-73845 .panse-mizu-lp h2::before,
.page-id-73845 .panse-mizu-lp h2::after,
.page-id-73845 .panse-mizu-lp h3::before,
.page-id-73845 .panse-mizu-lp h3::after,
.page-id-73845 .panse-mizu-lp h4::before,
.page-id-73845 .panse-mizu-lp h4::after,
.page-id-73845 .panse-mizu-lp li::before,
.page-id-73845 .panse-mizu-lp li::after {
  display: none !important;
  content: none !important;
}

.page-id-73845 .panse-mizu-lp ul,
.page-id-73845 .panse-mizu-lp ol,
.page-id-73845 .panse-mizu-lp li {
  list-style: none !important;
  background: none !important;
  border: none !important;
}


/* ヘッダー電話番号を白に固定 */
.panse-header-tel,
.panse-header-tel:link,
.panse-header-tel:visited,
.panse-header-tel:hover,
.panse-header-tel:active,
.panse-header-tel small {
  color: #ffffff !important;
}

/* グローバルメニューをカラム幅いっぱい・均等割り付け */
.panse-nav {
  width: 100%;
  border-top: 1px solid #eef5fa;
  border-bottom: 1px solid #eef5fa;
}

.panse-nav-links {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.panse-nav-links a {
  display: block;
  width: 100%;
  padding: 14px 10px;
  text-align: center;
  color: #0f3f67 !important;
  font-size: 14px;
  font-weight: 700;
  border-left: 1px solid #eef5fa;
  background: #ffffff;
}

.panse-nav-links a:last-child {
  border-right: 1px solid #eef5fa;
}

.panse-nav-links a:hover {
  background: #f6fbff;
  color: #0f3f67 !important;
}

@media screen and (max-width: 900px) {
  .panse-nav {
    display: none;
  }
}

/* 選ばれる理由｜丸写真表示 */
.panse-reason-card .panse-round-icon {
  width: 96px !important;
  height: 96px !important;
  margin: 0 auto 16px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  background: #eaf5fb !important;
  border: 3px solid #ffffff !important;
  box-shadow: 0 6px 18px rgba(15, 63, 103, 0.16) !important;
  display: block !important;
}

.panse-reason-card .panse-round-icon img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 50% !important;
}

/* ご相談の流れ｜丸写真表示 */
.panse-flow-card .panse-round-icon {
  width: 96px !important;
  height: 96px !important;
  margin: 0 auto 16px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  background: #eaf5fb !important;
  border: 3px solid #ffffff !important;
  box-shadow: 0 6px 18px rgba(15, 63, 103, 0.16) !important;
  display: block !important;
}

.panse-flow-card .panse-round-icon img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 50% !important;
}

/* CTA｜代表顔写真の丸表示 */
.panse-cta-person {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 auto 28px;
  text-align: left;
}

.panse-cta-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: #ffffff;
  border: 4px solid #ffffff;
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
  flex-shrink: 0;
}

.panse-cta-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.panse-cta-person-text {
  color: #ffffff;
}

.panse-cta-person-name {
  margin: 0 0 4px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
  text-align: left !important;
}

.panse-cta-person-message {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  text-align: left !important;
  opacity: 0.95;
}

@media screen and (max-width: 560px) {
  .panse-cta-person {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    margin-bottom: 24px;
  }

  .panse-cta-photo {
    width: 88px;
    height: 88px;
  }

  .panse-cta-person-name,
  .panse-cta-person-message {
    text-align: center !important;
  }
}

/* 固定ページID 73845のみ｜フッター全体を非表示 */
.page-id-73845 footer,
.page-id-73845 .site-footer,
.page-id-73845 #footer {
  display: none !important;
}