
@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
*/

/* ========================================
   堀松産商株式会社
   Cocoon Child 共通スタイル
   ======================================== */


/* ========================================
   1. 共通ヘッダー
   ======================================== */

/* 全ページ共通のロゴサイズ */
.hm-header .hm-brand img {
  width: 180px;
  max-width: 100%;
  height: auto;
  display: block;
}


/* ========================================
   2. 共通フッター
   ======================================== */

.hm-footer {
  background: #0875a0;
  color: #fff;
  padding: 35px 20px;
  margin-top: 60px;
}

.hm-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
}

.hm-footer-company strong {
  font-size: 18px;
}

.hm-footer-company p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.6;
}

.hm-footer-copyright {
  font-size: 12px;
  text-align: right;
}


/* ========================================
   3. 共通コンテンツレイアウト
   ======================================== */

/* サイドバーとメインコンテンツ */
.hm-home .hm-content {
  width: 100%;
  max-width: 1100px;
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: 265px minmax(0, 1fr);
  column-gap: 55px;
  align-items: start;
  padding: 0 15px;
  box-sizing: border-box;
}

.hm-home .hm-main {
  min-width: 0;
  width: 100%;
  font-size: 14px;
  line-height: 1.7;
}


/* ========================================
   4. 固定ページ・投稿ページ共通
   ======================================== */

/* ページ上部の横長画像 */
.hm-page-hero {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1920 / 180;

  background-image: url('/wp-content/uploads/2021/08/top_img_1.jpg');
  background-position: center center;
  background-size: 100% 100%;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* 横長画像内のページタイトル */
.hm-page-hero h1 {
  color: #fff;
  font-size: 26px;
  font-weight: bold;
  margin: 0;
}


/* ========================================
   5. トップページ 新着情報
   ======================================== */

.hm-home .hm-news-title {
  font-size: 19px;
  font-weight: bold;
  border-top: 2px solid #3984c6;
  border-bottom: 1px solid #e5e5e5;
  padding: 12px 0;
  margin: 0 0 20px;
}

.hm-home .hm-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hm-home .hm-news-list li {
  list-style: none;
  padding: 12px 0;
  margin: 0;
  border-bottom: 1px solid #ededed;
}

.hm-home .hm-news-list a {
  display: block;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
}

.hm-home .hm-news-list a:hover {
  color: #287eb7;
}

.hm-home .hm-news-list time {
  display: block;
  font-size: 12px;
  color: #777;
  margin-top: 3px;
}


/* ========================================
   6. トップページ 北の宝石箱バナー
   ======================================== */

.hm-home .hm-feature-banner {
  margin: 55px 0 35px;
  text-align: center;
}

.hm-home .hm-feature-banner img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.hm-home .hm-feature-banner a {
  color: #444;
  font-size: 12px;
  text-decoration: none;
}


/* ========================================
   7. トップページ 本社情報
   ======================================== */

.hm-home .hm-office {
  margin: 0 0 20px;
}

.hm-home .hm-office-title {
  font-size: 17px;
  font-weight: bold;
  border-bottom: 1px solid #ddd;
  padding: 0 0 10px;
  margin: 0 0 15px;
}

.hm-home .hm-office p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
}


/* ========================================
   8. Googleマップ
   ======================================== */

.hm-home .hm-office-map {
  margin-top: 20px;
}

.hm-home .hm-office-map iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
}


/* ========================================
   9. スマートフォン対応
   ======================================== */

@media screen and (max-width: 767px) {

  /* 共通コンテンツ */
  .hm-home .hm-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
    padding: 0 15px;
  }

  .hm-home .hm-sidebar,
  .hm-home .hm-main {
    width: 100%;
  }

  /* 北の宝石箱バナー */
  .hm-home .hm-feature-banner {
    margin: 30px 0;
  }

  /* Googleマップ */
  .hm-home .hm-office-map iframe {
    height: 280px;
  }

  /* 共通フッター */
  .hm-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .hm-footer-copyright {
    text-align: left;
  }
}
