@charset "UTF-8";

/*
Theme Name: Cocoon Child
Template: cocoon-master
Version: 1.1.3
*/

/* =========================================================
   正和建設 共通
========================================================= */

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

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

body.shouwa-front *,
body.shouwa-front *::before,
body.shouwa-front *::after {
  box-sizing: border-box;
}

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

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

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

.clear {
  clear: both;
}

/* Cocoon側の余計な枠をトップだけ消す */
body.shouwa-front #container,
body.shouwa-front #content,
body.shouwa-front .wrap,
body.shouwa-front .content,
body.shouwa-front .content-in,
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;
}

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

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

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

/* 青いお問い合わせ帯 */
#header_01 #txt_01 {
  position: absolute;
  top: 0;
  right: 150px;
}

#header_01 #txt_01 a {
  display: block;
  width: 200px;
  background-color: #348CCC;
  font-size: 10px;
  color: #fff;
  text-align: center;
  padding: 6px 10px 10px;
  line-height: 1.2;
}

/* キャッチ */
#header_01 #catch {
  position: absolute;
  left: 0;
  top: 50px;
  width: 280px;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.4;
}

/* ロゴ */
#header_01 #logo {
  position: absolute;
  left: 0;
  top: 76px;
  width: 280px;
  height: auto;
  margin: 0;
  padding: 0;
  line-height: 0;
  z-index: 3;
}

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

#logo img {
  height: auto;
}

/* メニュー */
.hm_menu_check,
.hm_btn,
.hm_title {
  display: none;
}

#header_01 .hm_wrap {
  position: absolute;
  top: 0;
  right: 0;
  width: calc(100% - 320px);
  height: 120px;
}

#header_01 .hm_menu_wrap {
  position: static;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  background: transparent;
}

/* 電話番号 */
#header_01 .hm_menu_wrap > img {
  position: absolute;
  right: 0;
  top: 36px;
  width: 330px;
  max-width: 330px;
  height: auto;
}

/* ナビ */
#header_01 #navi_01 {
  position: absolute;
  right: 0;
  top: 88px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 36px;
  width: auto;
  margin: 0;
  padding: 0;
}

#header_01 #navi_01 li {
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.5;
  white-space: nowrap;
}

#header_01 #navi_01 a {
  position: relative;
  display: inline-block;
  padding-bottom: 3px;
  color: #333;
  text-decoration: none;
  transition: color .2s ease;
}

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

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

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

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

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

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

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

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

/* =========================================================
   トップスライダー
========================================================= */

.shouwa-slider {
  position: relative;
  width: 100%;
  height: 900px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.pc-slider {
  display: block;
}

.sp-slider {
  display: none;
}

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

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

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

.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 {
  width: 97.6%;
  margin: 20px auto 0;
}

#link {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
}

#link li {
  width: 33.333%;
}

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

#link li:hover {
  opacity: .7;
}

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

#rinen {
  display: grid;
  grid-template-columns: 50% 1fr;
  gap: 2%;
  width: 100%;
  margin: 20px auto 0;
  padding: 10px;
  border: 3px solid #3389CA;
}

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

#rinen #text_01 {
  color: #3389CA;
  font-size: 36px;
  line-height: 1.2;
  margin-top: 3%;
}

#rinen #text_02 {
  color: #aaa;
  font-size: 33px;
  font-style: italic;
  line-height: 1.2;
  margin-top: -5px;
}

#rinen #text_03 {
  margin-top: 10px;
  padding-left: 1.4em;
  list-style: disc;
}

#rinen #text_03 li {
  margin: 0;
  font-size: 14px;
  line-height: 30px;
  list-style: disc;
}

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

#footer {
  clear: both;
  width: 100%;
  margin-top: 100px;
  padding: 0;
  background-color: #EFEFEF;
}

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

#footer #navi_02 {
  width: 97%;
  margin: 0 auto;
  overflow: hidden;
}

#footer #navi_02 #navi {
  float: left;
  margin: 0;
  padding: 0;
}

#footer #navi_02 #navi li {
  float: left;
  margin: 30px 30px 30px 0;
  font-size: 14px;
  line-height: 1.5;
}

#footer #navi_02 #top1 {
  float: right;
  margin: 30px 10px 30px 0;
  color: #222;
  font-size: 14px;
}

.hr_g_w100_h1 {
  clear: both;
  width: 100%;
  height: 1px;
  background-color: #999;
}

#footer #navi_02 a {
  position: relative;
  display: inline-block;
  padding-bottom: 3px;
  color: #222;
  transition: color .2s ease;
}

#footer #navi_02 a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #ff7043;
  transform: translateX(-50%);
  transition: width .2s ease;
}

#footer #navi_02 a:hover {
  color: #ff7043;
}

#footer #navi_02 a:hover::after {
  width: 100%;
}

/* フッター下段 */
#footer #logo_02 {
  position: relative;
  width: 97%;
  min-height: 145px;
  margin: 30px auto 0;
  padding: 0 0 30px;
  text-align: left;
}

/* ロゴ＋住所 */
#footer #logo_02 > img {
  float: left;
  display: block;
  width: 300px;
  max-width: 300px;
  margin: 0 30px 20px 0;
}

#footer #logo_02 #address {
  float: left;
  display: block;
  margin: 0;
  padding: 10px 0 0;
  color: #222;
  font-size: 12px;
  line-height: 1.6;
  text-align: left;
}

/* お問い合わせ＋電話 */
#feature_wrapper {
  clear: left;
  float: left;
  display: block;
  margin: 0;
  padding: 0;
}

#footer #logo_02 #inquery {
  float: left;
  width: 200px;
  margin: 10px 20px 0 0;
}

#footer #logo_02 #inquery a {
  display: block;
  width: 200px;
  padding: 0;
  background: none;
  border: none;
}

#footer #logo_02 #inquery img {
  display: block;
  width: 200px;
  max-width: 200px;
}

#footer #logo_02 #tel_02 {
  float: left;
  width: 350px;
  margin: 0 40px 0 0;
}

#footer #logo_02 #tel_02 img {
  display: block;
  width: 350px;
  max-width: 350px;
}

/* DOWNLOAD：画像版 */
#footer #logo_02 #download {
  position: absolute;
  right: 0;
  top: 52px;
  width: 500px;
}

#footer #logo_02 #download a {
  display: block;
  width: 500px;
  padding: 0;
  background: none;
  border: none;
}

#footer #logo_02 #download img {
  display: block;
  width: 500px;
  max-width: 500px;
}

/* 文字版DOWNLOADが残っていた場合は消す */
#download .download_label,
#download .download_main,
#download .download_sub {
  display: none !important;
}

#footer #copylight {
  clear: both;
  width: 100%;
  margin: 0;
  padding: 20px;
  background-color: #555;
  color: #fff;
  text-align: center;
  font-size: small;
  line-height: 1.4;
  box-sizing: border-box;
}

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

@media screen and (min-width: 781px) and (max-width: 1100px) {
  #header_01 .hm_wrap {
    width: 520px;
  }

  #header_01 #navi_01 {
    gap: 18px;
  }

  #header_01 #navi_01 li:first-child {
    display: none;
  }

  #footer #logo_02 {
    min-height: auto;
  }

  #footer #logo_02 #download {
    position: static;
    clear: both;
    width: 500px;
    padding-top: 20px;
  }
}

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

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

  #header {
    height: 60px;
  }

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

  #header_01 {
    width: 100%;
    max-width: 100%;
    height: 60px;
  }

  #header_01 #logo {
    position: absolute;
    left: 10px;
    top: 50%;
    width: 70%;
    transform: translateY(-50%);
  }

  #header_01 .hm_wrap {
    position: static;
    width: auto;
    height: auto;
  }

  .hm_menu_check {
    display: none;
  }

  .hm_btn {
    display: block;
    position: fixed;
    top: 17px;
    right: 20px;
    width: 30px;
    height: 27px;
    cursor: pointer;
    z-index: 10002;
  }

  body.admin-bar.shouwa-front .hm_btn {
    top: 63px;
  }

  .hm_btn::before,
  .hm_btn::after,
  .hm_btn span {
    content: "";
    position: absolute;
    left: 0;
    width: 30px;
    height: 3px;
    background: #999;
    transition: transform .25s ease, opacity .2s ease;
  }

  .hm_btn::before {
    top: 0;
  }

  .hm_btn span {
    top: 12px;
  }

  .hm_btn::after {
    bottom: 0;
  }

  .hm_menu_wrap {
    position: fixed !important;
    top: 60px !important;
    right: -100%;
    width: 100%;
    height: calc(100vh - 60px);
    padding: 70px 20px 40px;
    background: #fff;
    z-index: 10000;
    overflow-y: auto;
    transition: right .3s ease;
  }

  body.admin-bar.shouwa-front .hm_menu_wrap {
    top: 106px !important;
    height: calc(100vh - 106px);
  }

  .hm_menu_check:checked ~ .hm_btn::before {
    transform: translateY(12px) rotate(45deg);
  }

  .hm_menu_check:checked ~ .hm_btn span {
    opacity: 0;
  }

  .hm_menu_check:checked ~ .hm_btn::after {
    transform: translateY(-12px) rotate(-45deg);
  }

  .hm_menu_check:checked ~ .hm_menu_wrap {
    right: 0;
  }

  .hm_menu_close {
    display: none;
  }

  #header_01 .hm_menu_wrap > img {
    display: none;
  }

  #header_01 #navi_01 {
    position: static;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  #header_01 #navi_01 li {
    border-bottom: 1px solid #999;
    font-size: 16px;
  }

  #header_01 #navi_01 a {
    display: block;
    padding: 14px 0 14px 22px;
    color: #777;
  }

  #header_01 #navi_01 a::after {
    display: none;
  }

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

  .sp-catch-title {
    display: block;
    margin: 18px 10px 8px;
    padding: 0;
    color: #3389CA;
    font-size: 24px;
    line-height: 1.4;
    font-weight: 400;
  }

  .pc-slider {
    display: none;
  }

  .sp-slider {
    display: block;
    height: 740px;
    margin: 0;
  }

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

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

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

  .pc_space {
    width: 100%;
    margin-top: 20px;
  }

  #link {
    display: block;
  }

  #link li {
    width: 100%;
    margin-bottom: 18px;
  }

  #rinen {
    display: block;
    width: 100%;
    margin-top: 0;
    padding: 0;
    border: none;
  }

  #rinen #text_01,
  #rinen #text_02,
  #rinen #text_03 {
    padding-left: 14px;
    padding-right: 14px;
  }

  #rinen #text_01 {
    display: inline-block;
    width: 40%;
    font-size: 26px;
  }

  #rinen #text_02 {
    display: inline-block;
    width: 58%;
    font-size: 20px;
    margin: 0;
  }

  #rinen #text_03 {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.9;
  }

  #footer {
    margin-top: 20px;
  }

  #footer #navi_02,
  .hr_g_w100_h1 {
    display: none;
  }

  #footer #logo_02 {
    width: 95%;
    min-height: 0;
    margin: 20px auto 0;
    padding: 0 0 20px;
    text-align: center;
  }

  #footer #logo_02 > img {
    float: none;
    width: 80%;
    max-width: 320px;
    margin: 0 auto;
  }

  #footer #logo_02 #address {
    float: none;
    padding: 15px 10px 0;
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
  }

  #feature_wrapper {
    float: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
  }

  #footer #logo_02 #tel_02 {
    float: none;
    order: 1;
    width: 100%;
    margin: 0;
  }

  #footer #logo_02 #tel_02 img {
    width: 90%;
    max-width: 350px;
    margin: 0 auto;
  }

  #footer #logo_02 #inquery {
    float: none;
    order: 2;
    width: 70%;
    max-width: 260px;
    margin: 0 auto;
  }

  #footer #logo_02 #inquery a,
  #footer #logo_02 #inquery img {
    width: 100%;
    max-width: 260px;
  }

  #footer #logo_02 #download {
    position: static;
    width: 100%;
    margin-top: 20px;
  }

  #footer #logo_02 #download a,
  #footer #logo_02 #download img {
    width: 100%;
    max-width: none;
  }
}