@charset "utf-8";
/* ======================================================
  共通レイアウト（ベース）
====================================================== */
body {
	background-image: url("../image/common/back.png");
	background-position: right;
	background-size: contain;
	background-repeat: repeat-y;
}
.section__content {
  margin-top: 40px;
}
.text {
  font-size: var(--font-s);
  line-height: 1.8;
  color: var(--text-main);
}
.flex {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.btn-area {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}
.list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.item {
  font-size: var(--font-s);
}
/* ======================================================
  Hero（ファーストビュー）
====================================================== */
.hero {
  position: relative;
  padding: 0;
  width: 100%;
  height: 100vh; /* PC時は画面全体 */
  display: flex;
  align-items: center;
  background-image: url("../image/index/hero.jpg"); /* 好きな画像に差し替え */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
}
/* 半透明の被せ */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, color-mix(in srgb, var(--main-6) 70%, transparent) 0%, color-mix(in srgb, var(--main-color) 45%, transparent) 40%, color-mix(in srgb, var(--base-6) 20%, transparent) 100%);
  opacity: 0.85;
}
/* 中身 */
.hero-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  white-space: nowrap;
}
/* ラベル */
.hero-label {
  font-size: var(--font-xs);
  text-shadow: var(--text-shadow-9);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--accent-5);
}
/* タイトル */
.hero-title {
  font-size: var(--font-xl);
  text-shadow: var(--text-shadow-9);
  line-height: 1.5;
  margin: 0 0 24px;
  color: var(--white);
}
/* 説明文 */
.hero-text {
  font-size: var(--font-s);
  line-height: 1.9;
  margin: 0 0 32px;
  color: var(--gray-0);
  text-shadow: var(--text-shadow-9);
}
/* ボタン並び */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
/* --- Hero: レスポンシブ --- */
/* PC ＋ iPad Pro 横（1280px〜） */
@media (min-width: 1280px) {}
/* ノートPC（1366×768 など高さが低いPC）
   → 必要なら少しだけ高さを抑えるのもアリ */
@media (min-width: 1280px) and (max-height: 800px) {}
/* タブレット以下は「上ヘッダーの70px分」を引く */
@media (max-width: 1024px) {
  .hero {
    height: calc(100vh - 70px);
  }
}
/* タブレット（768〜1279px） */
@media (min-width: 768px) and (max-width: 1279px) {
  .hero-title {
    font-size: var(--font-l);
  }
}
/*スマホ以下*/
@media (max-width: 767px) {
  .hero-inner {
    width: 90%;
    white-space: normal;
  }
}
/* 大きめスマホ（401〜767px） */
@media (min-width: 401px) and (max-width: 767px) {
  .hero-inner {
    padding-block: 56px;
  }
  .hero-title {
    font-size: var(--font-l);
  }
  .hero-text {
    font-size: var(--font-s);
  }
  .hero-actions {
    flex-direction: column; /* 縦並び */
  }
  .hero-actions .btn {
    width: 240px; /* 好きな横幅を指定 */
    max-width: 100%; /* 画面より小さい端末でのはみ出し防止 */
    text-align: center;
    box-sizing: border-box;
  }
}
/* 小さいスマホ（〜400px） */
@media (max-width: 400px) {
  .hero-inner {
    padding-block: 48px;
  }
  .hero-title {
    font-size: var(--font-m);
  }
  .hero-text {
    font-size: var(--font-xs);
  }
  .hero-actions {
    flex-direction: column; /* 縦並び */
  }
  .hero-actions .btn {
    width: 240px; /* 好きな横幅を指定 */
    text-align: center;
    box-sizing: border-box;
  }
}
/* ======================================================
  ご挨拶セクション（section--greeting）
====================================================== */
.section--greeting {
  position: relative;
  background-image: url("../image/common/logo.png");
  background-size: auto 80%;
  background-position: center;
}
.greeting-content {
  padding: 80px 60px;
}
.greeting-text {
  margin-top: 30px;
  text-align: center;
}
.main-message {
  display: block;
  margin: 20px 0;
  font-family: "Noto Serif JP", serif;
  font-size: var(--font-m);
  color: var(--main-8);
  font-weight: 800;
}
.signature {
  color: var(--text-dark);
  margin-top: 20px;
  text-align: center;
}
/* -------------------------
   レスポンシブ
   ------------------------- */
/* タブレット */
@media (min-width: 768px) and (max-width: 1279px) {
  .greeting-content {
    padding: 60px 40px;
  }
}
/* スマホ以下のサイズ */
@media (max-width: 767px) {
  .greeting-text {
    text-align: left;
  }
  .signature {
    text-align: right;
    margin-top: 30px;
  }
  .main-message {
    text-align: center !important;
  }
}
/*スマホ*/
@media (max-width: 767px) {
  .section--greeting {
    background-size: auto 60%;
  }
}
/* スマホ Ｌ */
@media (min-width: 401px) and (max-width: 767px) {
  .greeting-content {
    padding: 50px 35px;
  }
}
/* スマホ S */
@media (max-width: 400px) {
  .section--greeting {
    background-size: auto 50%;
  }
  .greeting-content {
    padding: 32px 20px;
  }
  .main-message {
    white-space: nowrap;
  }
}
/* ======================================================
  業務内容セクション（section--service）
====================================================== */
.section--service {
  position: relative;
  background-image: url("../image/index/service-back.jpg");
  background-position: bottom;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}
.service-content {
  position: relative;
  padding: 60px 40px;
}
/* テキスト */
.service-text {
  text-align: center;
}
/* --- 業務内容: レスポンシブ --- */
/* パソコン */
@media (min-width: 1280px) { /* PC ＋ iPad Pro 横 */
  .section--service {
    min-height: 60vh;
  }
}
@media (min-width: 1280px) and (max-height: 800px) { /* ノートPC（高さ低いPC） */
  .section--service {
    min-height: 50vh;
  }
}
/* タブレット */
@media (max-width: 1024px) { /* タブレット以下のサイズ */
}
@media (min-width: 768px) and (max-width: 1279px) { /* タブレット */
  .section--service {
    min-height: 50vh;
  }
}
/* スマホ */
@media (max-width: 767px) { /* スマホ以下のサイズ */
  .service-text {
    text-align: left;
  }
}
@media (min-width: 401px) and (max-width: 767px) { /* 大きめスマホ */
  .section--service {
    min-height: 60vh;
  }
}
@media (max-width: 400px) { /* 小さいスマホ */
}
/* ======================================================
  施工実績セクション（section--work）
====================================================== */
.section--work {
	  position: relative;
  overflow: hidden;
}
.work-text {
  margin-inline: auto;
  padding-bottom: 40px;
  text-align: center;
}
.work-text > span {
  display: block;
  margin-bottom: 24px;
  font-size: var(--font-l);
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  color: var(--text-dark);
}
/* 画像リスト*/
.work-wrapper > ul {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 40px auto 0;
  padding: 0;
  list-style: none;
}
.work-wrapper > ul li {
  width: calc((100% - 48px) / 3); /* 3列+gap2つ */
  overflow: hidden;
}
.work-wrapper > ul li img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3; /* 統一感 */
  object-fit: cover;
  border-radius: 5px; /* 角丸 */
  box-shadow: var(--box-shadow-8);
  transition: transform 1.3s ease, box-shadow 1.3s ease;
}
/* ホバー演出 */
.work-wrapper > ul li img:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}
/* ------------------------------
    タブレット以下（2列 or 縦並び）
-------------------------------- */
/* タブレット（〜1023px）：2列 */
@media (max-width: 1023px) {
  .work-wrapper > ul {
    flex-wrap: wrap;
    gap: 20px;
  }
  .work-wrapper > ul li {
    width: calc((100% - 20px) / 2);
  }
}
/* スマホ（〜767px）：1列 */
@media (max-width: 767px) {
  .work-wrapper > ul {
    display: block;
  }
  .work-wrapper > ul li {
    width: 100%;
    max-width: 360px;
    margin: 0 auto 20px;
  }
}
@media (min-width: 768px) and (max-width: 1279px) {}
/* スマホ */
@media(max-width: 767px) {
  .work-text {
    text-align: left;
  }
  .work-text > span {
    font-size: var(--font-m);
  }
}
@media (min-width: 401px) and (max-width: 767px) {
  .work-text {
    text-align: left;
  }
  .work-text > span {
    text-align: center;
  }
  .work-media video {
    width: 100%;
  }
}
/* 小さいスマホ */
@media (max-width: 400px) {
  .work-text > span {
    font-size: var(--font-m);
  }
}
/* ======================================================
  お知らせセクション（section--news）
====================================================== */
.flex--news {
  align-items: flex-start;
}
/* ニュースリスト */
.news-list {
  width: 100%;
  border: 1px solid var(--gray-8);
}
.item {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-5);
  background-color: var(--white);
}
.item:last-child {
  border-bottom: none;
}
.item .up_ymd {
  min-width: 7em;
  font-size: var(--font-xs);
  color: var(--text-main);
}

.item .title a {
	color: var(--main-color);
}
.item .title a:hover {
	color: var(--accent-color);
}
.item .newMark {
  margin-left: 8px;
  font-size: var(--font-xs);
  color: var(--text-strong);
}
/* --- お知らせ: レスポンシブ --- */
/* （このセクションはレイアウト変化少なめなので、必要になったら追加でOK） */