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

/* =========================================
   正和建設 トップページ用 CSS
   Elementorなし / Cocoon Child用
========================================= */

html {
  -webkit-text-size-adjust: 100%;
}

body.shouwa-front {
  margin: 0;
  color: #333;
  background: #fff;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

body.shouwa-front a {
  color: inherit;
  text-decoration: none;
}

body.shouwa-front ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.shouwa-front img {
  max-width: 100%;
  height: auto;
  border: 0;
}

.clear {
  clear: both;
}

/* Cocoon側の余計な枠をトップだけ消す */
body.shouwa-front #container,
body.shouwa-front #content,
body.shouwa-front .wrap,
body.shouwa-front .content,
body.shouwa-front .main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* =========================================
   ヘッダー
========================================= */

#header {
  margin: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 125px;
  background-color: #fff;
  z-index: 9999;
  box-shadow: none;
}

body.admin-bar.shouwa-front #header {
  top: 32px;
}

.hr_w100_h5 {
  background-color: #348CCC;
  width: 100%;
  height: 5px;
}

#header_01 {
  max-width: 97%;
  height: 120px;
  margin: auto;
  position: relative;
}

#header_01 #txt_01 a {
  background-color: #348CCC;
  font-size: 10px;
  color: #fff;
  width: 180px;
  text-align: center;
  float: right;
  margin-right: 150px;
  padding: 5px 10px 10px;
}

#header_01 #catch {
  font-size: 14px;
  width: 280px;
  padding-top: 50px;
  padding-bottom: 10px;
}

#header_01 #logo {
  width: 280px;
  height: auto;
  float: left;
  margin-top: -28px;
}

#logo a,
#logo picture {
  display: block;
  width: 100%;
  line-height: 0;
}

#logo img {
  display: block;
  width: 100%;
  height: auto;
}

#header_01 .hm_menu_wrap {
  width: 900px;
  margin-top: -48px;
  float: right;
}

#header_01 .hm_menu_wrap > img {
  display: block;
  float: right;
  width: 330px;
  height: auto;
  margin-bottom: 6px;
}

#header_01 #navi_01 {
  clear: right;
  float: right;
  margin-top: 6px;
  line-height: 1.4;
}

#header_01 #navi_01 li {
  float: left;
  margin-left: 36px;
  font-size: 14px;
  line-height: 1.6;
}

#header_01 #navi_01 a {
  position: relative;
  display: inline-block;
  transition: .3s;
  color: #333;
}

#header_01 #navi_01 a::before {
  content: "›";
  display: inline-block;
  margin-right: 6px;
  color: #333;
  font-weight: bold;
  font-size: 18px;
  line-height: 1;
  vertical-align: -1px;
}

#header_01 #navi_01 a:hover {
  color: #ff7043;
}

#header_01 #navi_01 a:hover::before {
  color: #ff7043;
}

#header_01 #navi_01 a::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  content: '';
  width: 0;
  height: 2px;
  background-color: #ff7043;
  transition: .3s;
  transform: translateX(-50%);
}

#header_01 #navi_01 a:hover::after {
  width: 100%;
}

.hm_menu_check,
.hm_btn,
.hm_title {
  display: none;
}

.sumaho {
  display: none;
}

/* =========================================
   メイン
========================================= */

#shouwa-main {
  padding-top: 125px;
}

body.admin-bar.shouwa-front #shouwa-main {
  padding-top: 125px;
}

/* =========================================
   スライダー
   背景画像 / 横幅に合わせる / 高さ固定
========================================= */

body.shouwa-front .shouwa-slider {
  position: relative;
  overflow: hidden;
  width: 97.6%;
	margin-top: 5px;
  height: 760px;
  padding: 0;
  background: #fff;
}

body.shouwa-front .pc-slider {
  display: block;
}

body.shouwa-front .sp-slider {
  display: none;
}

body.shouwa-front .shouwa-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 760px;
  background-position: center top;
  background-size: 100% auto;
  background-repeat: no-repeat;
  opacity: 0;
  animation: shouwaFade 12s infinite;
}

body.shouwa-front .slide01 {
  background-image: url("/wp-content/uploads/2021/05/slider_01.jpg");
  animation-delay: 0s;
}

body.shouwa-front .slide02 {
  background-image: url("/wp-content/uploads/2021/04/slider_02.jpg");
  animation-delay: 4s;
}

body.shouwa-front .slide03 {
  background-image: url("/wp-content/uploads/2021/04/slider_03.jpg");
  animation-delay: 8s;
}

@keyframes shouwaFade {
  0%   { opacity: 0; }
  8%   { opacity: 1; }
  30%  { opacity: 1; }
  38%  { opacity: 0; }
  100% { opacity: 0; }
}

/* =========================================
   3つの画像リンク
========================================= */

.pc_space {
  margin-left: 1.2%;
  margin-right: 1.2%;
}

#link {
  width: 100%;
  margin: 20px auto 0;
  overflow: hidden;
}

#link li {
  float: left;
  width: 33.33%;
}

#link li:hover {
  opacity: 0.5;
}

#link li img {
  display: block;
  width: 100%;
}

/* =========================================
   企業理念
========================================= */

#rinen {
  border: 3px solid #3389CA;
  padding: 10px;
  margin: 20px auto 0;
  overflow: hidden;
}

#rinen img {
  width: 50%;
  float: left;
  margin-right: 2%;
}

#rinen #text_01 {
  float: left;
  font-size: 36px;
  color: #3389CA;
  width: 40%;
  margin-top: 3%;
}

#rinen #text_02 {
  float: left;
  font-size: 33px;
  color: #aaa;
  width: 40%;
  font-style: italic;
  margin-top: -5px;
}

#rinen #text_03 {
  float: left;
  width: 48%;
  margin-top: 1%;
}

#rinen #text_03 li {
  margin-left: 26px;
  font-size: 14px;
  list-style-type: disc;
  width: 100%;
  line-height: 30px;
}

/* =========================================
   タブレット調整
========================================= */

@media screen and (min-width: 781px) and (max-width: 1100px) {
  #header_01 .hm_menu_wrap {
    width: 480px;
    margin-top: -48px;
    float: right;
  }

  .home1 {
    display: none;
  }

  #header_01 #navi_01 li {
    margin-left: 20px;
  }
}

/* =========================================
   スマホ
========================================= */

@media screen and (max-width: 780px) {
  body.admin-bar.shouwa-front #header {
    top: 46px;
  }

  #header {
    height: 60px;
  }

  #header_01 {
    position: relative;
    max-width: 100%;
    margin: 0;
    height: 60px;
  }

  #header_01 #catch,
  #header .hr_w100_h5,
  #header_01 #txt_01 {
    display: none;
  }

  #header_01 #logo {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    width: 70%;
    height: auto;
    float: none;
    z-index: 3;
  }

  #shouwa-main {
    padding-top: 60px;
  }

  body.shouwa-front .pc-slider {
    display: none;
  }

  body.shouwa-front .sp-slider {
    display: block;
    width: 100%;
    margin: 0;
    height: 520px;
    padding: 0;
  }

  body.shouwa-front .sp-slider .shouwa-slide {
    height: 520px;
    background-position: center top;
    background-size: 100% auto;
    background-repeat: no-repeat;
  }

  body.shouwa-front .sp-slide01 {
    background-image: url("/wp-content/uploads/2021/05/slider_sp_1.jpg");
    animation-delay: 0s;
  }

  body.shouwa-front .sp-slide02 {
    background-image: url("/wp-content/uploads/2021/05/slider_sp_3.jpg");
    animation-delay: 4s;
  }

  body.shouwa-front .sp-slide03 {
    background-image: url("/wp-content/uploads/2021/05/slider_sp_2.jpg");
    animation-delay: 8s;
  }

  .sp-catch-title {
    display: block;
    margin: 20px 2% 10px;
    font-size: 24px;
    color: #3389CA;
    line-height: 1.4;
  }

  .pc_space {
    margin-top: 20px;
    margin-left: 0;
    margin-right: 0;
  }

  #link li {
    float: none;
    width: 96%;
    margin: 2%;
  }

  .hm_menu_check {
    display: none;
  }

  .hm_wrap {
    display: inline-block;
    position: fixed;
    top: 10px;
    left: 0;
    width: 100%;
    padding: 10px;
    z-index: 4;
  }

  body.admin-bar.shouwa-front .hm_wrap {
    top: 56px;
  }

  .hm_title {
    position: relative;
    color: #FF6600;
    display: inline-block;
    float: left;
    font-weight: bold;
    line-height: 30px;
    margin: 0 0 0 35%;
    opacity: 1;
    transform: translate3d(0, -50px, 0);
    transition: transform 0.6s, opacity 0.5s;
  }

  .hm_btn {
    position: relative;
    width: 30px;
    height: 27px;
    cursor: pointer;
    display: block;
    float: right;
    margin-right: 20px;
  }

  .hm_btn::before,
  .hm_btn::after {
    width: 30px;
    height: 3px;
    background: #999;
    display: block;
    content: '';
    position: absolute;
    transition: box-shadow 0.2s linear, transform 0.2s 0.2s;
    z-index: 5;
  }

  .hm_btn::before {
    box-shadow: #999 0 12px 0;
  }

  .hm_btn::after {
    bottom: 0;
  }

  .hm_menu_wrap {
    width: 100%;
    height: 10000px;
    background: #fff;
    position: absolute;
    left: 100%;
    top: -120px;
    transition: left 0.4s;
    z-index: 4;
  }

  .hm_menu_check:checked ~ .hm_title {
    opacity: 1;
    transform: none;
  }

  .hm_menu_check:checked ~ .hm_btn::before {
    box-shadow: transparent 0 0 0;
    transform: rotate(45deg) translate3d(6px, 11px, 0);
  }

  .hm_menu_check:checked ~ .hm_btn::after {
    transform: rotate(-45deg) translate3d(6px, -11px, 0);
  }

  .hm_menu_check:checked ~ .hm_menu_wrap {
    left: 0%;
  }

  #navi_01 {
    list-style-type: none;
    margin: 50px 0 0;
    padding: 170px 0;
    width: 100%;
  }

  #navi_01 li {
    width: 100%;
    border-bottom: solid 1px #999;
    margin: 10px !important;
  }

  #navi_01 li a {
    color: #777;
    display: block;
    overflow: hidden;
    padding: 5px 0 5px 22px;
    position: relative;
    text-decoration: none;
    z-index: 1;
  }

  #header_01 #navi_01 a::after {
    height: 0;
  }

  .hm_menu_close {
    width: 0;
    height: 0;
    background: #000;
    opacity: 0.6;
    position: absolute;
    right: 0;
    top: -120px;
    transition: all 0.3s;
  }

  .hm_menu_close label {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
  }

  .hm_menu_check:checked ~ .hm_menu_close {
    width: 100%;
    height: 10000px;
    opacity: 0.6;
  }

  .sumaho {
    display: block;
  }

  #rinen {
    border: none;
    margin-top: -10px;
    padding: 0 2%;
  }

  #rinen img {
    width: 100%;
    margin-right: 0;
    float: none;
  }

  #rinen #text_01 {
    font-size: 26px;
    color: #3389CA;
    width: 40%;
    margin-top: 0;
  }

  #rinen #text_02 {
    font-size: 20px;
    color: #aaa;
    width: 60%;
    font-style: italic;
    margin-top: 5px;
  }

  #rinen #text_03 {
    bottom: 0;
    left: 0;
    width: 100%;
    position: static;
  }
}


/* =========================================
   正和建設 微調整 02
   フォント・トップ画像余白調整
========================================= */

/* 全体をゴシック体に */
body.shouwa-front,
body.shouwa-front * {
  font-family: Arial, "Helvetica Neue", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif !important;
}
/* トップスライダーの左右余白をなくす */
body.shouwa-front .shouwa-slider {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* PCスライダーも横幅いっぱい */
body.shouwa-front .pc-slider {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* スライド画像も横幅いっぱい */
body.shouwa-front .shouwa-slide {
  width: 100% !important;
  background-size: 100% auto !important;
  background-position: center top !important;
}



/* =========================================
   スマホ表示調整
   キャッチ位置・スライダー高さ
========================================= */

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

  /* ヘッダー下の余白 */
  #shouwa-main {
    padding-top: 60px !important;
  }

  /* スマホ用キャッチをスライダー上に表示 */
  .sp-catch-title {
    display: block !important;
    margin: 18px 10px 8px !important;
    padding: 0 !important;
    font-size: 24px !important;
    line-height: 1.4 !important;
    color: #3389CA !important;
    font-weight: normal !important;
  }

  /* PCスライダー非表示 */
  body.shouwa-front .pc-slider {
    display: none !important;
  }

  /* スマホスライダーを縦長にする */
  body.shouwa-front .sp-slider {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    height: 740px !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  body.shouwa-front .sp-slider .shouwa-slide {
    height: 740px !important;
    background-position: center top !important;
    background-size: 100% auto !important;
    background-repeat: no-repeat !important;
  }
}


/* =========================================
   スマホ時：画像の左右余白をなくす
========================================= */
@media screen and (max-width: 780px) {

  .pc_space {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #link {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #link li {
    width: 100% !important;
    margin: 0 !important;
  }

  #link li img {
    width: 100% !important;
    display: block !important;
  }

  #rinen {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #rinen img {
    width: 100% !important;
    display: block !important;
  }
}


/* =========================================
   フッター
========================================= */

#shouwa-footer {
  margin-top: 40px;
  border-top: 5px solid #348CCC;
  background: #eee;
  text-align: center;
}

#shouwa-footer .footer-inner {
  padding: 35px 10px 25px;
}

#shouwa-footer .footer-logo img {
  width: 360px;
  max-width: 90%;
  height: auto;
}

#shouwa-footer .footer-address {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.7;
  color: #111;
}

#shouwa-footer .footer-tel {
  margin-top: 15px;
}

#shouwa-footer .footer-tel img {
  width: 360px;
  max-width: 90%;
  height: auto;
}

#shouwa-footer .footer-contact {
  margin-top: 18px;
}

#shouwa-footer .footer-contact a {
  display: inline-block;
  background: #f26c21;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
}

#shouwa-footer .footer-contact a::before {
  content: "✉";
  margin-right: 12px;
}

#shouwa-footer .footer-download {
  width: 95%;
  max-width: 900px;
  margin: 20px auto 0;
  border: 1px solid #555;
  background: #fff;
}

#shouwa-footer .footer-download a {
  display: block;
  padding: 12px 15px;
  color: #222;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
}

#shouwa-footer .footer-download span {
  display: inline-block;
  background: #555;
  color: #fff;
  font-size: 12px;
  padding: 8px 14px;
  margin-right: 18px;
}

#shouwa-footer .footer-copy {
  background: #444;
  color: #fff;
  font-size: 13px;
  padding: 22px 10px;
}

/* スマホフッター調整 */
@media screen and (max-width: 780px) {
  #shouwa-footer {
    margin-top: 30px;
  }

  #shouwa-footer .footer-inner {
    padding: 32px 10px 22px;
  }

  #shouwa-footer .footer-logo img {
    width: 340px;
  }

  #shouwa-footer .footer-address {
    font-size: 15px;
  }

  #shouwa-footer .footer-tel img {
    width: 390px;
    max-width: 96%;
  }

  #shouwa-footer .footer-contact a {
    font-size: 24px;
    padding: 18px 28px;
    border-radius: 8px;
  }

  #shouwa-footer .footer-download {
    width: calc(100% - 20px);
  }

  #shouwa-footer .footer-download a {
    font-size: 16px;
  }
}


/* =========================================
   スマホ：トップ画像リンクの下に余白
========================================= */
@media screen and (max-width: 780px) {

  #link li {
    margin-bottom: 18px !important;
  }

  #link li:last-child {
    margin-bottom: 0 !important;
  }

}


/* =========================================
   フッター DOWNLOAD枠 修正
========================================= */

#shouwa-footer .footer-download {
  width: calc(100% - 20px) !important;
  max-width: 900px !important;
  margin: 20px auto 0 !important;
  border: 1px solid #333 !important;
  background: #fff !important;
  box-sizing: border-box !important;
}

#shouwa-footer .footer-download a {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 0 !important;
  min-height: 52px !important;
  color: #222 !important;
  font-size: 18px !important;
  font-weight: bold !important;
  text-decoration: none !important;
}

#shouwa-footer .footer-download span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 120px !important;
  min-height: 52px !important;
  margin: 0 24px 0 0 !important;
  padding: 0 !important;
  background: #555 !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: bold !important;
  box-sizing: border-box !important;
}

#shouwa-footer .footer-download span::before {
  content: "⬇";
  margin-right: 6px;
  font-size: 18px;
}

#shouwa-footer .footer-download a::after {
  content: "協力業者様登録カード・指定請求書";
  margin-left: auto;
  margin-right: 12px;
  color: #f26c21;
  font-size: 9px;
  font-weight: bold;
}

/* スマホ時 */
@media screen and (max-width: 780px) {
  #shouwa-footer .footer-download {
    width: calc(100% - 20px) !important;
  }

  #shouwa-footer .footer-download a {
    min-height: 54px !important;
    font-size: 16px !important;
  }

  #shouwa-footer .footer-download span {
    width: 110px !important;
    min-height: 54px !important;
    margin-right: 18px !important;
    font-size: 12px !important;
  }

  #shouwa-footer .footer-download a::after {
    display: none !important;
  }
}


/* スマホの MENU 文字を非表示 */
.hm_title {
  display: none !important;
}


/* =========================================
   PCではキャッチタイトルを非表示
   スマホだけ表示
========================================= */

.sp-catch-title {
  display: none !important;
}

@media screen and (max-width: 780px) {
  .sp-catch-title {
    display: block !important;
  }
}