/* ========================================
   基本
======================================== */

span.red {
  color: #ff0000;
}


/* ========================================
   SiteOrigin 見出し
======================================== */

.panel-grid-cell h2.widget-title {
  font-size: 24px !important;
  font-weight: 700;
  margin-bottom: 20px;
}


/* ========================================
   TOPページ 会社紹介
======================================== */

.top-about {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 1000px;
  margin: 60px auto;
}

.top-about__text,
.top-about__image {
  width: 50%;
}

.top-about__text h2 {
  font-size: 28px;
  margin-bottom: 25px;
}

.top-about__text p {
  line-height: 1.9;
}

.top-about__image img {
  display: block;
  width: 100%;
  height: auto;
}

.top-about__button {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 25px;
  background: #333;
  color: #fff !important;
  text-decoration: none;
}

@media screen and (max-width: 767px) {
  .top-about {
    display: block;
    margin: 40px 20px;
  }

  .top-about__text,
  .top-about__image {
    width: 100%;
  }

  .top-about__image {
    margin-top: 30px;
  }
}


/* ========================================
   取扱メーカー
======================================== */

.product-list {
  max-width: 500px;
  margin: 0 auto;
}

.product-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-list li {
  padding: 12px 10px;
  border-bottom: 1px solid #e5e5e5;
  text-align: left;
}

.product-list li:first-child {
  border-top: 1px solid #e5e5e5;
}

.product-list li strong {
  display: inline-block;
  margin-right: 10px;
  font-weight: 600;
}

.product-list li span {
  display: inline-block;
  color: #777;
  font-size: 14px;
}

.product-other {
  margin-top: 15px;
  text-align: left;
  font-size: 14px;
  color: #666;
}


/* ========================================
   固定ページ 2・10・12・42
   2カラム → 1カラム
======================================== */

@media screen and (min-width: 48em) {

  body.page-id-2.page-two-column:not(.archive) #primary .entry-header,
  body.page-id-10.page-two-column:not(.archive) #primary .entry-header,
  body.page-id-12.page-two-column:not(.archive) #primary .entry-header,
  body.page-id-42.page-two-column:not(.archive) #primary .entry-header,
  body.page-id-2.page-two-column:not(.archive) #primary .entry-content,
  body.page-id-10.page-two-column:not(.archive) #primary .entry-content,
  body.page-id-12.page-two-column:not(.archive) #primary .entry-content,
  body.page-id-42.page-two-column:not(.archive) #primary .entry-content {
    float: none;
    width: 100%;
  }

  body.page-id-2 #primary .entry-header,
  body.page-id-10 #primary .entry-header,
  body.page-id-12 #primary .entry-header,
  body.page-id-42 #primary .entry-header {
    text-align: center;
    margin-bottom: 35px;
  }
}


/* ========================================
   ページタイトル
======================================== */

body.page-id-2 .entry-title,
body.page-id-10 .entry-title,
body.page-id-12 .entry-title,
body.page-id-42 .entry-title {
  font-size: 28px !important;
  font-weight: 700;
}


/* ========================================
   本文
======================================== */

body.page-id-2 .entry-content,
body.page-id-10 .entry-content,
body.page-id-12 .entry-content,
body.page-id-42 .entry-content {
  font-size: 17px;
}


/* ========================================
   SiteOrigin 見出し
   10・12・42のみ大きく
======================================== */

body.page-id-10 .panel-grid-cell h2.widget-title,
body.page-id-12 .panel-grid-cell h2.widget-title,
body.page-id-42 .panel-grid-cell h2.widget-title {
  font-size: 26px !important;
}


/* ========================================
   10・12・42 本文位置調整
======================================== */

body.page-id-10 .entry-content,
body.page-id-12 .entry-content,
body.page-id-42 .entry-content {
  box-sizing: border-box;
}

@media screen and (max-width: 767px) {
  body.page-id-10 .entry-content,
  body.page-id-12 .entry-content,
  body.page-id-42 .entry-content {
    padding-left: 0;
  }
}


/* ========================================
   フッター
======================================== */

.footer-company {
  font-size: 14px;
  line-height: 1.8;
}

.footer-company__name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-company p {
  margin-bottom: 15px;
}

.footer-company__copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  margin: 0;
  text-align: center;
  font-size: 12px;
}

.site-footer .widget-area {
  position: relative;
  padding-bottom: 60px;
}

.site-footer .widget-column.footer-widget-2 {
  padding-top: 35px;
}


/* ========================================
   お問い合わせページ
======================================== */

/* Contact Form 7 */
body.page-id-42 .wpcf7,
body.page-id-42 .wpcf7 input,
body.page-id-42 .wpcf7 textarea,
body.page-id-42 .wpcf7 select {
  max-width: 100%;
  box-sizing: border-box;
}

/* 電話番号画像 */
body.page-id-42 img.img_on {
  width: 370px !important;
  max-width: 100% !important;
  height: auto !important;
}

@media screen and (max-width: 767px) {
  body.page-id-42 img.img_on {
    width: 100% !important;
    height: auto !important;
  }
}