* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic', 'Meiryo', sans-serif;
  line-height: 1.6;
  color: #333;
}
/* 左上ロゴ */
.site-logo{
  position: fixed;        /* 常に画面左上 */
  top: 12px;
  left: 0px;
  z-index: 9999;          /* ヒーローより前面に */
}

.site-logo img{
  height: 170px;           /* ロゴの大きさ（好みで調整） */
  width: auto;
  display: block;
}
@media (max-width: 768px){
  .site-logo{
    top: 10px;
    left: 0px;
  }
  .site-logo img{
    height: 60px;
  }
}

/* ===== ヒーロー ===== */
.hero {
  background-image: url('背景1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  max-width: 1400px;
  margin: 0 auto;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(74, 144, 226, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  flex: 1;
  min-width: 300px;
  max-width: 700px;
  z-index: 1;
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 14px;
  line-height: 1.15;
}

.title-blue {
  color: #4A90E2;
  text-shadow: 2px 2px 4px rgba(74, 144, 226, 0.3);
}

.title-red {
  color: #FF4444;
  text-shadow: 2px 2px 4px rgba(255, 68, 68, 0.3);
}

.title-normal {
  color: #333;
}

/* PCでは改行しない（スマホでだけ表示） */
.sp-br { display: none; }

.hero-subtitle {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 18px;
  line-height: 1.8;
}

.subtitle-dark {
  color: #003A70;
  display: inline-block;
  margin-right: 10px;
}

.subtitle-highlight {
  background: linear-gradient(90deg, #FF4444 0%, #FF6B6B 100%);
  color: white;
  padding: 8px 25px;
  display: inline-block;
  position: relative;
  box-shadow: 0 4px 6px rgba(255, 68, 68, 0.3);
  margin-top: 10px;
}

.subtitle-highlight::before,
.subtitle-highlight::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
}

.subtitle-highlight::before {
  left: -18px;
  border-width: 28px 18px 28px 0;
  border-color: transparent #FF4444 transparent transparent;
}

.subtitle-highlight::after {
  right: -18px;
  border-width: 28px 0 28px 18px;
  border-color: transparent transparent transparent #FF6B6B;
}

/* 「一括見積！！」 */
.hero-bomb {
  display: inline-block;
  margin: 6px auto 8px;
  padding: 0.18em 0.55em;
  font-weight: 1000;
  font-size: 2.2rem;
  line-height: 1.05;
  letter-spacing: 0.03em;
  color: #111;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0) 38%,
    #FFE35A 38%,
    #FFE35A 92%,
    rgba(255,255,255,0) 92%
  );
  border-radius: 16px;
  box-shadow: 0 14px 24px rgba(0,0,0,0.16);
}

/* hero内：features＋画像（PCは横並びのまま） */
.hero-media-row {
  display: flex;
  gap: 18px;
  align-items: stretch;
  justify-content: center;
  margin: 10px auto 16px;
  max-width: 680px;
}

/* features */
.features-box {
  background: rgba(255, 255, 255, 0.9);
  border: 3px solid #4A90E2;
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.features-list {
  list-style: none;
}

.features-list li {
  margin-bottom: 15px;
  font-size: 1.1rem;
  padding-left: 25px;
  position: relative;
}

.features-list li::before {
  content: '●';
  color: #4A90E2;
  position: absolute;
  left: 0;
  font-size: 1.5rem;
}

.features-list strong {
  color: #FF4444;
  font-weight: bold;
}

/* CTA */
.cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 26px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 20px 30px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s, box-shadow 0.3s;
  flex: 1;
  min-width: 200px;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn:focus-visible {
  outline: 4px solid rgba(255, 214, 0, 0.9);
  outline-offset: 3px;
}

.btn-phone {
  background: linear-gradient(135deg, #FF4444 0%, #FF6666 100%);
  color: white;
}

.btn-form {
  background: linear-gradient(135deg, #44DD44 0%, #66EE66 100%);
  color: white;
}

.phone-icon,
.form-icon {
  width: 50px;
  height: 50px;
}

.btn-text-small {
  font-size: 0.9rem;
}

.btn-text-large {
  font-size: 1.2rem;
}

/* 画像 */
.hero-image {
  flex: 0 0 350px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* スマホ画像は基本非表示（スマホ時に表示するが、今回は“消す”方針なので後で上書き） */
.hero-image-mobile { display: none; }

/* PC右側画像 */
.hero-image-desktop {
  flex: 0 0 350px;
}

/* ===== サービスフロー ===== */
.service-flow {
  padding: 60px 20px;
  background-image: url('背景2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #031299f8;
  font-weight: bold;
}

.flow-container {
  max-width: 1400px;
  margin: 0 auto;
}

.flow-item {
  background: white;
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.flow-number {
  background: linear-gradient(135deg, #4A90E2 0%, #5BA3F5 100%);
  color: white;
  font-size: 3rem;
  font-weight: bold;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(74, 144, 226, 0.3);
  line-height: 1;
}

.flow-content {
  flex: 1;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.flow-content h3 {
  background-color: #4A90E2;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 10px;
  margin-top: 0;
  padding: 10px 20px;
  border-radius: 10px;
  display: inline-block;
  line-height: 1.5;
}

.flow-text { flex: 1; }

.flow-content p {
  color: #666;
  line-height: 1.8;
}

.flow-content img {
  margin-top: 0;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

/* ===== お困りごと ===== */
.troubles {
  padding: 60px 20px;
  background: linear-gradient(135deg, #003A70 0%, #004A8F 100%);
}

.section-title-white {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: white;
  font-weight: bold;
}

.troubles-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.trouble-item {
  background: white;
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  flex: 0 1 180px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
}

.trouble-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trouble-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.trouble-item p {
  color: #003A70;
  font-weight: bold;
  line-height: 1.6;
}

/* ===== おすすめ対象 ===== */
.recommended {
  padding: 60px 20px;
  background-image: url('背景3.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.section-title-blue {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 50px;
  color: #003A70;
  font-weight: bold;
  line-height: 1.5;
}

.recommended-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.recommended-item {
  background: white;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 500px;
  min-height: 140px;
  margin: 0 auto;
}

.recommended-item img {
  width: 150px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.recommended-text {
  flex: 1;
  text-align: center;
}

.recommended-text p {
  color: #003A70;
  font-size: 1.1rem;
  font-weight: bold;
  line-height: 1.8;
}

/* ===== お客様の声・FAQ ===== */
.testimonials-faq {
  padding: 60px 20px;
  background: linear-gradient(180deg, #FFFEF5 0%, #FFFFFF 100%);
}

.achievement-banner {
  background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);
  border: 4px solid #B8860B;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  margin-bottom: 50px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.achievement-banner h2 {
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.achievement-number {
  font-size: 4rem;
  display: block;
  margin-top: 15px;
  font-weight: bold;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.content-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
}

.testimonials,
.faq {
  flex: 1;
  min-width: 300px;
}

.subsection-title {
  font-size: 1.8rem;
  color: #4A90E2;
  margin-bottom: 30px;
  font-weight: bold;
  text-align: center;
}

.testimonial-item,
.faq-item {
  background: #F5F9FF;
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 20px;
  border-left: 5px solid #4A90E2;
  display: flex;
  align-items: center;
  gap: 20px;
}

.testimonial-image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  background: white;
  padding: 5px;
}

.testimonial-content { flex: 1; }

.testimonial-text {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.8;
}

.testimonial-author {
  text-align: right;
  color: #666;
  font-size: 0.9rem;
}

.faq-item { display: block; }

.faq-question {
  color: #4A90E2;
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.faq-answer {
  color: #333;
  line-height: 1.8;
}

.view-all-button {
  text-align: center;
  margin-top: 40px;
}

.btn-view-all {
  display: inline-block;
  background: linear-gradient(135deg, #4A90E2 0%, #5BA3F5 100%);
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(74, 144, 226, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-view-all:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(74, 144, 226, 0.5);
}

/* ===== フォーム ===== */
.contact-form {
  padding: 60px 20px;
  background: #fff;
}

.form-container {
  max-width: 900px;
  margin: 0 auto;
  background: #F5F9FF;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  border: 2px solid rgba(74,144,226,0.25);
}

.form-row { margin-bottom: 18px; }

.form-row label {
  display: block;
  font-weight: 700;
  color: #003A70;
}

.form-row input,
.form-row textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 14px;
  border-radius: 12px;
  border: 2px solid rgba(0,0,0,0.1);
  background: #fff;
  font-size: 1rem;
  outline: none;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: rgba(74,144,226,0.8);
  box-shadow: 0 0 0 4px rgba(74,144,226,0.15);
}

.btn-submit {
  width: 100%;
  border: none;
  cursor: pointer;
}

.form-note {
  margin-top: 12px;
  text-align: center;
  color: #666;
  font-size: 0.9rem;
}

/* ===== フッターCTA ===== */
.footer-cta {
  background: linear-gradient(135deg, #E3F2FD 0%, #FFFFFF 100%);
  padding: 40px 20px;
  text-align: center;
}

.footer-cta .cta-buttons {
  max-width: 1400px;
  margin: 0 auto;
}

/* =========================
   スマホ：768px以下（ここはそのまま）
========================= */
@media (max-width: 768px) {

  body { font-size: 14px; }

  .hero { padding: 34px 15px; }

  /* スマホだけ改行：水回りの / トラブルを */
  .sp-br { display: block; height: 0; }

  .hero-title {
    font-size: 2.35rem;
    line-height: 1.1;

    position: relative;
    z-index: 2;

    /* 右側に少し余白を作って「右後ろ」に顔を置きやすくする */
    padding-right: 0.4em;
  }

  /* 文字の可読性を守る白ベール（薄め） */
  .hero-title::before {
    content: "";
    position: absolute;
    inset: -18px -10px -14px -10px;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 18px;
    z-index: -1;
    pointer-events: none;
  }

  /* タイトルの後ろに女.png：ドアップ回避（顔＋肩が入る「引き」） */
  .hero-title::after {
    content: "";
    position: absolute;
    inset: -18px -10px -14px -10px;

    background-image: url("女.png");
    background-repeat: no-repeat;

    /* 768px時の基準（引き） */
    background-size: 50%;

    /* 右側の後ろに配置 */
    background-position: 110% 5%;

    opacity: 0.90;
    filter: none;
    border-radius: 18px;

    pointer-events: none;
  }

  /* 「一括見積！！」をさらにドカン（スマホ） */
  .hero-bomb {
    font-size: 2.4rem;
    padding: 0.22em 0.7em;
  }

  .hero-subtitle { font-size: 1.5rem; }

  /* PC右画像は消す（スマホはタイトル背面で見せる） */
  .hero-image-desktop { display: none; }

  /* hero-media：横に広げる（A） */
  .hero-media-row {
    max-width: 760px;
    gap: 14px;
    margin: 10px auto 18px;
  }

  /* ===== 元々あった hero-media内の女画像は消す ===== */
  .hero-image-mobile,
  .hero-image-top-half {
    display: none !important;
  }

  /* featuresは1カラムで全面に */
  .hero-media-row .features-box {
    flex: 1;
    width: 100%;
    margin: 0;
    padding: 16px;
    border-radius: 16px;
  }

  .hero-media-row .features-list li {
    font-size: 0.95rem;
    margin-bottom: 10px;
    padding-left: 20px;
    line-height: 1.55;
  }

  .hero-media-row .features-list li::before {
    font-size: 1.2rem;
    top: 0.05em;
  }

  .hero-media-row .features-list strong {
    font-size: 1.02rem;
  }

  /* CTAは縦並び（押しやすさ） */
  .cta-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    width: 100%;
    min-width: 0;
    padding: 16px 18px;
  }

  .phone-icon, .form-icon {
    width: 44px;
    height: 44px;
  }

  /* フローは縦並び */
  .section-title {
    font-size: 1.9rem;
    margin-bottom: 30px;
  }

  .flow-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .flow-content {
    flex-direction: column;
    align-items: center;
  }

  .flow-content img {
    width: 180px;
    height: 180px;
    margin-top: 12px;
  }

  /* お困りごとは2列 */
  .trouble-item {
    flex: 0 1 calc(50% - 12px);
  }

  .section-title-white {
    font-size: 1.9rem;
    margin-bottom: 30px;
  }

  /* おすすめ：幅固定解除 */
  .recommended-item { width: 100%; }

  .section-title-blue {
    font-size: 1.7rem;
    margin-bottom: 30px;
  }

  /* 実績バナー縮小 */
  .achievement-banner h2 { font-size: 1.7rem; }
  .achievement-number { font-size: 2.8rem; }

  /* 口コミ：縦 */
  .testimonial-item {
    flex-direction: column;
    text-align: center;
  }
  .testimonial-author { text-align: center; }

  .form-container { padding: 22px; }
}

/* =========================
   414px以下：390px用を廃止し、768pxと同じ見え方に合わせる
   ※「390pxでだけ寄せる」等はしない（完全に768基準）
========================= */
@media (max-width: 414px) {
  /* ここは「基本的に何もしなくてOK」ですが、
     過去に390px用の上書きを入れていた場合の“保険”として
     768pxの値を明示しておきます。 */

  .hero-media-row {
    max-width: 760px;
    gap: 14px;
    margin: 10px auto 18px;
  }

  .hero-bomb {
    font-size: 2.4rem;
    padding: 0.22em 0.7em;
  }

  .hero-title::after {
    background-size: 50%;
    background-position: 110% 5%;
  }
}
/* ===== 法務ページ（プライバシーポリシー等） ===== */
.legal-page{
  max-width: 1000px;
  margin: 0 auto;
  padding: 140px 20px 60px; /* ロゴfixed分、上を多めに */
}

.legal-title{
  font-size: 2rem;
  margin-bottom: 20px;
  color: #003A70;
  text-align: center;
  font-weight: 900;
}

.legal-section{
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  border: 1px solid rgba(74,144,226,0.18);
}

.legal-section h2{
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #4A90E2;
}

.legal-section p,
.legal-section li{
  color: #333;
  line-height: 1.9;
}

.legal-links{
  text-align: center;
  margin-top: 16px;
}

.legal-links a{
  color: #003A70;
  text-decoration: underline;
  font-weight: 700;
}

.legal-back{
  text-align: center;
  margin-top: 24px;
}