@charset "utf-8";

/* universal reset ------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
pre{
  white-space: pre-wrap;
}
html {
    height: 100%;
    overflow: auto;
    font-weight: 100;
}

body {
    background: #F5F3EF;
    color: #3a3a3a;
    margin: 0;
    padding: 0;
    text-align: center;
    font-family: '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
    position: relative;
    margin: 0;
    height: 100%;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
    box-sizing: border-box;
}

img {
    vertical-align: middle;
}

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

li {
    list-style: none;
}

.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;
}


/* header ------------------------- */

.sp {
    display: none;
}

.pc {
    position: fixed;
    background: rgba(255, 255, 255, 0.67);
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    top: 0;
    left: 0;
    z-index: 9999;
    padding: 0 20px;
}

.logo {
    height: 100px;
}

.logo-image {
    width: 220px;
}

.logo-span {
    font-size: 10px;
    line-height: 1;
    white-space: nowrap;
    color: #8f8f8f;
}

.globalnav {
    display: flex;
    align-items: center;
    height: 100px;
    overflow: hidden;
    white-space: nowrap;
}

.navigation {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.navigation li {
    list-style: none;
    padding: 0 10px;
}

.navigation li:last-child {
    padding-right: 0;
}

.navigation li a {
    font-size: 1.0em;
    font-weight: 500;
}

.nav_tel {
    width: 220px;
    line-height: 1;
    text-align: right;
}

.nav_tel::before {
    content: "";
    width: 18px;
    height: 20px;
    display: inline-block;
    margin-right: 2px;
    background-image: url(../image/common/tel-ico.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.call {
    font-size: 1.8em;
    font-weight: 700;
    color: #28580B;
}

.time {
    display: block;
    font-size: 10px;
    margin-top: 2px;
    text-align: right;
}


/* kv ------------------------- */

.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;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
}

.kv_inner {
    position: absolute;
    left: 5%;
    bottom: 10%;
    z-index: 1;
}

.lead {
    font-family: serif;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 0.2rem;
    text-align: left;
    letter-spacing: .1rem;
    font-weight: 100;
    color: #fff;
}


/* title ------------------------- */

.cmn_title {
    font-weight: 700;
    color: #28580B;
}

.cmn_title_ja {
    font-size: 1.0em;
}

.cmn_title_en {
    font-size: 32px;
    font-weight: 100;
    letter-spacing: .1rem;
    font-style: italic;
}


/* maessage ------------------------- */

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

.message {
    width: 100%;
    padding: 100px 0;
}

.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;
}


/* 新しいリンクセクション */
.link-section {
    padding: 100px 0;
  }
  
  .link-cards {
    display: flex;
    gap: 2%;
  }
  
  .link-card {
    flex: 1;
    position: relative;
    min-height: 300px; /* 高さが可変でもOK */
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;   /* 上下中央 */
    justify-content: center; /* 左右中央 */
    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: rgba(0,0,0,0.4); /* 黒透明オーバーレイ */
    z-index: 1;
    transition: background 0.3s ease;
  }
  
  .link-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.15);
  }
  
  .link-card:hover::before {
    background: rgba(0,0,0,0.25);
  }
  
  .link-card-inner {
    position: relative;
    z-index: 2;
    width: 100%; /* テキスト幅を調整 */
  }
  
  .link-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.3em;
  }
  
  .link-sub {
    font-size: 1rem;
    letter-spacing: 0.1em;
  }
  
  /* 背景画像 */
  .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;
  }
  
  /* スマホ対応 */
  @media (max-width: 768px) {
    .link-cards {
      flex-direction: column;
      gap: 20px;
    }
    .link-card {
      height: 340px;
    }
  }
  

/* ニュースセクション */
.news {
    padding: 80px 20px;
 
  }
  
  .news-list {
    max-width: 800px;
    margin: 0 auto 2em;
  }
  
  .news-list li {
    border-bottom: 1px solid #e0e0e0;
  }
  
  .news-list a {
    display: block;
    padding: 15px 5px;
    text-decoration: none;
    color: #333;
    transition: background 0.3s ease;
    text-align: left;
  }
  
  .news-list a:hover {
    background: #fff;
  }
  
  .news-date {
    display: block;
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 5px;
  }
  
  .news-title {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
  }
  
  /* もっと見るボタン */
  .news-more {
    text-align: center;
  }
  
  .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);
  }
  


/* お問い合わせセクション */
.contact-section {
    position: relative;
    width: 100%;
    background: url("../image/common/contact.jpg") center/cover no-repeat;
    color: #fff;
  }
  
  .contact-overlay {
    background: rgba(0,0,0,0.4); /* 画像の上に半透明の黒 */
    width: 100%;
    height: 100%;
    padding: 100px 20px;
  }
  
  .contact-inner {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .contact-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5em;
  }
  
  .contact-sub {
    font-size: 1.1rem;
    margin-bottom: 1.5em;
    opacity: 0.9;
  }
  
  .contact-btn {
    display: inline-block;
    padding: 0.8em 2.5em;
    background: #fff; /* テーマカラー */
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
  }
  
  .contact-btn:hover {
   
    transform: translateY(-3px);
  }
  
  .contact-tel {
    margin-top: 1.5em;
    font-size: 1rem;
  }
  
  .contact-tel a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
  }
  



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

.l_contact_form_wrap {
    margin-top: 100px;
    padding: 100px 0;
    background-color: #f9f9f9;
}

.l_contact_form_title {
    text-align: left;
}

.l_contact_form_subttl {
    color: #0350BF;
    font-size: 15px;
    font-weight: 700;
    font-style: italic;
}

.l_contact_form_mainttl {
    color: #0350BF;
    font-size: 20px;
    font-weight: 700;
}

.l_contact_form_txt {
    margin-top: 10px;
}

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

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

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

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

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

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

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

.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;
    text-align: center;
    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-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    line-height: 2em;
    letter-spacing: .05em;
}

textarea {
    height: 240px;
}

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

.form_privacy {
    padding: 20px 0;
}

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


footer {
    background-color: #434343;
    color: #fff;
    padding: 50px 0;
}

.footer-logo {
    width: 230px;
    margin: 0 auto 20px;
}

.footer-logo img {
    width: 100%;
    height: auto;
}

.copyright {
    background-color: #333333;
    color: #fff;
    font-size: 10px;
    text-align: center;
    padding: 3px 0;
    letter-spacing: 0.15rem;
}


/* 送信ボタン（Contact Form 7）基本スタイル */

.wpcf7-form input.wpcf7-submit,
.wpcf7-submit {
    margin: 50px auto 0;
    width: 200px;
    background-color: #28580B;
    /* ボタン背景色（例：緑） */
    color: #ffffff;
    /* テキスト色 */
    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;
}


/* =========================
   下層ページ共通
========================= */
.l-wrapper{
    padding: 100px 0;
}
.l-kv {
    background-color: #2e3f2e;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 左寄せ */
    margin-top: 100px;
    padding-left: 5%; /* 左から5%余白 */
  }
  
  .l-kv_inner {
    text-align: left;
    max-width: 90%; /* はみ出し防止 */
  }
  
  .l-kv-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem); /* レスポンシブ */
    font-weight: 700;
    color: #fff;
    line-height: 1.6;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
  }
  
  .l-kv-title span {
    display: block;
    font-size: clamp(1rem, 2vw, 1.4rem); /* レスポンシブ */
    font-weight: 400;
    letter-spacing: .1rem;
    margin-top: 5px;
    font-style: italic;
  }
  
  
  /* =========================
     パンくず
  ========================= */
  .breadcrumb {
    padding: 12px 0;          /* 左右paddingを消して揃える */
    font-size: 0.9rem;

  }
  
  .breadcrumb .container {
    max-width: 100%;
    padding-left: 5%;         /* KVと同じ位置から開始 */
  }
  
  .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;
    text-decoration: none;
  }
  
  .breadcrumb a:hover {
    text-decoration: underline;
  }
  
  /* =========================
     事業内容詳細
  ========================= */
  .business-detail {
    padding: 80px 20px;
    
  }

  .business-lead {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #444;
    margin: 20px auto 50px;
  }
  
  .business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 20px;
  }
  
  .business-item {
    text-align: center;
    background: #EBEFE8;
    border-radius: 8px;

    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .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;
  }


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

.table-list th {
    text-align: left;
    width: 160px;
    font-weight: 700;
    border-bottom: 1px solid #8f8f8f;
    padding: 3% 0 3% 5%;
}

.table-list td {
    width: calc(100% - 160px);
    padding: 10px 0;
    text-align: left;
    font-weight: 300;
    border-bottom: 1px solid #8f8f8f;
    padding: 3% 0 3% 5%;
}

.table-list td a {
    color: #1a1a1a;
}
  
.news-archive-list {
  max-width: 800px;
  margin: 50px auto;
  padding: 0;
  list-style: none;
}

.news-archive-list li {
  border-bottom: 1px solid #ddd;
  padding: 15px 10px;
  text-align: left;
}

.news-archive-list li a {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  font-size: 16px;
  color: #1a1a1a;
}

.news-archive-date {
  color: #28580B;
  font-size: 14px;
  min-width: 100px;
}

.news-archive-title {
  font-weight: 500;
}
.news-single {
  max-width: 800px;
  margin: 60px auto;
  text-align: left;
  padding: 20px;
}

.news-single-title {
  font-size: 24px;
  font-weight: 700;
  color: #28580B;
  margin-bottom: 10px;
}

.news-single-date {
  font-size: 14px;
  color: #666;
  margin-bottom: 30px;
}

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

.news-navigation {
  display: flex;
  justify-content: space-between;
  max-width: 800px;
  margin: 40px auto;
  font-size: 14px;
}

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

.news-archive-link {
  text-align: center;
  margin-top: 40px;
}

.news-archive-link .btn {
  display: inline-block;
  padding: 10px 30px;
  background: #28580B;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s;
}

.news-archive-link .btn:hover {
  background: #1b412d;
}


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