@charset "utf-8";
/* CSS Document */
body { 
	font-family: sans-serif; 
	margin: 0; 
	padding: 0; 
	line-height: 1.6; 
	background: #fff; 
	color: #333; 
}

    header { 
		background: white; 
		border-bottom: 1px solid #ddd; 
		
		  position: sticky;
  top: 0;               /* ビューポートの最上部で止まる */
  z-index: 1000;        /* 他要素より前面に */
  background: #fff;     /* 透け防止 */
  box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* 任意の影 */
			}
    .header-container { max-width: 960px; margin: auto; display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; }
    .logo { display: flex; align-items: center; gap: 10px; }
    .logo span { font-size: 1.2em; font-weight: bold; color: #005bac; }

    nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
    nav a { text-decoration: none; color: #333; font-size: 0.9em; text-align: center; }
    nav a small { display: block; font-size: 0.7em; color: #888; }

    .menu-toggle { display: none; flex-direction: column; cursor: pointer; }
    .menu-toggle span { height: 3px; width: 25px; background: #333; margin: 4px 0; }

    @media (max-width: 768px) {
      nav ul { flex-direction: column; display: none; background: white; position: absolute; top: 60px; right: 20px; width: 200px; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
      nav ul.active { display: flex; }
      .menu-toggle { display: flex; }
    }

/* --- Hero 全体 --- */
.hero {
  position: relative;
  height: 380px;                  /* お好みで調整。vh 指定でも可 */
  background: url("../images/01Resilience_top_good.jpg") center / cover no-repeat;
  display: flex;                  /* 中央寄せ用 */
  justify-content: center;
  align-items: center;
  color: #000;                    /* テキスト色 */
}

/* --- 中央の白いボックス --- */
.hero-text {
  text-align: center;
  background: rgba(255, 255, 255, 0.65); /* 半透明白 */
  padding: 20px 40px;
  border-radius: 6px;
  max-width: 90%;                 /* スマホで横はみ出さないように */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.hero-text h2 {
  margin: 0;
  font-size: clamp(1.4rem, 4vw, 2rem);  /* 画面幅で自動調整 */
  line-height: 1.3;
  font-weight: 700;
}

.hero-text p {
  margin: 8px 0 0;
  font-size: clamp(0.9rem, 2.2vw, 1rem);
  font-weight: 600;
}

/* --- モバイルで高さを少し低めに --- */
@media (max-width: 600px) {
  .hero { height: 260px; }
}


    h2 { border-bottom: 2px solid #ccc; padding-bottom: 10px; }
    .benefits { display: flex; flex-wrap: wrap; gap: 20px; }
    .benefit-box { flex: 1 1 calc(50% - 20px); background: #e0f0ff; padding: 20px; border-radius: 8px; }
 /*   form { background: #eee; padding: 20px; border-radius: 8px; }*/
    form {  padding: 20px; border-radius: 8px; }

    input, textarea { width: 100%; margin-bottom: 10px; padding: 10px; }
    input[type="submit"] { background: #005bac; color: white; border: none; cursor: pointer; }
    @media (max-width: 600px) {
      .benefit-box { flex: 1 1 100%; }
    }

/* ===== カウンセラー紹介セクション ===== */
.counselor-section {
  max-width: 1100px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.counselor-section h2 {
  text-align: center;
  color: #005bac;          /* 見出しを青系に */
  font-size: 1.6rem;
  margin-bottom: 30px;
}

.counselor-content {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap;         /* スマホ時は折り返す */
}

.counselor-content img {
  flex: 0 0 280px;         /* 固定幅（画像サイズに合わせて調整可） */
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.counselor-text {
  flex: 1 1 300px;         /* 右側テキストは残り幅いっぱい */
  font-size: 0.95rem;
  line-height: 1.8;
}

/* --- スマホ向け調整 --- */
@media (max-width: 640px) {
  .counselor-content {
    flex-direction: column;
    gap: 20px;
  }
  .counselor-content img,
  .counselor-text {
    flex: 1 1 auto;
  }
  .counselor-text {
    font-size: 1rem;       /* 読みやすいよう少し大きく */
  }
}

/* ===== カウンセリング効果セクション ===== */
.benefit-section {
  /* 背景画像：03bluesky.jpg を cover で全面表示 */
  background: url("../images/03bluesky.jpg") center / cover no-repeat;
  color: #000;
  text-align: center;
  padding: 60px 20px;
  scroll-margin-top: 60px;
}

.benefit-section h2 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  letter-spacing: 0.05em;
}

.benefit-lead {
  font-weight: 700;
  margin-bottom: 45px;
  line-height: 1.5;
}

.benefit-grid {
  display: grid;
  gap: 40px 30px;                  /* 行・列のすき間 */
  grid-template-columns: repeat(2, 1fr);  /* 2列固定 */
  max-width: 700px;                /* 横幅を少し絞ると中央でバランス良し */
  margin: 0 auto;
}

.benefit-card {
  background: #fff;
  padding: 30px 25px;
  border: 2px solid #003b8e15; /* 薄い枠線 */
  border-radius: 4px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.benefit-num {
  display: block;
  font-size: 3rem;
  color: #f5a623;             /* オレンジ系数字 */
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1;
}

.benefit-card h3 {
  font-size: 1.1rem;
  margin: 0 0 12px;
  font-weight: 700;
}

.benefit-card p {
  font-size: 0.95rem;
  line-height: 1.8;
}

/* --- モバイルで余白を少し縮める --- */
@media (max-width: 500px) {
  .benefit-section { padding: 40px 15px; }
  .benefit-grid {
    grid-template-columns: 1fr;    /* 1列×4行 */
  }
}

/* ===== CTA ボタン ===== */
.benefit-cta {
  margin: 40px auto 0;
  text-align: center;
}

.btn-primary {
  display: inline-block;
  background: #005bac;          /* ネイビー */
  color: #fff;
  padding: 12px 40px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 3px;
  text-decoration: none;
  transition: opacity 0.25s;
}

.btn-primary:hover {
  opacity: 0.85;
}

/* モバイルでボタン幅を100%にしたい場合 */
@media (max-width: 500px) {
  .btn-primary {
    width: 100%;
    box-sizing: border-box;
  }
}
/* ===== 会社案内セクション ===== */
.company-section {
  max-width: 1100px;   /* 指定 */
  margin: 0 auto 80px;
  padding: 0 20px;
  font-size: 0.95rem;
  line-height: 1.8;
  scroll-margin-top: 60px;
}

/* --- 守秘義務注意書き --- */
.confidential-note {
  text-align: center;
  margin-bottom: 40px;
}
.confidential-note h2 {
  color: #cc6600;                 /* オレンジ強調 */
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 700;
}
.confidential-note p { margin: 0; }

/* --- 見出し共通 --- */
.company-title,
.info-title {
  text-align: center;
  margin: 60px 0 30px;
  font-size: 1.4rem;
  font-weight: 700;
}

/* --- 代表あいさつ ブロック --- */
.greeting-block {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;                /* スマホ時に縦並びへ */
}
.greeting-block img {
  flex: 0 0 280px;                /* 固定幅 */
  max-width: 100%;
  border-radius: 4px;
}
.greeting-text {
  flex: 1 1 300px;
}
.greeting-text h3 {
  font-size: 1.2rem;
  margin-top: 0;
}

/* --- 会社情報テーブル --- */
.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
.company-table th,
.company-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #ccc;
  text-align: left;
}
.company-table th {
  width: 140px;
  font-weight: 600;
}

/* --- スマホ調整 --- */
@media (max-width: 640px) {
  .greeting-block { gap: 25px; }
  .greeting-text { font-size: 1rem; }
}

/* --- H2のアンダーライン非表示用 --- */
.no-underline {
  border-bottom: none !important;   /* 下線（ボーダー）を消す */
}
/*  会社情報を幅調整 --- */
.company-table-wrap {
  max-width: 800px;     /* ★ 横幅を 700px に制限 */
  margin: 0 auto;       /* ★ センター寄せ */
}

/* ===== SNS セクション ===== */
.sns-section{
	  margin: 40px auto; 
}
.sns-section h2 {
  text-align: center;
  margin: 40px 0 15px;
  font-size: 1.2rem;
}

.sns-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;               /* アイコン間の余白 */
  list-style: none;
  margin: 0;
  padding: 0;
}

.sns-list img {
  width: 42px;             /* サイズは自由に変更可 */
  height: 42px;
  transition: opacity 0.25s ease;
}

.sns-list a:hover img {
  opacity: 0.75;           /* ホバーで少し薄くする演出 */
}

/* ===== お問い合わせ ===== */

/* 外側グレー帯 */
.contact-section {
	  max-width: 1100px;           /* ★ ここで横幅を制限 */
	  margin: 0 auto 80px;
  background: #e1e1e1;
  padding: 10px 20px;      /*   上   右左   */
  padding-bottom: 25px;    /* ★下にも同じ余白を確保 */
  scroll-margin-top: 60px;
}

.contact-section h2 {
  text-align: center;
  padding: 25px 0 15px;
  font-size: 1.2rem;
  font-weight: 700;
}

.contact-form {
  background: #fff;
  padding: 40px 25px ;   /* ← 下だけ 40px に戻す */
  position: relative;       /*    疑似要素を配置するために必要 */
}
/* もう擬似要素の線はいらないので削除 */
.contact-form::after { display: none; }
.form-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 25px;
}

.form-row label {
  width: 200px;                /* 左側ラベル幅 */
  font-size: 0.95rem;
}

.req { color: #c00; margin-left: 4px; }

.form-row input,
.form-row textarea {
  flex: 1 1 300px;             /* 右側入力は伸縮 */
  padding: 10px;
  border: 1px solid #333;
  font-size: 0.95rem;
  box-sizing: border-box;
}

.form-row textarea { resize: vertical; }

.form-margin{margin-top:20px;}

.form-submit { justify-content: center; }

.form-submit button {
  background: #014d9c;
  color: #fff;
  border: none;
  padding: 12px 100px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.25s;
  margin:10px;
}

.form-submit button:hover { opacity: 0.85; }

.confirm-wrapper {
  max-width: 900px;    /* お好みで */
  margin: 40px auto;   /* 上下40px・中央寄せ */
  padding: 0 40px 0 40px; /* 上右下左に余白 */
    background: #e1e1e1;   /* 外枠色は外の親要素が担当しているので不要 */
}


.confirm-content {
  background: #f7f7f7;
  padding: 24px;
  border-radius: 8px;
}

.confirm-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
}

.confirm-label {
  width: 100px;
  text-align: left;
  font-weight: bold;
  padding-right: 20px; /* ← ラベル右の余白（+10px増量済み） */
  flex-shrink: 0;
}

.confirm-value {
  flex: 1;
  word-break: break-all;
}

.confirm-buttons {
  margin-top: 50px;
  display: flex;
  gap: 16px;
}


/* --- スマホ調整 --- */
@media (max-width: 600px) {
  .form-row { flex-direction: column; align-items: stretch; }
  .form-row label { width: 100%; margin-bottom: 8px; }
  .form-submit button { width: 100%; padding: 12px 0; }
}

/* ===== フッター全体 ===== */
.site-footer {
  border-top: 1px solid #666;      /* 上に細線 */
  background: #fff;
  padding: 30px 20px 25px;         /* 上左右・下（下はコピーライト分） */
  font-size: 0.9rem;
  color: #000;
}

/* 中身の左右ロゴエリア */
.footer-inner {
  max-width: 1100px;
  margin: 0 auto 20px;             /* 下 20px はコピーライトとの間隔 */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 左側（ロゴ＋住所） */
.footer-left img { height: 45px; }
.footer-left p  { margin: 8px 0 0; font-size: 0.85rem; line-height: 1.5; }

/* 右側ロゴ */
.footer-right img { height: 60px; }

/* コピーライト中央 */
.site-footer .copyright { text-align: center; margin: 0; font-size: 0.85rem; }

/* --- スマホ縦並び調整 --- */
@media (max-width: 600px) {
  .footer-inner { flex-direction: column; gap: 20px; }
  .footer-left p { text-align: center; }
}

/* 上に戻るボタン */
#backToTop {
  position: fixed;
  right: 25px;              /* 画面右下に配置 */
  bottom: 25px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: #005bac;      /* 好みの色 */
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;               /* 初期は非表示 */
  pointer-events: none;     /* クリック不可に */
  transition: opacity .3s;
  z-index: 1000;            /* ほか要素より上に */
}

/* 表示状態 */
#backToTop.show {
  opacity: 0.9;
  pointer-events: auto;
}

#backToTop:hover { opacity: 1; }


/* ----- 下記をmain.cssの一番下に追記 or @media (max-width: 768px)の内容を書き換え ----- */

@media (max-width: 768px) {
  .header-container {
    justify-content: flex-start;
    position: relative;
  }
  .logo {
    flex-shrink: 0;
  }
  .menu-toggle {
    display: flex;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0;
    margin-right: 0;
    z-index: 1100;
  }
  nav ul {
    flex-direction: column;
    display: none;
    background: white;
    position: absolute;
    top: 60px;
    right: 20px;
    width: 200px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 14px 0;
  }
  nav ul.active {
    display: flex;
  }
  nav ul li {
    width: 100%;
    text-align: center;
    padding: 0;
    margin: 0;
  }
  nav ul li a {
    display: block;
    width: 100%;
    padding: 18px 0;
    font-size: 1.15em;
    font-weight: 600;
    color: #222;
    text-align: center;
    background: none;
    border: none;
    transition: background 0.15s, color 0.15s;
  }
  nav ul li a:active,
  nav ul li a:focus,
  nav ul li a:hover {
    background: #e6f1fb;
    color: #0d61a8;
  }
}

/* 1行入力フォームは常に1行、内容欄は大きな枠 */
.form-row input[type="text"],
.form-row input[type="email"] {
  height: 2.2em;
  min-height: 2.2em;
  max-height: 2.6em;
  line-height: 1.2;
  width: 100%;
}
.form-row textarea {
  resize: vertical;
  min-height: 6em;
  width: 100%;
}
