@charset "utf-8";

/* ==========================================================================
   cmn.css
   reset + header + common + sp-menu + responsive を統合
========================================================================== */


/* ==========================================================================
   01. Reset（Josh Comeau ベース）
========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  overflow: auto;
}

body {
  height: 100%;
  background: #F5F3EF;
  color: #3a3a3a;
  text-align: center;
  font-family: 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif !important;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  vertical-align: middle;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

pre {
  white-space: pre-wrap;
}

a {
  text-decoration: none;
  color: #1a1a1a;
  cursor: pointer;
}

li {
  list-style: none;
}


/* ==========================================================================
   02. 変数
========================================================================== */

:root {
  --header-h:          80px;
  --header-green:      #28580B;
  --header-transition: 0.35s ease;
}


/* ==========================================================================
   03. Header
========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  /* 常に透明ベース */
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition:
    backdrop-filter var(--header-transition),
    -webkit-backdrop-filter var(--header-transition);
}

/* MVを抜けた後：blurのみ（background・box-shadowなし） */
.site-header.scrolled {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* --- ロゴ --- */
.header-logo a {
  display: block;
  text-decoration: none;
}

.logo-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
}



.logo-img {
  width: 200px;
  height: auto;
  display: block;
  transition: opacity var(--header-transition);
}

/* MV内（デフォルト）：白ロゴ表示 */
.logo-img--white { opacity: 1; position: static; pointer-events: auto; }
.logo-img--color { opacity: 0; position: absolute; pointer-events: none; }

/* MVを抜けた後：カラーロゴに切り替え */
.site-header.scrolled .logo-img--white {
  opacity: 0;
  position: absolute;
  pointer-events: none;
}
.site-header.scrolled .logo-img--color {
  opacity: 1;
  position: static;
  pointer-events: auto;
}

/* --- PC ナビ --- */
.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-nav__list {
  display: flex;
  align-items: center;
  list-style: none;
}

.header-nav__list li a {
  display: block;
  padding: 0 14px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  transition: color var(--header-transition);
}

.header-nav__list li a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* MVを抜けた後：ナビテキストを黒に */
.site-header.scrolled .header-nav__list li a {
  color: #1a1a1a;
}
.site-header.scrolled .header-nav__list li a:hover {
  color: var(--header-green);
}

/* --- ヘッダー右：電話 + 問い合わせ --- */
.header-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.4);
  padding-left: 20px;
  transition: border-color var(--header-transition);
}

.header-contact__tel,
.header-contact__mail {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity var(--header-transition);
}

.header-contact__tel {
  font-size: 20px;
  color: #fff;
  transition: color var(--header-transition);
}

.header-contact__mail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 9999px;
  width: 180px;
  height: 40px;
  transition: background var(--header-transition), color var(--header-transition);
}

.header-contact__tel svg,
.header-contact__mail svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.header-contact__tel:hover,
.header-contact__mail:hover {
  opacity: 0.75;
}

/* MVを抜けた後：電話・メールのカラー変更 */
.site-header.scrolled .header-contact {
  border-left-color: rgba(0, 0, 0, 0.12);
}
.site-header.scrolled .header-contact__tel {
  color: var(--header-green);
}
.site-header.scrolled .header-contact__mail {
  color: #fff;
  background: var(--header-green);
}

/* ==========================================================================
   SP ボタン群（電話 + ハンバーガー）
========================================================================== */

/* ヘッダー右端のSPボタンラッパー */
.sp-btns {
  display: none;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* 共通：丸ボタンベース */
.sp-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.sp-btn:hover {
  opacity: 0.8;
}

/* 電話ボタン */
.sp-btn--tel {
  background: #83b60a;
}

.sp-btn--tel svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

/* ハンバーガーボタン */
.sp-btn--menu {
  background: #28580B;
  position: relative;
}

.sp-btn--menu span,
.sp-btn--menu span::before,
.sp-btn--menu span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.sp-btn--menu span        { top: 50%; margin-top: -1px; }
.sp-btn--menu span::before { content: ""; top: calc(50% - 8px); margin-top: -1px; }
.sp-btn--menu span::after  { content: ""; top: calc(50% + 6px); margin-top: -1px; }

/* 開いた状態 */
.sp-btn--menu[aria-expanded="true"] span {
  background: transparent;
}
.sp-btn--menu[aria-expanded="true"] span::before {
  transform: translateX(-50%) translateY(8px) rotate(45deg);
}
.sp-btn--menu[aria-expanded="true"] span::after {
  transform: translateX(-50%) translateY(-6px) rotate(-45deg);
}

/* ==========================================================================
   SP ドロワーメニュー
========================================================================== */

@keyframes drawerFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sp-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: #F5F3EF;
  z-index: 9997;
  overflow-y: auto;
  padding: calc(var(--header-h) + 24px) 0 120px;
  animation: drawerFadeIn 0.35s ease forwards;
}

/* ナビリスト */
.sp-menu__list {
  list-style: none;
  margin: 0 20px;
  padding: 0;
}

.sp-menu__list li {
  border-bottom: 1px dashed #c8c4be;
}

.sp-menu__list li:first-child {
  border-top: 1px dashed #c8c4be;
}

.sp-menu__list li a {
  display: flex;
  align-items: center;
  padding: 18px 4px;
  font-size: 1rem;
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.sp-menu__list li a:hover {
  color: #28580B;
}

/* 電話・お問い合わせ 2カラム */
.sp-menu__contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 28px 20px 0;
}

.sp-menu__tel,
.sp-menu__form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 8px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: opacity 0.2s ease;
}

.sp-menu__tel:hover,
.sp-menu__form:hover {
  opacity: 0.8;
}

.sp-menu__tel {
  background: #28580B;
  color: #fff;
}

.sp-menu__form {
  background: #83b60a;
  color: #fff;
}

.sp-menu__tel svg,
.sp-menu__form svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.sp-menu__tel span,
.sp-menu__form span {
  font-size: 1.2rem;
  letter-spacing: 0.03em;
}

@media (max-width: 630px) {
  .sp-menu__contact {
    grid-template-columns: 1fr;
  }
}

/* 最下部：会社情報 */
.sp-menu__info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 20px;
  text-align: left;
}

.sp-menu__info p {
  font-size: 0.78rem;
  color: #888;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

/* ドロワー開中：ロゴをカラーに強制 */
.site-header:has(+ #sp-menu[aria-hidden="false"]) .logo-img--white {
  opacity: 0 !important;
  position: absolute !important;
  pointer-events: none !important;
}
.site-header:has(+ #sp-menu[aria-hidden="false"]) .logo-img--color {
  opacity: 1 !important;
  position: static !important;
  pointer-events: auto !important;
}


/* ==========================================================================
   04. Layout
========================================================================== */

.container {
  width: 100%;
  max-width: 1120px;
  padding: 0 20px;
  margin: 0 auto;
}

/* 下層ページ：ヘッダー分を押し下げ */



/* ==========================================================================
   05. KV（トップMV）
========================================================================== */

.kv {
  background-image: url(../image/top/kv.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100vh;
  position: relative;
  z-index: -1;
}

.kv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
}

.kv_inner {
  position: absolute;
  bottom: 0;
  left: 24px; /* ヘッダーのpaddingに合わせて左端を揃える */
  z-index: 1;
  padding-bottom: 32px;
}

.lead {
  font-size: clamp(24px, 4vw, 64px);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #fff;
  text-align: left;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

/* 靄：100の左上あたりに円形blur */
.lead::before {
  content: "";
  width: 220px;
  height: 220px;
  border-radius: 50%;
  position: absolute;
  top: -60px;
  left: -40px;
  z-index: -1;
  background-color: #28580B;
  filter: blur(60px);
  -webkit-filter: blur(60px);
  opacity: 0.75;
}


/* ==========================================================================
   06. 共通タイトル
========================================================================== */

.cmn_title {
  color: #28580B;
}

.cmn_title_ja {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.cmn_title_en {
  display: block;
  font-size: 2.4rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  font-style: italic;
  line-height: 1.2;
  margin-top: 2px;
}


/* ==========================================================================
   07. Message セクション
========================================================================== */

.message {
  width: 100%;
  margin-top: 80px;
  margin-bottom: 80px;
}

.message_inner {
  display: flex;
  align-items: center;
}

.message_title {
  width: 380px;
}

.message_description {
  width: calc(100% - 380px);
  text-align: left;
}

.message_text {
  line-height: 3.0;
  letter-spacing: 0.1rem;
}


/* ==========================================================================
   08. リンクカード（事業内容・会社概要）
========================================================================== */

.link-section {
  margin-bottom: 80px;
}

.link-cards {
  display: flex;
  gap: 2%;
}

.link-card {
  flex: 1;
  position: relative;
  min-height: 300px;
  color: #fff;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.link-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, #28580B 100%);
  z-index: 1;
  transition: opacity 0.3s ease;
  opacity: 0.85;
}

.link-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

.link-card:hover::before {
  opacity: 1;
}

.link-card-inner {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 24px 20px;
  text-align: left;
}

.link-sub {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  opacity: 0.85;
  margin-bottom: 0.2em;
}

.link-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0;
}

.business-link {
  background: url("../image/top/top-business.jpg") center / cover no-repeat;
}

.about-link {
  background: url("../image/top/top-company.jpg") center / cover no-repeat;
}


/* ==========================================================================
   09. Gallery
========================================================================== */

.gallery {
  margin-bottom: 80px;
}

.gallery-grid {
  margin-top: 32px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.gallery-item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}


/* ==========================================================================
   10. News
========================================================================== */

.news {
  margin-bottom: 80px;
}

/* 共通リスト（トップ・アーカイブ共用） */
.news-list {
  list-style: none;
  max-width: 800px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-list li {
  border: none;
}

.news-list a {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #efece5;
  border-radius: 5px;
  padding: 18px 20px;
  color: #1a1a1a;
  text-decoration: none;
}

/* 右端の > アイコン */
.news-list a::after {
  content: "chevron_right";
  font-family: "Material Symbols Rounded";
  font-size: 20px;
  color: #28580B;
  margin-left: auto;
  flex-shrink: 0;
  font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
  transition: transform 0.2s ease;
}

.news-list a:hover::after {
  transform: translateX(4px);
}

.news-date {
  font-size: 0.85rem;
  color: #28580B;
  font-weight: 600;
  white-space: nowrap;
  padding-top: 2px;
}

.news-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.6;
}

.news-more {
  text-align: center;
  margin-top: 32px;
}

.news-more .btn {
  display: inline-block;
  padding: 0.7em 2.5em;
  background: #28580B;
  color: #fff;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.news-more .btn:hover {
  background: #2f6110;
  transform: translateY(-2px);
}


/* ==========================================================================
   11. Contact セクション
========================================================================== */

.contact-section {
  position: relative;
  width: 100%;
  background: url("../image/common/contact.jpg") center / cover no-repeat;
  color: #fff;
}

.contact-overlay {
  background: rgb(133 113 75 / 22%);
  width: 100%;
  padding: 75px 20px 70px;
}

.contact-inner {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1120px;
  margin: 0 auto;
}

@media (min-width: 1000px) {
  .contact-overlay {
    padding: 155px 20px 157px;
  }
}

/* 左：タイトル・文言 */
.contact-left {
  flex: 1;
  text-align: left;
}

.contact-label {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  opacity: 0.8;
  margin-bottom: 8px;
}

.contact-title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 16px;
}

.contact-sub {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.8;
}

/* 右：ボタン群（2つ同サイズで縦並び） */
.contact-right {
  flex: 0 0 400px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* フォーム・電話共通ベース（参考: l-footer-contact__btn-link） */
.contact-btn-form,
.contact-btn-tel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100px;
  padding: 5px 60px 5px 23px; /* 右は矢印分の余白 */
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
  color: #fff;
  box-sizing: border-box;
  transition: opacity 0.2s ease;
}

.contact-btn-form:hover,
.contact-btn-tel:hover {
  opacity: 0.85;
}

/* メールボタン */
.contact-btn-form {
  background: #28580B;
  border-color: #28580B;
}

/* 電話ボタン */
.contact-btn-tel {
  background: rgb(68 108 11 / 40%);
}

/* アイコン共通 */
.contact-btn-form__ico,
.contact-btn-tel__ico {
  line-height: 0;
  margin-right: 8px;
}

.contact-btn-form__ico .material-symbols-rounded,
.contact-btn-tel__ico .material-symbols-rounded {
  font-size: 24px;
}

/* メールテキスト */
.contact-btn-form__txt {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
}

/* 矢印 */
.contact-btn-form__arw {
  position: absolute;
  top: 50%;
  right: 23px;
  transform: translateY(-50%);
  line-height: 0;
}

.contact-btn-form__arw .material-symbols-rounded {
  font-size: 20px;
  transition: transform 0.2s ease;
}

.contact-btn-form:hover .contact-btn-form__arw .material-symbols-rounded {
  transform: translateX(5px);
}

/* 電話テキスト */
.contact-btn-tel__txt {
  line-height: 1.4;
  font-weight: 700;
}

.contact-btn-tel__num {
  display: block;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  margin-bottom: 3px;
}

.contact-btn-tel__time {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
}

/* SP：1カラム */
@media (max-width: 768px) {
  .contact-inner {
    flex-direction: column;
    gap: 32px;
  }
  .contact-right {
    flex: none;
    width: 100%;
  }
  .contact-title {
    font-size: 1.4rem;
  }
  .contact-btn-form,
  .contact-btn-tel {
    height: 80px;
    padding: 5px 20px;
  }
}

/* PC：ボタンを大きく */
@media (min-width: 1000px) {
  .contact-btn-form,
  .contact-btn-tel {
    height: 120px;
    padding: 5px 35px;
  }
  .contact-btn-form__arw {
    right: 35px;
  }
  .contact-btn-form__ico .material-symbols-rounded,
  .contact-btn-tel__ico .material-symbols-rounded {
    font-size: 32px;
  }
  .contact-btn-form__ico,
  .contact-btn-tel__ico {
    margin-right: 12px;
  }
}


/* ==========================================================================
   12. Footer
========================================================================== */

footer {
  background-color: #36322b;
  color: #fff;
  padding: 56px 0 0;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.footer-logo {
  flex-shrink: 0;
}

.footer-logo img {
  width: 180px;
  height: auto;
  filter: brightness(0) invert(1);
}

/* フッターナビ */
.footer-nav {
  flex: 1;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  list-style: none;
}

.footer-nav ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav ul li a:hover {
  color: #fff;
}

/* 会社情報 */
.footer-info {
  text-align: right;
  flex-shrink: 0;
}

.footer-info p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 2;
}

/* SP */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }
  .footer-info {
    text-align: left;
  }
}

.copyright {
  margin: 24px 20px 0;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  text-align: center;
  letter-spacing: 0.1em;
}



/* ==========================================================================
   13. 下層ページ共通 KV
========================================================================== */

.l-wrapper {
  padding: 100px 0;
}

.l-kv {
  position: relative;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: var(--header-h);
}

/* 後ろに大きく薄い英語 */
.l-kv::before {
  content: attr(data-en);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(3rem, 10vw, 9rem);
  font-weight: 700;
  font-style: italic;
  color: #28580B;
  opacity: 0.06;
  white-space: nowrap;
  letter-spacing: 0.05em;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  width: 100%;
  text-align: center;
}

.l-kv_inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

/* 日本語タイトル：緑・左寄せ */
.l-kv-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #28580B;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

/* 英語サブ（spanは非表示に。data-enで代替） */
.l-kv-title span {
  display: none;
}


/* ==========================================================================
   14. パンくず
========================================================================== */

.breadcrumb {
  padding: 12px 0;
  font-size: 0.9rem;
  margin: 0 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.breadcrumb ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.breadcrumb li {
  list-style: none;
  color: #555;
}

.breadcrumb li::after {
  content: ">";
  margin-left: 8px;
  color: #aaa;
}

.breadcrumb li:last-child::after {
  content: "";
}

.breadcrumb a {
  color: #45a049;
}

.breadcrumb a:hover {
  text-decoration: underline;
}


/* ==========================================================================
   15. 事業内容
========================================================================== */

.business-detail {
  padding: 80px 20px;
}

.business-lead {
  text-align: center;
  font-size: 1.1rem;
  color: #444;
  margin: 20px auto 50px;
}

/* グリッドラッパー：下半分から右端まで背景色 */
.business-grid-wrap {
  position: relative;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 20px;
}

.business-item {
  text-align: center;
  border-radius: 8px;
  padding: 0;
}

.business-item img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 12px;
}

.business-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #28580B;
  margin: 8px 0 6px;
}

.business-item p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
  padding: 0 4px;
  text-align: left;
}

/* SP：1カラム */
@media (max-width: 768px) {
  .business-grid-wrap::after {
    left: 0;
    right: 0;
    top: 45%;
    bottom: -24px;
  }
  .business-grid {
    grid-template-columns: 1fr;
    padding-left: 0;
    gap: 40px;
  }
  .business-item img {
    border-radius: 4px;
  }
}

/* タブレット：2カラム */
@media (min-width: 769px) and (max-width: 1024px) {
  .business-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.table-list {
  width: calc(100% - 20px);
  max-width: 820px;
  border-collapse: separate;
  border-spacing: 0 10px;
  margin: 100px auto;
}

.table-list tr {
  background: #efece5;
}

.table-list th {
  text-align: left;
  width: 160px;
  font-weight: 700;
  padding: 16px 20px;
  border-radius: 8px 0 0 8px;
}

.table-list td {
  width: calc(100% - 160px);
  text-align: left;
  font-weight: 300;
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
}

.table-list td a {
  color: #1a1a1a;
}


/* ==========================================================================
   16. News アーカイブ・シングル
========================================================================== */

/* アーカイブ：news-listを共用 */
.news-archive .news-list {
  max-width: 100%;
  margin-top: 40px;
}

/* シングル */
.news-single {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.news-single-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.6;
  margin-bottom: 12px;
}

.news-single-date {
  font-size: 0.85rem;
  color: #28580B;
  font-weight: 600;
  margin-bottom: 32px;
}

.news-single-content {
  font-size: 1rem;
  line-height: 2;
  color: #333;
}

.news-single-content p {
  margin-bottom: 1.5em;
}

/* 前後ナビ */
.news-navigation {
  display: flex;
  justify-content: space-between;
  max-width: 800px;
  margin: 48px auto 0;
  font-size: 0.9rem;
  gap: 16px;
}

.news-navigation a {
  color: #28580B;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s;
}

.news-navigation a:hover {
  opacity: 0.7;
}

/* 一覧へ戻る・もっと見る */
.news-archive-link,
.news-more {
  text-align: center;
  margin-top: 40px;
}

.news-archive-link .btn,
.news-more .btn {
  display: inline-block;
  padding: 0.7em 2.5em;
  background: #28580B;
  color: #fff;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.news-archive-link .btn:hover,
.news-more .btn:hover {
  background: #2f6110;
  transform: translateY(-2px);
}

/* ページネーション */
.pagination {
  margin-top: 48px;
  text-align: center;
}

.pagination .nav-links {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 0.9rem;
  color: #1a1a1a;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: #28580B;
  color: #fff;
}


/* ==========================================================================
   17. 会社概要
========================================================================== */

.company-lead {
  margin: 20px auto 0;
  line-height: 1.5;
  letter-spacing: 0.1rem;
}


/* ==========================================================================
   18. お問い合わせフォーム
========================================================================== */

.form {
  padding: 100px 0;
  background-color: #F5F3EF;
}

.form_wrap {
  padding: 100px 0;
  width: calc(100% - 20px);
  margin: 0 auto;
  max-width: 780px;
}

.form_lead p {
  letter-spacing: 0.1rem;
}

.form_tbl {
  width: 100%;
  border-collapse: collapse;
}

.form_tbl th,
.form_tbl td {
  padding: 24px 10px;
  border-bottom: 1px dashed #d6d6d6;
}

.form_tbl th:first-of-type,
.form_tbl td:first-of-type {
  border-top: 1px dashed #d6d6d6;
}

.form_tbl th {
  width: 280px;
}

.form_th {
  display: flex;
  align-items: center;
}

.form_title {
  line-height: 1;
  font-size: 15px;
}

.required {
  background-color: #E20000;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  width: 54px;
  line-height: 1;
  padding: 4px 0;
  margin-right: 20px;
}

.required.non_required {
  background-color: #c7c7c7;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="url"],
textarea {
  background-color: #fff;
  width: 100%;
  color: #1a1a1a;
  padding: 10px 19px;
  min-height: 60px;
  border-radius: 4px;
  border: none;
  font-size: 14px;
  line-height: 2em;
  letter-spacing: 0.05em;
}

textarea {
  height: 240px;
}

input[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
}

.form_privacy {
  padding: 20px 0;
}

.form_privacy_link {
  display: inline-block;
  color: #E20000;
}

.wpcf7-form input.wpcf7-submit,
.wpcf7-submit {
  margin: 50px auto 0;
  width: 200px;
  background-color: #28580B;
  color: #fff;
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.wpcf7-form input.wpcf7-submit:hover,
.wpcf7-submit:hover {
  background-color: #45a049;
  transform: translateY(-2px);
}

.wpcf7-form input.wpcf7-submit:focus,
.wpcf7-submit:focus {
  outline: 2px solid #333333;
  outline-offset: 2px;
}

.contact_btn {
  display: block;
  width: 200px;
  max-width: 100%;
  margin: 50px auto 0;
  background-color: #274338;
  color: #fff;
  font-size: 15px;
  text-align: center;
  font-weight: 700;
  line-height: 42px;
  border-radius: 5px;
  cursor: pointer;
}


/* ==========================================================================
   19. Responsive
========================================================================== */

/* <= 1000px：SP ヘッダー切り替え */
@media only screen and (max-width: 1000px) {
  .header-nav {
    display: none;
  }
  .sp-btns {
    display: flex;
  }
  .kv {
    background-position: 32%;
  }
  .message_inner {
    flex-direction: column;
    gap: 32px;
  }
  .message_title,
  .message_description {
    width: 100%;
  }
  .message_text {
    text-align: center;
  }
  .l-kv {
    margin-top: var(--header-h);
  }
}

/* <= 796px */
@media only screen and (max-width: 796px) {

  .table-list {
    border-spacing: 0 8px;
  }
  .table-list th {
    display: block;
    width: 100%;
    border-radius: 8px 8px 0 0;
    padding: 10px 14px 4px;
  }
  .table-list td {
    display: block;
    width: 100%;
    border-radius: 0 0 8px 8px;
    padding: 4px 14px 10px;
  }
  .contact-guide {
    padding: 30px 15px;
  }
  .form_tbl th {
    display: block;
    width: 100%;
    border-bottom: none;
  }
  .form_tbl td {
    display: block;
    width: 100%;
    border-top: none !important;
    border-bottom: none;
  }
}

/* <= 768px */
@media (max-width: 768px) {
  /* セクション間スペースをSPに最適化 */
  .message,
  .link-section,
  .gallery,
  .news {
    margin-bottom: 48px;
  }
  .link-cards {
    flex-direction: column;
    gap: 16px;
  }
  .link-card {
    height: 280px;
  }
  .gallery-grid {
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-item img {
    height: 140px;
  }
}

/* ==========================================================================
   17. Contact Form
========================================================================== */

.contact-form {
  max-width: 720px;
  margin: 48px auto 0;
}

.form-group {
  margin-bottom: 28px;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #333;
}

.form-required {
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: #28580B;
  border-radius: 3px;
  padding: 2px 6px;
  letter-spacing: 0.05em;
}

.form-optional {
  font-size: 0.7rem;
  font-weight: 500;
  color: #888;
  background: #e8e8e8;
  border-radius: 3px;
  padding: 2px 6px;
  letter-spacing: 0.05em;
}

.form-input,
.form-textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d0ccc5;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: #333;
  transition: border-color 0.2s;
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #28580B;
  box-shadow: 0 0 0 3px rgba(40, 88, 11, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.7;
}

.form-recaptcha-note {
  font-size: 0.75rem;
  color: #999;
  line-height: 1.6;
  margin-bottom: 32px;
}

.form-recaptcha-note a {
  color: #28580B;
}

.form-submit-wrap {
  text-align: center;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #28580B;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  border: none;
  border-radius: 50px;
  padding: 16px 48px;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}

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

.form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-submit .material-symbols-rounded {
  font-size: 20px;
}

/* 結果メッセージ */
.contact-result {
  max-width: 720px;
  margin: 0 auto 32px;
  padding: 16px 20px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

.contact-result.is-success {
  background: #e8f5e0;
  color: #28580B;
  border: 1px solid #a8d58a;
}

.contact-result.is-error {
  background: #fdecea;
  color: #c0392b;
  border: 1px solid #f5a89e;
}

@media (max-width: 768px) {
  .form-submit {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
  }
}

/* ステップ表示 */
.contact-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 40px auto 48px;
  max-width: 360px;
  padding: 0;
  counter-reset: step;
}

.contact-steps li {
  flex: 1;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #bbb;
  position: relative;
  padding-bottom: 8px;
}

.contact-steps li::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ddd;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0 auto 6px;
  transition: background 0.2s;
}

.contact-steps li::after {
  content: '';
  position: absolute;
  top: 16px;
  left: calc(50% + 16px);
  right: calc(-50% + 16px);
  height: 1px;
  background: #ddd;
}

.contact-steps li:last-child::after {
  display: none;
}

.contact-steps li.is-current {
  color: #28580B;
}

.contact-steps li.is-current::before {
  background: #28580B;
}

/* インラインエラー */
.form-group.has-error .form-input,
.form-group.has-error .form-textarea {
  border-color: #c0392b;
  background: #fff8f7;
}

.form-error-msg {
  color: #c0392b;
  font-size: 0.8rem;
  margin-top: 4px;
  font-weight: 700;
}

/* 確認画面 */
.contact-confirm-lead {
  text-align: center;
  color: #555;
  margin-bottom: 32px;
}

.contact-confirm-table {
  margin: 0 auto 48px;
}

.contact-confirm-table tr {
  background: #fff;
}

.contact-confirm-table th {
  white-space: nowrap;
  vertical-align: top;
}

.contact-confirm-table td {
  word-break: break-all;
}

.form-btn-wrap {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form-submit.is-back {
  background: transparent;
  border: 2px solid #28580B;
  color: #28580B;
}

.form-submit.is-back:hover {
  background: #f5f8f0;
  opacity: 1;
}

/* サンクス画面 */
.contact-thanks {
  text-align: center;
  padding: 48px 20px;
}

.contact-thanks-icon {
  font-size: 64px;
  color: #28580B;
  display: block;
  margin-bottom: 16px;
}

.contact-thanks-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #28580B;
  margin-bottom: 24px;
}

.contact-thanks-text {
  color: #555;
  line-height: 2;
  margin-bottom: 40px;
}

.contact-thanks-text small {
  font-size: 0.85rem;
  color: #888;
}

@media (max-width: 768px) {
  .form-btn-wrap {
    flex-direction: column-reverse;
    align-items: center;
  }
  .form-submit.is-back {
    width: 100%;
    justify-content: center;
  }
}
