@charset "UTF-8";
/* =========================================================
 * SEO対策で追加したページ・セクション用スタイル（2026.10）
 * 接頭辞 sx- で既存スタイルと衝突しないようにしています
 * ========================================================= */

.sx-wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.sx-sec { padding: 70px 0; }
.sx-sec--bg { background: #f3f8fd; }
.sx-sec--blue { background: #0046aa; color: #fff; }

.sx-h { margin: 0 0 35px; padding-bottom: 14px; border-bottom: 3px solid #d3e1f3; position: relative; font-size: 2.8rem; line-height: 1.4; color: #003787; font-weight: bold; }
.sx-h::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 120px; height: 3px; background: #0046aa; }
.sx-h small { display: block; margin-bottom: 4px; font-size: 1.4rem; color: #146bb1; letter-spacing: .1em; }
.sx-sec--blue .sx-h { color: #fff; border-color: rgba(255, 255, 255, .3); }
.sx-sec--blue .sx-h::after { background: #fff100; }
.sx-h3 { margin: 40px 0 15px; padding-left: 14px; border-left: 5px solid #0046aa; font-size: 2rem; line-height: 1.4; color: #003787; font-weight: bold; }

.sx-text p, .sx-lead p { margin: 0 0 1.2em; font-size: 1.6rem; line-height: 2; }
.sx-lead { display: flex; gap: 40px; align-items: flex-start; }
.sx-lead__body { flex: 1; }
.sx-lead__img { width: 42%; flex-shrink: 0; }
.sx-lead__img img, .sx-card img, .sx-media img { display: block; width: 100%; height: auto; border-radius: 6px; }
.sx-lead strong, .sx-text strong { color: #003787; background: linear-gradient(transparent 60%, #fffa7b 60%); }

/* 特長（数字付き） */
.sx-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; margin: 0; padding: 0; }
.sx-points li { padding: 28px 24px; background: #fff; border-top: 4px solid #0046aa; box-shadow: 0 2px 10px rgba(0, 55, 135, .1); }
.sx-points h4 { margin: 0 0 10px; font-size: 1.8rem; line-height: 1.5; color: #003787; }
.sx-points h4 span { display: block; font-size: 1.3rem; color: #146bb1; letter-spacing: .1em; }
.sx-points p { margin: 0; font-size: 1.5rem; line-height: 1.8; }

/* 症状チェックリスト */
.sx-check { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 20px; list-style: none; margin: 0; padding: 0; }
.sx-check li { padding: 16px 16px 16px 48px; background: #fff; border: 1px solid #c9daf0; border-radius: 6px; position: relative; font-size: 1.6rem; line-height: 1.5; font-weight: bold; }
.sx-check li::before { content: ""; position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border: 2px solid #0046aa; border-radius: 3px; box-sizing: border-box; }
.sx-check li::after { content: ""; position: absolute; left: 21px; top: 50%; width: 12px; height: 6px; margin-top: -6px; border-left: 3px solid #e60012; border-bottom: 3px solid #e60012; transform: rotate(-45deg); }
.sx-check-note { margin-top: 25px; padding: 18px 20px; background: #fff8d6; border-radius: 6px; font-size: 1.6rem; line-height: 1.8; text-align: center; font-weight: bold; color: #003787; }

/* カード */
.sx-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; list-style: none; margin: 0; padding: 0; }
.sx-cards--4 { grid-template-columns: repeat(4, 1fr); }
.sx-cards--2 { grid-template-columns: repeat(2, 1fr); }
.sx-card { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 10px rgba(0, 55, 135, .1); }
.sx-card img { border-radius: 0; aspect-ratio: 4 / 3; object-fit: cover; }
.sx-card__body { padding: 18px 20px 22px; }
.sx-card h4 { margin: 0 0 10px; font-size: 1.8rem; line-height: 1.4; color: #003787; }
.sx-card p { margin: 0; font-size: 1.5rem; line-height: 1.8; }
.sx-card a.sx-more { display: inline-block; margin-top: 12px; color: #0046aa; font-size: 1.5rem; font-weight: bold; text-decoration: underline; }

/* 手順 */
.sx-steps { list-style: none; margin: 0; padding: 0; counter-reset: sxstep; }
.sx-steps li { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px dashed #b5c9e6; counter-increment: sxstep; }
.sx-steps li::before { content: "STEP\A" counter(sxstep); white-space: pre; flex-shrink: 0; width: 64px; height: 64px; padding-top: 12px; box-sizing: border-box; border-radius: 50%; background: #0046aa; color: #fff; font-size: 1.2rem; line-height: 1.3; font-weight: bold; text-align: center; }
.sx-steps h4 { margin: 4px 0 6px; font-size: 1.8rem; color: #003787; }
.sx-steps p { margin: 0; font-size: 1.5rem; line-height: 1.8; }

/* 表 */
.sx-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 1.5rem; line-height: 1.7; }
.sx-table th, .sx-table td { padding: 14px 16px; border: 1px solid #c9daf0; text-align: left; vertical-align: top; }
.sx-table thead th { background: #0046aa; color: #fff; }
.sx-table tbody th { width: 28%; background: #eef4fb; color: #003787; }
.sx-note { margin-top: 10px; font-size: 1.3rem; line-height: 1.7; color: #555; }

/* 注意ボックス */
.sx-box { padding: 28px 30px; background: #fff; border: 2px solid #0046aa; border-radius: 8px; }
.sx-box h4 { margin: 0 0 12px; font-size: 2rem; color: #003787; }
.sx-box p, .sx-box li { font-size: 1.5rem; line-height: 1.9; }
.sx-box ul { margin: 0; padding-left: 1.4em; }

/* FAQ */
.sx-faq details { margin-bottom: 12px; background: #fff; border: 1px solid #c9daf0; border-radius: 6px; }
.sx-faq summary { display: flex; align-items: center; gap: 14px; padding: 18px 50px 18px 18px; position: relative; cursor: pointer; list-style: none; font-size: 1.7rem; line-height: 1.5; font-weight: bold; color: #003787; }
.sx-faq summary::-webkit-details-marker { display: none; }
.sx-faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 2.4rem; font-weight: normal; color: #0046aa; }
.sx-faq details[open] summary::after { content: "−"; }
.sx-faq__q { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #0046aa; color: #fff; font-size: 1.6rem; }
.sx-faq__q--a { background: #e60012; }
.sx-faq__a { display: flex; gap: 14px; padding: 0 18px 20px; }
.sx-faq__a p { margin: 4px 0 0; font-size: 1.5rem; line-height: 1.9; }
.sx-faq__a a { color: #0046aa; text-decoration: underline; }

/* 対応エリア */
.sx-areas { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.sx-areas li { font-size: 1.5rem; }
.sx-areas li a, .sx-areas li span { display: block; padding: 10px 18px; border-radius: 30px; background: #fff; border: 1px solid #0046aa; color: #0046aa; }
.sx-areas li a { background: #0046aa; color: #fff; font-weight: bold; }
.sx-areas li a:hover { background: #003787; }

/* 地域ページへの大バナー */
.sx-areabnr { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.sx-areabnr a { display: block; padding: 30px 24px; border-radius: 8px; background: linear-gradient(135deg, #0046aa, #146bb1); color: #fff; text-align: center; position: relative; overflow: hidden; }
.sx-areabnr a:hover { opacity: .9; }
.sx-areabnr strong { display: block; font-size: 2.4rem; line-height: 1.4; }
.sx-areabnr span { display: block; margin-top: 6px; font-size: 1.4rem; }
.sx-areabnr em { display: inline-block; margin-top: 14px; padding: 6px 20px; border-radius: 20px; background: #fff100; color: #003787; font-style: normal; font-size: 1.4rem; font-weight: bold; }

/* 施工事例・ブログ */
.sx-works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.sx-works a { display: block; background: #fff; box-shadow: 0 2px 8px rgba(0, 55, 135, .1); color: #003787; }
.sx-works img { display: block; width: 100%; height: 200px; object-fit: cover; }
.sx-works span { display: block; padding: 12px 14px; font-size: 1.5rem; font-weight: bold; line-height: 1.5; }
.sx-news { list-style: none; margin: 0; padding: 0; background: #fff; }
.sx-news li { display: flex; gap: 20px; padding: 14px 16px; border-bottom: 1px dashed #b5c9e6; font-size: 1.5rem; line-height: 1.6; }
.sx-news time { flex-shrink: 0; color: #146bb1; }
.sx-news a { color: #333; text-decoration: underline; }
.sx-linkrow { margin-top: 25px; text-align: center; }
.sx-linkrow a { display: inline-block; margin: 5px; padding: 12px 30px; border: 2px solid #0046aa; border-radius: 30px; color: #0046aa; font-size: 1.5rem; font-weight: bold; }
.sx-linkrow a:hover { background: #0046aa; color: #fff; }

/* 店舗情報 */
.sx-shop { display: flex; gap: 30px; align-items: stretch; }
.sx-shop .sx-table { flex: 1; }
.sx-shop iframe { width: 50%; min-height: 320px; border: 0; }

/* 写真（ご用意いただいた画像が入る場所） */
.sx-media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 25px; }
.sx-media figure { margin: 0; }
.sx-media figcaption { margin-top: 6px; font-size: 1.3rem; text-align: center; color: #555; }
.sx-media--5 { grid-template-columns: repeat(5, 1fr); }
.sx-media--5 img { aspect-ratio: 3 / 4; object-fit: cover; }

/* お問い合わせ導線 */
.sx-cta { margin: 50px auto 0; padding: 30px 20px; max-width: 900px; border-radius: 10px; background: #003787; color: #fff; text-align: center; }
.sx-cta__lead { margin: 0 0 18px; font-size: 2rem; font-weight: bold; line-height: 1.5; }
.sx-cta__btns { display: flex; justify-content: center; gap: 16px; }
.sx-cta__btns a { display: block; width: 340px; padding: 14px 10px; border-radius: 8px; font-size: 2.6rem; font-weight: bold; line-height: 1.3; }
.sx-cta__btns a small { display: block; font-size: 1.3rem; font-weight: normal; }
.sx-cta__tel { background: #fff100; color: #003787; }
.sx-cta__mail { background: #e60012; color: #fff; font-size: 2.2rem !important; }

/* トップページ追加セクション */
.sx-top-amamori .sx-lead__img img { box-shadow: 0 4px 14px rgba(0, 0, 0, .15); }

/* フッター 対応エリア */
footer .f_area { margin-top: 15px; font-size: 1.2rem; line-height: 1.8; }
footer .f_area a { color: #fff; text-decoration: underline; margin-right: .5em; }

@media screen and (max-width: 767px) {
  .sx-sec { padding: 45px 0; }
  .sx-wrap { padding: 0 15px; }
  .sx-h { font-size: 2.1rem; margin-bottom: 25px; }
  .sx-h3 { font-size: 1.8rem; }
  .sx-text p, .sx-lead p { font-size: 1.5rem; line-height: 1.9; }
  .sx-lead { flex-direction: column; gap: 20px; }
  .sx-lead__img { width: 100%; }
  .sx-points, .sx-cards, .sx-cards--4, .sx-cards--2, .sx-works, .sx-areabnr { grid-template-columns: 1fr; }
  .sx-cards--4 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .sx-cards--4 .sx-card__body { padding: 12px; }
  .sx-cards--4 .sx-card h4 { font-size: 1.5rem; }
  .sx-cards--4 .sx-card p { font-size: 1.3rem; }
  .sx-check { grid-template-columns: 1fr; }
  .sx-media { grid-template-columns: repeat(2, 1fr); }
  .sx-works { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sx-works img { height: 120px; }
  .sx-works span { font-size: 1.3rem; padding: 8px 10px; }
  .sx-steps li::before { width: 54px; height: 54px; padding-top: 9px; font-size: 1.1rem; }
  .sx-table th, .sx-table td { display: block; width: auto !important; padding: 10px 12px; }
  .sx-table thead { display: none; }
  .sx-shop { flex-direction: column; }
  .sx-shop iframe { width: 100%; min-height: 260px; }
  .sx-box { padding: 20px 18px; }
  .sx-faq summary { font-size: 1.5rem; padding: 14px 44px 14px 14px; }
  .sx-cta__lead { font-size: 1.6rem; }
  .sx-cta__btns { flex-direction: column; align-items: center; }
  .sx-cta__btns a { width: 100%; max-width: 340px; font-size: 2.2rem; }
  .sx-news li { flex-direction: column; gap: 2px; }
}
