@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@300&display=swap');

/* =============================
   ヘッダー全体
============================= */
#header {
  background-color: #fff !important;
  border-bottom: none !important;
  padding: 0 0 4px 0 !important;
  box-shadow: none !important;
}

#header-in {
  min-height: unset !important;
  padding: 0 !important;
  display: block !important;
  width: 100% !important;
}

/* =============================
   ロゴ
============================= */
.logo-header {
  padding: 0 0 0 2% !important;
  text-align: left !important;
  float: left !important;
  width: auto !important;
  margin: 0 !important;
  display: flex !important;
  align-items: flex-end !important;
  height: 80px !important;
}

.logo-header img {
  max-height: 78px !important;
  width: auto !important;
  display: block !important;
  margin: 0 !important;
}

.header .header-in {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  min-height: 80px !important;
}

/* =============================
   ナビ（基本構造のみ）
============================= */
#navi {
  width: 100% !important;
  float: none !important;
  clear: both !important;
  background: #fff !important;
  border: none !important;
  box-shadow: none !important;
  position: relative !important;
  z-index: 10 !important;
  margin-top: -25px !important;
}

#navi::before,
#navi::after,
#navi .navi-in,
#navi ul {
  border: none !important;
  box-shadow: none !important;
}

#navi-in {
  width: 100% !important;
  padding: 0 !important;
}

/* =============================
   フッター
============================= */
.site-footer,
footer {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#footer {
  background: #fff !important;
  border-top: none !important;
  padding: 10px 20px !important;
}

.footer-bottom-logo {
  flex: 0 0 auto !important;
  margin: 0 !important;
  margin-left: -40px !important;
}

.footer-bottom-logo img {
  height: 200px !important;
  width: auto !important;
  display: block !important;
}

.footer-bottom-content {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  margin-top: 4px !important;
}

.footer-bottom-content ul {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  list-style: none !important;
  margin: 0 0 0 140px !important;
  padding: 0 !important;
  gap: 0 !important;
}

.footer-bottom-content li::before,
.footer-bottom-content li::after {
  display: none !important;
  content: none !important;
}

.footer-bottom-content li {
  border: none !important;
  padding: 0 !important;
}

.footer-bottom-content a::before {
  content: "・" !important;
  color: #333 !important;
}

.footer-bottom-content a::after {
  display: none !important;
  content: none !important;
}

.footer-bottom-content li::after {
  display: none !important;
  content: none !important;
}

.footer-bottom-content a {
  color: #333 !important;
  text-decoration: none !important;
  font-size: 0.72rem !important;
  white-space: nowrap !important;
  padding: 0 2px !important;
}

.footer-bottom-content a:hover {
  color: #3aaa35 !important;
}

.copyright {
  display: none !important;
}

/* =============================
   サイドバー非表示
============================= */
#sidebar {
  display: none !important;
}

#content-in {
  display: block !important;
}

#main {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 auto !important;
}

/* =============================
   その他
============================= */
.page .entry-title {
  display: none;
}

body:not(.home) .header-image {
  display: none !important;
}

/* =============================
   全固定ページ共通：#content の余白消去
============================= */
.page #content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.page #content-in {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* =============================
   トップページ
============================= */
.home .header-image {
  display: none !important;
}

.home header {
  margin: 0;
  border-bottom: none !important;
}
.home #header {
  border-bottom: none !important;
  box-shadow: none !important;
}
.home #navi {
  border-bottom: none !important;
  box-shadow: none !important;
}
.home .main { padding-top: 0 !important; margin-top: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
.home #main { padding: 0 !important; }
.home .entry-content { margin-top: 0 !important; padding-top: 0 !important; }
.home .yks-hero { margin-top: 0 !important; }
.home .yks-section { margin-top: 0 !important; margin-bottom: 0 !important; }

.yks-section--service,
.yks-section--vehicle {
  margin-top: -11px !important;
}
.yks-section--company {
  margin-top: -11px !important;
}

/* ---- 変数 ---- */
:root {
  --yks-green: #3aaa35;
  --yks-green-dark: #2d8a28;
  --yks-green-pale: #e8f5e6;
  --yks-text: #333;
  --yks-radius: 6px;
}

/* ---- ヒーロー ---- */
.yks-hero {
  width: 100%;
  overflow: hidden;
  margin-bottom: 0;
}

.yks-hero img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

/* =============================
   レスポンシブ
============================= */
@media screen and (max-width: 834px) {
  #navi-in {
    width: 100% !important;
  }

  .footer-bottom-logo img {
    height: 100px !important;
  }

  .logo-header {
    height: 60px !important;
  }
}

