/* ========================
   基本設定（共通）
========================= */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f2f2f2;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

section:not(#message) {
  margin: 60px auto;
  max-width: 960px;
  width: 90%;
  box-sizing: border-box;
}

/* ========================
   ヘッダー全体
========================= */
header {
  background-color: rgba(58, 115, 58, 0.9);
  padding: 20px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  /* max-width: 1200px; ← 削除またはコメントアウト */
  /* margin: 0 auto; ← 削除またはコメントアウト */
  width: 100%;
  padding: 0 20px; /* 必要に応じて左右にやや余白をつける場合 */
  box-sizing: border-box;
}

/* 左側：ロゴ */
.header-left .logo {
  width: 300px;
  height: auto;
}

/* 右側：上下2段 */
.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  min-width: 300px;
  flex: 1;
}

/* ========================
   上段：電話番号・Instagram
========================= */
.header-contact {
  font-size: 25px;
  color: white;
  margin-bottom: 35px;
  text-align: right;
}

.header-contact a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.header-contact a:hover {
  text-decoration: underline;
}

.instagram-icon {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 5px;
}

/* ========================
   下段：ナビゲーションリンク
========================= */
.header-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.header-nav li a {
  color: white;
  font-size: 20px;
  text-decoration: none;
}

.header-nav li a:hover {
  text-decoration: underline;
}

/* ========================
   スライドショー（トップページ）
========================= */
.slideshow-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  background-color: #f0f0f0;
}

.slide {
  display: none;
  width: 100%;
  text-align: center;
}

.slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.fade {
  animation-name: fade;
  animation-duration: 1s;
}

@keyframes fade {
  from { opacity: 0.4; }
  to   { opacity: 1; }
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: white;
  font-weight: bold;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  user-select: none;
  z-index: 2;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

.prev { left: 10px; }
.next { right: 10px; }

/* ========================
   施工レポート目次（トップ）
========================= */
.report-index {
  background-color: white;
  border: 2px solid #81c784;
  border-radius: 8px;
  padding: 30px 40px;
  box-shadow: 0 2px 8px rgba(48, 75, 48, 0.9);
}

.report-index-container {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.report-index-title {
  min-width: 160px;
  font-size: 24px;
  color: #2e7d32;
  margin: 0;
  text-align: left;
  border-left: 5px solid #81c784;
  padding-left: 15px;
}

.report-index-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  flex: 1;
}

.report-index-list li {
  margin-bottom: 12px;
}

.report-index-list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 16px;
  color: #333;
  font-weight: 500;
  line-height: 1.6;
}

.report-index-list a:hover {
  text-decoration: underline;
  color: #2e7d32;
}

.report-date {
  flex-shrink: 0;
  width: 110px;
  font-family: monospace;
  color: #555;
}

.report-title {
  flex: 1;
}

/* ========================
   メッセージ帯（会社概要）
========================= */
#message {
  width: 100vw;
  margin: 0 calc(-50vw + 50%);
  background-color: #59ae60;
  text-align: center;
  padding: 20px 20px;
  font-size: 19px;
  line-height: 1.7;
  box-sizing: border-box;
  color: white;
}

#message p {
  margin: 0 auto;
  max-width: 900px;
}

/* ===== アクセス・SNSセクション ===== */
#access, #sns {
  text-align: center;
  margin: 60px auto;
  max-width: 960px;
  width: 90%;
}

#access h2, #sns h2 {
  font-size: 24px;
  color: #2e7d32;
  margin-bottom: 16px;
}

#access p, #sns p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #333;
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: bold;
  color: #2e7d32;
  text-decoration: none;
}

.instagram-link:hover {
  text-decoration: underline;
}

.instagram-icon {
  height: 32px;
  width: auto;
  vertical-align: middle;
}

/* ========================
   ビジュアル画像（会社概要）
========================= */
.about-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ========================
   会社情報セクション
========================= */
#info h2 {
  background-color: #767776;
  color: #f8fff8;
  padding: 16px 24px;
  border-left: 15px solid #a6e8a9;
  font-size: 22px;
  border-radius: 6px;
  margin: 40px 0 20px 0;
  width: 100%;
  text-align: left;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  box-sizing: border-box;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

th, td {
  border: 1px solid #ccc;
  padding: 12px 16px;
  text-align: left;
}

th {
  background-color: #f0f0f0;
  color: #2e7d32;
}

/* ========================
   フローチャート画像（ご依頼の流れ）
========================= */
.flow-chart h2 {
  color: #2e7d32;
  text-align: center;
  margin-bottom: 20px;
}

.flow-chart img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

/* ========================
   ご依頼フォーム
========================= */
.job-request {
  background-color: white;
  border: 2px solid #81c784;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.job-request h2 {
  color: #2e7d32;
  margin-top: 0;
  margin-bottom: 20px;
}

.request-form label {
  display: block;
  margin-bottom: 15px;
  font-size: 16px;
}

.request-form input[type="text"],
.request-form textarea {
  width: 100%;
  padding: 8px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.request-form fieldset {
  border: none;
  margin-bottom: 15px;
  padding: 0;
}

.request-form legend {
  font-weight: bold;
  margin-bottom: 8px;
}

.request-form button {
  background-color: rgb(224, 131, 60);
  color: white;
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.request-form button:hover {
  background-color: rgb(204, 111, 40);
}

/* ========================
   採用フォーム（recruit-form）
========================= */
.recruit-form {
  background-color: white;
  border: 2px solid #81c784;
  border-radius: 8px;
  padding: 40px;
  margin-bottom: 60px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  max-width: 960px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.recruit-form h2 {
  color: #2e7d32;
  margin-top: 0;
  margin-bottom: 20px;
}

.recruit-form select {
  width: 100%;
  padding: 8px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* ========================
   施工レポート内容
========================= */


#report-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 40px 20px;
  box-sizing: border-box;
}

.report {
  background-color: #fff;
  border: 2px solid #c8e6c9;
  border-radius: 10px;
  padding: 24px;
  max-width: 800px;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease;
}

.report:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.report h3 {
  margin-top: 0;
  color: #2e7d32;
  font-size: 20px;
  border-bottom: 1px solid #c8e6c9;
  padding-bottom: 8px;
}

.report p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

.report img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 20px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.section-band {
  padding: 60px 0;           /* 上下の帯の高さ */
  width: 100%;
  box-sizing: border-box;
}

.section-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

#latest-reports h2 {
  font-size: 22px;
  color: #f8fff8;              /* 会社情報と同じ文字色 */
  background-color: #767776;   /* 濃い緑の帯背景 */
  padding: 12px 24px;
  border-left: 15px solid #a6e8a9;
  margin: 40px 0 20px 0;
  width: 100%;
  text-align: center;
  display: inline-block;
  text-align: left;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  box-sizing: border-box;
}

/* ========================
  採用情報ページ（recruit-pege）
  ========================= */
#latest-recruit h2 {
  font-size: 22px;
  color: #f8fff8;              /* 施工レポートと同じ文字色 */
  background-color: #767776;   /* 深緑の帯背景 */
  padding: 12px 24px;
  border-left: 15px solid #a6e8a9;
  margin: 40px 0 20px 0;
  width: 100%;
  border-radius: 6px;
  text-align: left;
  display: inline-block;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  box-sizing: border-box;
}

.apply-box {
  margin-top: 30px;
  text-align: center;
}

.apply-box a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  background-color: rgb(224, 131, 60);
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease;
}

.apply-box a:hover {
  background-color: rgb(204, 111, 40);
}

.apply-icon {
  width: 24px;
  height: 24px;
}

/* ========================
   お問合せページ
========================= */
.contact-form {
  background-color: white;
  border: 2px solid #81c784;
  border-radius: 8px;
  padding: 40px;
  margin-top: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.contact-form label {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 8px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.contact-form button {
  background-color: rgb(224, 131, 60);
  color: white;
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: rgb(204, 111, 40);
}

.contact-section h2 {
  font-size: 22px;
  color: #f8fff8;
  background-color: #767776;
  padding: 12px 24px;
  border-left: 15px solid #a6e8a9;
  border-radius: 6px;
  margin: 40px 0 20px 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
}

.contact-form {
  background-color: white;
  border: 2px solid #81c784;
  border-radius: 8px;
  padding: 40px;
  margin-top: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* ========================
   共通フォームボタン
========================= */
.form-button,
.request-form button {
  background-color: rgb(224, 131, 60);
  color: white;
  padding: 12px 24px;
}

/* ========================
   フッター
========================= */
.site-footer {
  background: linear-gradient(to right, #333, #2e7d32, #00bfa5); /* ダークグレー → 深緑 → 青緑 */
  color: white;
  padding: 30px 0;
  text-align: center;
}

.footer-inner {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
  box-sizing: border-box;
}

.footer-info {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.scroll-top {
  margin-top: 15px;
  background-color: #444;
  color: white;
  padding: 8px 16px;
  font-size: 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.scroll-top:hover {
  background-color: #333;
}