@charset "UTF-8";

/* --- 変数定義 --- */
:root {
  --main-yellow: #fef6a6; 
  --accent-yellow: #f5d428; 
  --text-main: #333333;
  --accent-green: #258a69; 
  --form-orange: #e86e34; 
  --bg-gray: #f8f8f8; 
}

/* --- リセットCSS --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: var(--text-main);
  background-color: #ffffff;
  line-height: 1.8;
  overflow-x: hidden;
  font-size: 15px;
}

a { text-decoration: none; color: inherit; }
li { list-style: none; }
img { max-width: 100%; height: auto; }

/* --- コンテナ --- */
.container {
  max-width: 1080px; 
  margin: 0 auto;
  padding: 0 40px; 
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 50px;
}

/* --- ヘッダー --- */
header {
  background-color: #FFF8D2;
  padding: 15px 40px;
  display: flex;
  justify-content: flex-end; 
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* --- ヘッダーロゴの調整（追加） --- */
.header-logo img {
  height: 25px; /* ロゴの高さ。sub_logoの見え方に合わせて調整してください */
  width: auto;
  display: block;
}

/* ヘッダーの中身を左右に分ける設定（既存のheaderにあれば上書き） */
header {
  display: flex;
  justify-content: space-between; /* これでロゴが左、ナビが右になります */
  align-items: center;
  padding: 15px 40px;
  background-color: #FFF8D2;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-links {
  display: flex;
  gap: 25px;
  align-items: center;
  font-size: 14px;
  font-weight: bold;
}

.btn-header {
  background-color: var(--accent-green);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
}

/* --- ヒーローセクションのデザイン修正 --- */
.hero-wrapper {
  background-color: #fff8d2; /* ★ここを修正しました */
  position: relative;
  overflow: hidden;
  padding: 60px 0 120px;
}

/* 下部の斜めカットのデザイン（背景色とのコントラストを保つため維持） */
.hero-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background-color: #ffffff; /* ここは白のままで斜めの切り返しを作ります */
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

/* --- ヒーロー全体のレイアウト --- */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: stretch; /* 左右の高さを強制的に一致させる */
  gap: 4%;
  width: 100%;
}

/* 左側：ロゴと画像の箱 */
.hero-left {
  flex: 0 0 58%; 
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* ロゴを上、画像を下に配置 */
  align-items: flex-start;
}

/* 右側：LINE登録エリア（高さの基準） */
.hero-right {
  flex: 0 0 38%;
  display: flex;
  flex-direction: column;
  justify-content: center; /* 画像を中央付近に配置 */
}

/* --- ロゴとメイン画像の設定（前回比率を維持） --- */
.hero-logo {
  width: 75%; 
}
.hero-logo img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-main-visual {
  width: 100%;
  margin-top: 20px;
}
.hero-main-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- LINE画像のスタイル --- */
.line-btn {
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
  text-decoration: none;
}

/* マウスを乗せた時に少し大きくして「ボタン」であることを強調 */
.line-btn:hover {
  transform: scale(1.02);
  opacity: 0.9;
}

.line-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px; /* 画像の角を少し丸くして柔らかい印象に */
  box-shadow: 0 10px 25px rgba(0,0,0,0.1); /* 影をつけて押しやすく */
}

.line-guide {
  margin-top: 15px;
  font-size: 14px;
  font-weight: bold;
  color: #06C755; /* LINE公式カラー */
  text-align: center;
}

/* 背景色設定 */
.hero-wrapper {
  background-color: #fff8d2;
  padding: 80px 0 140px;
}

/* --- フォーム内の文字サイズ（1行維持） --- */
.form-header-text {
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

/* 背景色 */
.hero-wrapper {
  background-color: #fff8d2;
  padding: 80px 0 140px; /* 上下の余白を少し広げて、整列を際立たせます */
}

/* --- コンテンツエリアの視認性向上 --- */
.about-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.about-box {
  border: 2px solid #f5d428;
  padding: 50px 30px;
  text-align: center;
  max-width: 1000px; /* 1行が長くなりすぎないよう調整 */
  margin: 0 auto;
}

.about-box h2 {
  color: #258a69;
  font-size: 28px;
  margin-bottom: 30px;
}

.about-box p {
  font-size: 15px;
  font-weight: bold;
  line-height: 2.2; /* 行間を広げて読みやすく */
  letter-spacing: 0.02em;
  word-break: keep-all; /* 単語の途中で改行させない（日本語の視認性向上） */
}

/* --- フォームスタイル --- */
.form-card {
  background-color: #fcfcf5;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  border: 5px solid #e1dbb5;
}
/* --- フォーム内の文字サイズ調整（1行に収める） --- */
.form-header {
  background-color: var(--form-orange);
  color: #fff;
  text-align: center;
  padding: 20px 10px;
}

.form-header-text {
  font-size: 14px; /* 1行に収まるサイズに微調整 */
  font-weight: bold;
  white-space: nowrap; /* ★絶対改行させない指定 */
  letter-spacing: -0.02em; /* 文字間を詰めて視認性を確保 */
}

.form-header-sub {
  margin-top: 5px;
  font-weight: bold;
}

.form-header-sub span {
  font-size: 24px;
}
.form-header span { font-size: 26px; display: inline-block; margin-top: 5px; }
.form-body { padding: 40px; }
.form-group { margin-bottom: 25px; }
.form-group label { display: block; margin-bottom: 10px; font-weight: bold; }
.form-group input, .form-group select {
  width: 100%; padding: 15px; border: 1px solid #ccc; border-radius: 5px; background-color: #f8f8f8;
}
.select-group { display: flex; gap: 10px; align-items: center; }
.btn-submit {
  width: 100%; background-color: var(--accent-green); color: #ffffff; padding: 18px; border: none; border-radius: 5px; font-size: 18px; font-weight: bold; cursor: pointer; margin-top: 15px;
}

/* --- 各セクション調整 --- */
.about-box { border: 2px solid var(--accent-yellow); padding: 60px 20px; text-align: center; max-width: 900px; margin: 0 auto; }
.about-box p { font-size: 14px; font-weight: bold; line-height: 2.2; letter-spacing: -0.5px;}

.concern-section { background-color: var(--bg-gray); padding: 80px 0; }
.concern-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.concern-item {
  background-color: #ffffff; border: 2px solid var(--accent-yellow); padding: 15px 10px; display: flex; align-items: center; gap: 8px; font-weight: bold; font-size: 12px; line-height: 1.5; letter-spacing: -0.5px;
}
.concern-item-icon {
  display: flex; justify-content: center; align-items: center; min-width: 24px; height: 24px; background-color: var(--accent-yellow); color: #fff; border-radius: 50%;
}

.features-section { padding: 100px 0; position: relative; }
.feature-row { display: flex; align-items: center; justify-content: space-between; gap: 60px; margin-bottom: 100px; }
.feature-row:nth-child(even) { flex-direction: row-reverse; }
.feature-text { width: 55%; }
.feature-img { width: 40%; }
.feature-text p { font-size: 13px; line-height: 2; letter-spacing: -0.5px;}
.feature-icon-emoji {
  font-size: 35px; /* アイコンの大きさ */
  margin-right: 15px;
  line-height: 1;
  display: flex;
  align-items: center;
}

.feature-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

/* --- 「ミセツクに全てお任せください！」の装飾 --- */
.features-header {
  text-align: center;    /* ★全体を中央揃えにする */
  margin-bottom: 80px;   /* ★「ミセツク3つの特徴」のタイトルの下の余白を広げる */
}

.features-header-sub {
  font-size: 32px;       /* 大きく */
  color: #e60012;        /* 赤字 */
  font-weight: bold;     /* 太字 */
  text-align: center;    /* 中央揃え */
  display: block;        /* 一行として扱う */
  
  margin-top: 60px;      /* 上のグリッドとの間隔をしっかり空ける */
  margin-bottom: 20px;   /* セクション下部との微調整 */
  line-height: 1.4;
  letter-spacing: 0.05em;
}

/* --- セクション全体の終わりの余白を広げる --- */
.features-section {
  padding-top: 100px;
  padding-bottom: 160px; /* ★セクション一番下の余白をさらに広く */
  background-color: #ffffff;
}

.strength-section { background-color: var(--bg-gray); padding: 100px 0; }
.strength-row { display: flex; align-items: flex-start; gap: 60px; margin-bottom: 80px; }
.strength-text { width: 55%; }
.strength-num span { font-size: 70px; color: var(--accent-yellow); line-height: 1; }
.strength-text h3 { font-size: 22px; margin-bottom: 30px; line-height: 1.6; }
.strength-text p { font-size: 13px; line-height: 2; letter-spacing: -0.5px;}
.strength-img { width: 45%; background-color: #fff; padding: 30px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }

.service-area { padding: 100px 0; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.service-item { border: 1px solid var(--accent-yellow); padding: 40px 10px; text-align: center; }
.service-item p { font-weight: bold; font-size: 15px; letter-spacing: -0.5px; }
.service-icon { 
  font-size: 50px; /* 絵文字（アイコン）の大きさ */
  margin-bottom: 15px; 
  line-height: 1;
}

.voice-box { max-width: 800px; margin: 0 auto; text-align: center; }
.voice-name span { font-size: 28px; }
/* --- 修正後：お客様の声のテキスト --- */
.voice-text {
  text-align: center;      /* ★左寄せから中央揃えに変更 */
  font-size: 14px;         /* 視認性を上げるため少しだけ大きくしました */
  line-height: 2.4;         /* 行間をさらにゆったりさせて高級感を出します */
  letter-spacing: 0.02em;   /* 文字間を調整して読みやすく */
  
  /* 余白の調整 */
  margin-top: 20px; 
  margin-bottom: 20px;     /* ★ご要望通り、下の余白をしっかり確保 */
  
  /* ★ここがポイント：文章が横に広がりすぎないようにし、中央に寄せます */
  max-width: 750px;        /* 画像の幅に合わせて調整 */
  margin-left: auto;       /* 左右中央に配置するためのまじない */
  margin-right: auto;      /* 左右中央に配置するためのまじない */
}

/* ミッション画像スタイル（位置変更に合わせて調整） */
.mission-image-wrapper { margin-top: 80px; text-align: center; position: relative; z-index: 2;}
.mission-image-wrapper img { max-width: 100%; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }

.vision-section { padding: 0 0 100px; position: relative;}
.vision-box { background-color: #fefdf5; border: 2px solid var(--accent-yellow); padding: 60px; text-align: center; max-width: 860px; margin: 0 auto; position: relative; z-index: 2; }
.vision-box p { font-size: 14px; font-weight: bold; line-height: 2.4; letter-spacing: -0.5px; }
.vision-bg { background-color: var(--bg-gray); padding: 120px 0 80px; margin-top: -100px; }

/* フッター（修正完了） */
footer { background-color: var(--main-yellow); text-align: center; padding: 60px 20px; }
.footer-links {
  display: flex;
  justify-content: center; 
  gap: 40px;
  margin-bottom: 30px;
  font-size: 15px;
  font-weight: bold;
}
/* --- ページ最下部のLINEセクション --- */
.footer-line-section {
  padding: 100px 0;
  background-color: #fff8d2; /* ヒーローと同じ背景色にして統一感を出します */
  text-align: center;
}

.footer-line-wrapper {
  max-width: 500px; /* 下に置く画像は大きすぎないよう調整 */
  margin: 0 auto;
}

/* スムーズスクロールを有効にする（ボタンを押した時にスルッと動くようになります） */
html {
  scroll-behavior: smooth;
}

/* ヘッダーボタンの調整（念のため） */
.btn-header {
  display: inline-block;
  cursor: pointer;
}
/* --- プライバシーポリシーページ専用のスタイル --- */

/* 1. 文章全体の塊を中央に配置する */
.policy-container {
  max-width: 900px;      /* 横幅が広がりすぎないように制限 */
  margin: 60px auto 100px; /* 左右の余白を「auto」にすることで画面の中央に配置 */
  padding: 0 40px;       /* スマホで見た時に画面端に文字がくっつかないようにする隙間 */
}

/* 2. 「プライバシーポリシー」のタイトルだけを中央揃えで大きくする */
.policy-container h1 {
  text-align: center;    /* 文字を中央揃え */
  font-size: 32px;       /* 文字サイズを大きく */
  font-weight: bold;     /* 太字 */
  margin-bottom: 60px;   /* タイトルと下の文章との間の余白 */
}

/* 3. 各項目の見出し（個人情報とは、など）の余白調整 */
.policy-container h2 {
  font-size: 20px;
  margin-top: 50px;      /* 上の段落との間隔をしっかり空ける */
  margin-bottom: 20px;   /* 見出しと下の文章との間隔 */
}

.policy-container h3 {
  font-size: 16px;
  margin-top: 30px;
  margin-bottom: 10px;
}
