/* ========= 基本設定 ========= */
:root {
  --blue: #4ba8d9;
  --blue-light: #e9f7ff;
  --yellow: #ffe44a;
  --text-dark: #0d1c2e;
  --text-light: #ffffff;
  --grid-line: rgba(0,0,0,0.07);
  --radius: 14px;
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

body {
  font-family: var(--font);
  margin: 0;
  color: var(--text-dark);
  background: var(--blue-light);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* ========= ヘッダー ========= */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: #ffffff;
  border-bottom: 2px solid var(--blue);
}

.logo-text {
  font-size: 35px;
  font-weight: 800;
}

.contact-btn {
  background: #f15b4e;
  padding: 20px 22px;
  color: #fff;
  border-radius: 50px;
  font-weight: bold;
  font-size: 20px;
  text-decoration: none;
}






/* 見出し1行＋黄色アンダーライン（安全版） */
.hero-main{
  display:inline;                 /* インラインのまま */
  white-space:nowrap;             /* 1行固定 */
  font-size:72px;
  font-weight:900;
  letter-spacing:2px;
  color:#003D5C;
  line-height:1.15;
  /* 下12pxだけ黄色で塗る：背景で描くので消えない */
  background:linear-gradient(transparent calc(100% - 12px), #FFD700 0);
}


.hero {
  padding: 80px 0 120px; /* 上少なめ、下多めで自然に見える */
}

 .hero-inner{
  text-align:center;
  margin:0 auto;
  width:100%;
  max-width:1000px;
  padding:0 16px;
}


.hero-sub {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
}


.hero-title{
  display:block;
  text-align:center;
  margin:50px auto 20px;
  line-height:1.2;
  font-size:70px;
  font-weight:900;
  letter-spacing:2px;
  color:#003D5C;
}


.hero-text {
  font-size: 20px;
  line-height: 1.7;
  margin: 20px auto 40px;
  max-width: 750px;
}


.hero-btn-wrap {
  margin-top: 10px;
}

.hero-btn {
  background: #FF8B00;
  color: #fff;
  text-decoration: none;
  padding: 15px 25px;
  border-radius: 40px;
  font-size: 20px;
  display: inline-block;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  margin-top: 40px;
}

.hero-visual .illustration-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-visual img,
.hero-visual svg {
  width: 40%;
  max-width: 420px;
  transition: transform 0.3s ease;
}

.hero-visual img:hover,
.hero-visual svg:hover {
  transform: scale(1.05);
}

.hero-illust {
  position: absolute;
  right: -20px;
  bottom: -10px;
  width: 35%;
  max-width: 250px;
}









/* ホバー時の立体効果 */
.point:hover {
  transform: scale(1.07);
  box-shadow: 0 16px 30px rgba(0,0,0,0.35);
}

/* アイコン（※使っていない場合は無視されます） */
.point .icon {
  font-size: 60px !important;
  margin-bottom: 10px;
}




/* ========= 黄色丸の文字サイズを最優先で適用 ========= */
.point .text {
  font-size: 32px !important;
  font-weight: 900 !important;
  color: #0b2239 !important;
  text-align: center;
  line-height: 1.4;
  letter-spacing: 1px;
  margin: 0;
}



/* ========= セクションタイトル ========= */
.sec-title {
  text-align: center;
  font-size: 30px;
  font-weight: 900;
  margin-top: 90px;
}

.sec-title span {
  border-bottom: 8px solid var(--blue);
  padding: 0 8px;
}


.visual-block {
  text-align: center;
  margin: 60px auto;
}

.visual-block img {
  width: 80%;
  max-width: 900px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  margin-bottom: 20px;
}

.visual-block p {
  font-size: 1.2rem;
  font-weight: bold;
}

/* ========= カード ========= */
.card {
  background: #fff;
  border: 2px solid #e5f3fa;
  border-left: 8px solid #00AEEF;  /* 左に青アクセントライン */
  border-radius: 14px;
  padding: 30px 35px;
  margin: 30px auto;
  width: min(90%, 900px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

/* 見出し */
.card h3 {
  font-size: 1.8rem;
  font-weight: 900;
  color: #003D5C;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 本文 */
.card p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #333;
}

/* 強調テキスト */
.card p strong {
  color: #0078C2;
  font-weight: 700;
}

/* 特に目立たせたいキーワード */
.card p .highlight {
  color: #F18B00;
  font-weight: 900;
}

/* ======== セクションタイトル調整 ======== */
.sec-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 900;
  color: #003D5C;
  margin-top: 90px;
}

.sec-title span {
  border-bottom: 6px solid #00AEEF;
  padding-bottom: 6px;
}



/* ========= 写真レイアウト ========= */
.mockup {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.mockup img {
  width: 38%;
  border-radius: var(--radius);
  border: 3px solid var(--blue);
}

/* ========= CTAボタン ========= */
.cta-large {
  display: inline-block;
  margin-top: 18px;
  padding: 16px 28px;
  background: var(--blue);
  color: #fff;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  font-size: 20px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.18);
}

.photo-section {
  padding: 80px 0;
  text-align: center;
}

.photo-section .section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #003D5C;
  margin-bottom: 50px;
}

.photo-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.photo-item {
  width: 28%;
  min-width: 280px;
  text-align: center;
}

.photo-item img {
  width: 100%;
  height: 350px;               /* ← 高さを固定して統一 */
  object-fit: cover;           /* ← 枠に収まるようトリミング */
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  margin-bottom: 15px;
}

.photo-item p {
  font-size: 1.1rem;
  font-weight: bold;
}



/* ========= フッター ========= */
footer {
  text-align: center;
  padding: 30px;
  background: #fff;
  margin-top: 95px;
  border-top: 2px solid var(--blue);
  font-size: 14px;
}



/* ===================== */
/* ▼ CTA（問い合わせ）   */
/* ===================== */
.cta-block {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(to right, #e9e3de, #4ba8d9);
  color: #050505;
  margin-top: 80px;
  border-radius: 12px;
}

.cta-block h2 {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.cta-block p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  font-weight: 500;
}

.cta-btn {
  display: inline-block;
  padding: 18px 55px;
  background: #ffe44a;
  color: #000;
  font-weight: bold;
  font-size: 1.3rem;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);
}

/* ===================== */
/* ▼ 画面下に固定ボタン  */
/* ===================== */
.fixed-contact {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  z-index: 999;
}

.fixed-contact a {
  flex: 1;
  text-align: center;
  padding: 15px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

.btn-line {
  background: #06C755;
}

.btn-form {
  background: #FF8B00;
}

/* 重要語に色をつける */
.card strong {
  color: #FF8B00;
  font-weight: 800;
}
.card {
  background: #fff;
  padding: 35px;
  border-radius: 12px;
  border: 2px solid var(--blue);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin: 30px auto;
  width: min(92%, 900px);
}
.card ul li::before {
  content: "✓";
  color: var(--blue);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* ========= サービス説明・選ばれる理由・無料相談の強調デザイン ========= */
.card p strong,
.card li strong {
  font-size: 1.5em;             /* 通常より少し大きく */
  font-weight: 800;             /* 太字で目立たせる */
}

/* 青強調テキスト */
.card p .highlight-blue,
.card li .highlight-blue {
  color: #0077B6;
  font-weight: 900;
  font-size: 1.5em;
}

/* オレンジ強調テキスト */
.card p .highlight-orange,
.card li .highlight-orange {
  color: #FF8B00;
  font-weight: 900;
  font-size: 1.5em;
}

/* 段落のベースデザインを整える */
.card p {
  line-height: 1.8;
  font-size: 1.05em;
}
/* ========= 黄色丸（PCもスマホも崩れない完成版） ========= */
.point-wrap {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;                  /* 丸どうしの間隔 */
  max-width: 1100px;
  margin: -90px auto 90px;    /* 上をマイナス → 波に少しだけかぶせる */
  padding: 0 20px;
}






/* ========= 大見出し（スマホで折り返す） ========= */
.hero-main {
  white-space: normal !important;  /* ← nowrap を無効化 */
  font-size: 40px;
  line-height: 1.3; 
}


/* ▼ 黄色丸：横3つで揃える（スマホでも中央） */
.point-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  width: 100%;
  margin: 40px auto 80px;
  padding: 0;
}



/* ▼ 黄色丸グループ（エールデザイン完全再現） */
.point-wrap {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap;
  margin: -60px auto 40px;
  width: 100%;
}






/* 念のため全体の横スクロールを禁止 */
body {
  overflow-x: hidden;
}

/* ▼ 黄色丸の並び（横3つ固定） */
.point-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;          /* ← 適度に離す */
  flex-wrap: nowrap;  /* ← 縦に落ちないようにする */
  width: 100%;
  margin: -40px auto 50px;  /* ← 波とのバランス */
  overflow-x: hidden;
}





/* ============================= */
/*   スマホ横スクロール完全禁止   */
/* ============================= */
html, body {
  overflow-x: hidden;
  width: 100%;
}



/* ============================= */
/*   黄色丸を横並びに固定         */
/* ============================= */
.point-wrap {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;  /* ← これで縦並びを防止 */
  margin-top: 0; /* 波からの距離を調整 */
  padding-bottom: 30px;
}



/* point 自体の丸をきれいにする */
.point {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff066, #ffd43b);
  border: 6px solid #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 900;
  font-size: 38px;
  text-align: center;
}



.hero-new {
  background: #3AA6BF;
  color: #fff;
  text-align: center;
  padding: 100px  0; 
  position: relative;
  overflow: hidden; /* ← 超重要、横はみ出し防止 */
}

.hero-new {
  background: #3AA6BF;
  padding-bottom: 0;  /* ←ここ重要 */
  overflow: hidden;   /* ←横スクロール禁止 & 波の余白切り */
}
.point-wrap {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: -300px;     /* ←固定値を大幅に小さく */
  margin-bottom: 20px;
  position: relative;
  z-index: 3;
}
/* ====== 波ライン（完全版） ====== */
.wave {
  width: 100%;
  display: block;
  margin: 0;
  padding: 0;
  height: auto;
}

.wave path {
  width: 100%;
}

/* スマホで横スクロールを防ぐ */
svg.wave {
  width: 100%;
  height: auto;
  overflow: hidden;
}


/* 固定フッターの重なり調整（全デバイス OK） */
.fixed-contact {
  z-index: 100;
}

/* === スマホ専用CSS（max-width:768px）=== */
@media (max-width: 768px) {

  /* ▼ HERO 見出し（折り返し防止 & 字間調整） */
  .hero-title {
    font-size: 30px !important;
    line-height: 1.5 !important;
    text-align: center;
    word-break: keep-all; /* ← 変な所で折り返させない */
    white-space: normal;
    padding: 0 12px;
  }

  /* ▼ 波のズレ完全修正（左右隙間ゼロ） */
  .wave,
  .wave svg {
    width: 100vw !important;  /* ← 100%ではなく100vw */
    max-width: 100vw !important;
    margin: 0;
    padding: 0;
    display: block;
    transform: translateX(-1px); /* ← iPhoneの小数点ズレ補正 */
  }

 

  /* ▼ 黄色丸（スマホは縦1列） */
  .point-wrap {
    flex-direction: column;
    align-items: center;
    gap: 15px !important;
    margin-top: -40px;
    margin-bottom: -30%;
  }

  .point {
    width: 250px !important;
    height: 60px !important;
    font-size: 20px !important;
    
  }

  /* ▼ ここが一番重要：カードが画面から飛び出す原因 */
  .card {
    width: 92% !important;        /* ← はみ出し防止 */
    margin: 20px auto !important; /* 中央寄せ */
    padding: 18px !important;
    box-sizing: border-box;
  }

  /* カード内のテキストの折り返し */
  .card p,
  .card li,
  .card span {
    word-break: break-word;
    white-space: normal;
  }
}


/* 共通の丸設定 */
.point {
  aspect-ratio: 1/1;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

/* スマホで hero-sub / hero-text が画面外に出る問題を修正 */
@media (max-width: 768px) {

  .hero-sub,
  .hero-text {
    max-width: 100%;
    width: 100%;
    padding: 0 16px;     /* ← 左右に安全領域を作る */
    box-sizing: border-box;
    white-space: normal; /* ← 改行を許可 */
    word-break: break-word; /* ← 長い単語も折り返す */
    text-align: center;  /* ← 中央揃えで崩れない */
  }



@media (max-width: 768px) {

  /* ヒーロー背景の左右余白リセット */
  .hero-new {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    box-sizing: border-box;
  }


  /* hero-title の改行バランス調整 */
  .hero-title {
    font-size: 30px !important;
    line-height: 1.3;
  }

  .hero-main {
    font-size: 15px !important;
    display: block;
    margin-bottom: -20px;
  }
}.logo-text {
  font-size: 15px;
  font-weight: 800;
}
.contact-btn {
  background: #f15b4e;
  padding: 12px 12px;
  color: #fff;
  border-radius: 50px;
  font-weight: bold;
  font-size: 12px;
  text-decoration: none;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10px;
  background: #ffffff;
  border-bottom: 2px solid var(--blue);
}

@media (max-width: 768px) {

  html, body {
    padding: 0 !important;
    margin: 0 !important;
    overflow-x: hidden !important;
    width: 100% !important;
  }

  .hero-new, 
  .hero-inner,
  .hero-title,
  .hero-sub,
  .hero-text {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 12px !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  /* 黄色ラインを中央に強制補正 */
  .hero-title span,
  .hero-main {
    display: inline-block !important;
    width: auto !important;
    text-align: center !important;
    margin: 0 auto !important;
  }

  /* 下線のずれ防止（yellow underline fix） */
  .hero-title span::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  /* 画像の横はみ出しを100%に強制 */
  img {
    max-width: 100% !important;
    height: auto !important;
  }

}.hero-text {
  font-size: 10px;
  line-height: 1.7;
  margin: 20px auto 40px;
  max-width: 750px;
}
