/* -------------------------------------------------- */
/* File: form_style.css                                */
/* BLUE SKY SOLAR O&Mページ元サイト忠実版CSS         */
/* Googleフォームは無視して干渉なし                 */
/* -------------------------------------------------- */

:root {
  --accent: #0072bc;
  --dark: #1a1a1a;
  --muted: #666666;
  --bg: #f5f7fa;
  --card-bg: #ffffff;
  --maxw: 1140px;
  --radius: 12px;
  --shadow: 0 10px 25px rgba(0,0,0,0.08);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--dark);
  background: var(--bg);
  line-height: 1.8;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 36px 24px;
}

.header-inner {
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 1px;
}

.logo-img {
  width: 80px;          /* 画像サイズ調整 */
  height: auto;         /* アスペクト比を維持 */
  margin-right: 8px;    /* 文字との間隔 */
}

.main-nav {
  display: block;
  text-align: right; /* 右寄せ */
}

.main-nav a {
  margin-left: 18px;
  text-decoration: none;
  color: var(--muted);
  font-size: 15px;
  transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
  font-weight: 600;
}

.breadcrumb {
  font-size: 14px;
  color: var(--muted);
  margin: 16px 0;
}

.hero {
  background: var(--card-bg);
  margin: 0 auto;
  padding: 40px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: 34px;
  margin-bottom: 12px;
  font-weight: 700;
}

.hero .lead {
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 10px;
  font-weight: 500;
}

.intro {
  margin: 28px 0;
  padding: 28px;
  background: var(--card-bg);
  border-radius: var(--radius);
  font-size: 16px;
  line-height: 1.9;
  box-shadow: var(--shadow);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin: 28px 0;
}

.card {
  background: var(--card-bg);
  padding: 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 20px;
  margin-top: 18px;
  margin-bottom: 18px;
  font-weight: 600;
}

.card-item {
  padding: 14px 0;
  border-top: 1px solid #eaeaea;
}

.card-item:first-of-type { border-top: 0; }

.card-item h4 {
  font-size: 16px;
  color: var(--accent);
  margin-bottom: 6px;
}

.stats {
  background: var(--card-bg);
  padding: 28px;
  border-radius: var(--radius);
  margin-bottom: 36px;
  box-shadow: var(--shadow);
}

.regions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 18px 0;
}

.region {
  background: #e6f2ff;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.region strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.summary {
  display: flex;
  gap: 22px;
  margin: 18px 0;
}

.summary div {
  flex: 1;
  background: #f9f9f9;
  padding: 18px;
  border-radius: 8px;
  text-align: center;
}

.summary .big {
  display: block;
  font-size: 22px;
  font-weight: 700;
  margin-top: 8px;
}

.office-list {
  background: var(--card-bg);
  padding: 18px;
  border-radius: var(--radius);
  margin-top: 18px;
  box-shadow: var(--shadow);
}

.office-list li {
  margin-bottom: 6px;
  font-size: 15px;
}

.as-of {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}

.site-footer {
  background: var(--card-bg);
  padding: 28px;
  margin-top: 36px;
  border-top: 1px solid #ddd;
  box-shadow: var(--shadow);
}

.footer-inner {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.brand {
  font-weight: 700;
  font-size: 18px;
}

.contact {
  font-size: 14px;
  margin-top: 8px;
}

/* ----- 表用共通スタイル ----- */
.table-jobs {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
  background: #ffffff;
}

.table-jobs caption {
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  margin-bottom: 12px;
}

.table-jobs thead th {
  padding: 12px 16px;
  background: #f3f6fb;
  color: #1a1a1a;
  font-weight: 700;
  text-align: left;
  border: 1px solid #e6e6e6;
}

.table-jobs tbody td {
  padding: 12px 16px;
  border: 1px solid #e6e6e6;
  color: #333333;
}

.table-jobs tbody tr:nth-child(odd) {
  background: #fbfdff;
}


.table-jobs tbody th {
  /* 行ヘッダがある場合 */
  padding: 12px 16px;
  background: #f9fbff;
  color: #0b6b9a;
  font-weight: 600;
  border: 1px solid #e6e6e6;
}

.table-jobs tfoot td {
  padding: 10px 16px;
  font-weight: 600;
  background: #f9f9f9;
  border: 1px solid #e6e6e6;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .table-jobs thead {
    display: none;
  }
  .table-jobs,
  .table-jobs tbody,
  .table-jobs tr,
  .table-jobs td {
    display: block;
    width: 100%;
  }
  .table-jobs tr {
    margin-bottom: 16px;
  }
  .table-jobs td {
    text-align: right;
    padding-left: 50%;
    position: relative;
  }
  .table-jobs td::before {
    content: attr(data-label);
    position: absolute;
    left: 16px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: 600;
    color: #0b6b9a;
  }
}

/* レスポンシブ */
@media(max-width: 960px) {
  .grid { grid-template-columns: 1fr; }
  .regions { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

.form-wrapper {
  width: 100%;
  max-width: 640px; /* フォーム元の最大幅に合わせる */
  margin: 0 auto;   /* 中央寄せ */
}

.form-wrapper iframe {
  width: 100%;       /* スマホでも横幅に合わせる */
  height: 4200px;    /* 高さは元のフォームに合わせる */
  border: none;      /* 枠線消す場合 */
}

.form-section {
  background: #fff;
  padding: 24px; /* スマホ用に少し小さめにする */
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(20,30,40,0.05);
  margin: 16px auto; /* 上下マージン＋中央寄せ */
  width: 575px;       /* ← PCでの固定幅 */
  max-width: 575px;
  margin: 0 auto;     /* 中央寄せ */
  box-sizing: border-box;
}

  
.apply-button {
  display: block;
  margin: 0 auto;
  padding: 14px 28px;
  background-color: #ffffff;
  color: #1e73be;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  border: 2px solid #1e73be;
  border-radius: 6px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ホバー時（PC） */
.apply-button:hover {
  background-color: #1e73be;
  color: #ffffff;
}

/* スマホでも押しやすく */
@media (max-width: 768px) {
  .apply-button {
    width: 100%;
    font-size: 16px;
  }
}


/* Googleフォーム用ラッパー */
.form-wrapper {
  width: 100%;
  max-width: 640px; /* 埋め込み元フォームの最大幅 */
  margin: 0 auto;   /* 中央寄せ */
}

.form-wrapper iframe {
  width: 100%;
  height: 4000px; /* フォームの高さに合わせる */
  border: none;
}

/* レスポンシブ調整 */
@media (max-width: 480px) {
  .form-wrapper iframe {
    height: 6500px; /* 必要に応じて高さ調整 */
  }
  .form-section {
    padding: 16px; /* さらにスマホ小画面では内側余白を縮小 */
    
  }
}