@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: temstech
Author URI: https://tems-tech.com/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/* 暫定：トップページのHOW TO ブログと施工事例を非表示 */
.hidden {
  display: none;
}


.pc-only {
  display: block;
}
.sp-only {
  display: none;
}
.pc-only.inline-block {
  display: inline-block;
}
.sp-only.inline-block {
  display: none;
}
.pc-only.inline {
  display: inline;
}
.sp-only.inline {
  display: none;
}
.pc-only.flex {
  display: flex;
}
.sp-only.flex {
  display: none;
}
.position-relative {
  position: relative;
}
.position-absolute {
  position: absolute;
}
.display-block {
  display: block;
}
.display-flex {
  display: flex;
}
.display-inline {
  display: inline;
}
.display-inline-block {
  display: inline-block;
}
.display-none {
  display: none;
}

.padding-0 {
  padding: 0 !important;
}
.padding-1 {
  padding: 1rem !important;
}
.padding-2 {
  padding: 2rem !important;
}
.padding-lr-1 {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}
.margin-0 {
  margin: 0 !important;
}
.margin-b-0 {
  margin-bottom: 0 !important;
}

.content,
.entry-content,
.entry-title {
  padding: 0 !important;
  margin-top: 0 !important;
}
.entry-content {
  margin-bottom: 0 !important;
}
article {
  margin-bottom: 0 !important;
}
body.archive #breadcrumb,
body.archive #content-in,
body.search #content-in,
body.single #breadcrumb,
body.single #content-in {
  width: 85%;
  margin: 0 auto;
}
body.archive #breadcrumb,
body.single #breadcrumb {
  padding: 0;
  margin-top: 1rem;
}
#content-bottom {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.content-top,
#search-3,
.search-box {
  margin-bottom: 0 !important;
}
.search-box {
  width: 1200px;
  margin: 0 auto;
}
.main {
  padding: 0 !important;
}

/* ↓段階リリースここから */
.top-cases-container {
  /* display: none; */
}
/* ↑ここまで */


.home .date-tags,
.home #toc {
  display: none;
}
#toc {
  background-color: #216DC5;
}
#toc label,
#toc li,
#toc a {
  color: white;
}
.wrap {
  width: 100%;
}

/*スライドインメニューを右から出す*/
.navi-menu-content{
  left: auto;
  right: 0;
  transform: translateX(101%);
}

.display-flex {
  display: flex;
}

.entry-card-taxonomy {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}
.entry-card-taxonomy > * {
  font-size: 0.7em;
  padding: 2px;
}
figure.entry-card-thumb.display-thumb {
  display: block !important;
}

#header-container {
  width: 1200px;
  margin: 1rem auto 0;
}

#menu-mobile-menu.mobile-menu-buttons .menu-button {
  justify-content: flex-start;
}
#menu-mobile-menu.mobile-menu-buttons .menu-button:nth-of-type(2) a {
  background-color: #216DC5;
  color: white;
  padding: 2px 10px;
  border-radius: 5px;
}
#menu-mobile-menu.mobile-menu-buttons .menu-button #navi-menu-open {
  background-color: #E94709;
  color: white;
  padding: 2px 10px;
  border-radius: 5px;
}
#menu-footer-mobile.mobile-menu-buttons .menu-button:nth-of-type(1) a,
#menu-footer-mobile.mobile-menu-buttons .menu-button:nth-of-type(3) a,
#menu-footer-mobile.mobile-menu-buttons .menu-button.sidebar-menu-button #sidebar-menu-open {
  background-color: #216DC5;
  color: white;
  padding: 2px 10px;
  border-radius: 5px;
}
#menu-footer-mobile.mobile-menu-buttons .menu-button:nth-of-type(2) a {
  background-color: #E94709;
  color: white;
  padding: 2px 10px;
  border-radius: 5px;
}

.logo-menu-button img {
  padding: 5px 10px;
}

/* トップページ */
.top-hero-container {
  position: relative;
  width: 90%;
  margin: 1rem auto 0;
}
.top-hero-container h2 {
  position: absolute;
  top: 6%;
  left: 14%;
  background: none;
  color: white;
  font-size: 5rem;
  text-shadow: 0 0 0.72rem rgba(25, 96, 165, 0.69);
}
.top-hero-service {
  position: absolute;
  bottom: 5%;
  left: 11%;
  width: 38%;
}
.top-hero-service figure {
  position: relative;
}
.top-hero-service figcaption {
  position: absolute;
  bottom: 0.3rem;
  right: 0;
  left: 0;
  margin: 0 auto;
  text-align: center;
  font-weight: bold;
  font-size: 1.3rem;
  line-height: 1.6rem;
  color: #216DC5;
}

.top-trouble-flex {
  width: 80%;
  margin: 2rem auto;
}
.top-trouble-header {
  background-color: #352F2F;
  font-size: 2rem;
  color: white;
  padding: 0.5rem;
  line-height: 2.8rem;
  margin-bottom: 1rem;
}
.top-trouble-header strong {
  display: inline-block;
  font-size: 3rem;
  background: linear-gradient(-137deg, #e5ac00 29%, #e5ac00 41%, #f6d433 53%, #e5ac00 66%, #ffd849 93%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}
.top-trouble-header span {
  border-bottom: 3px solid #F5C202;
}
.top-trouble-box figcaption {
  font-weight: bold;
  font-size: 16px;
  padding: 0;
}
.top-trouble-box figcaption strong {
  display: inline-block;
  background-color: #216DC5;
  border-radius: 20px;
  color: white;
  width: 100%;
  padding: 2px;
}
.top-solution-container {
  background-color: #A9D2F2;
  padding-top: 1em;
  padding-bottom: 2em;
}
.top-solution-text {
  color: white;
  font-size: 1.6rem;
  font-weight: bold;
  text-shadow: 2px 2px 3px 	rgba(6,70,167,0.6);
}
.top-solution-text img {
  margin: 0 8px;
  position: relative;
  top: 7px;
}
.top-service-title {
  background-color: #0646A7;
  text-align: center;
  margin-top: 4rem;
  display: flex;
  align-items: center;
}
.top-solution-container h3 {
  color: white;
  border: none;
  position: relative;
  display: inline-flex;
  padding-left: 6rem;
  padding-right: 6rem;
}
.top-solution-container h3 span::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2.8rem;
  top: -1rem;
  left: 0;
  position: absolute;
  background: url(/wp-content/uploads/2025/03/reason_l.png) center no-repeat;
  background-size: 100%;
}
.top-solution-container h3 span::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2.8rem;
  top: -1rem;
  right: 0;
  position: absolute;
  background: url(/wp-content/uploads/2025/03/reason_r.png) center no-repeat;
  background-size: 100%;
}
.top-solution-container h4 {
  border-top: none;
  border-color: white;
  margin-bottom: 10px;
}
.top-service-box {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  border: 1px solid white;
  box-shadow: 1px 1px 2px #0646A7;
  align-items: center !important;
}
.top-service-box p {
  margin-right: 1rem;
  margin-bottom: 0;
  padding: 1rem;
  border: 1px solid #E6E4D7;
  font-weight: bold;
  min-height: 80px;
  display: flex;
  align-items: center;
}
.top-service-box .wp-block-button__link {
  background-color: #0646A7;
  transition: .2s;
  padding: 10px;
}
.top-service-box  .wp-block-button__link:hover {
  background-color: #216DC5;
  color: white;
}
.top-blog-container {
  padding-top: 2rem;
  padding-bottom: 2rem;
  background-color: #DCEFFE;
  margin-bottom: 0 !important;
}
.top-blog-container h2.top-blog-header {
  background-color: #0646A7;
  position: relative;
}
.top-blog-container h2.top-blog-header span {
  display: block;
  font-size: 1.6rem;
  background: linear-gradient(-137deg, #e5ac00 29%, #e5ac00 41%, #f6d433 53%, #e5ac00 66%, #ffd849 93%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}
.top-blog-container h2.top-blog-header span::before {
  content: "";
  position: absolute;
  left: 60px;
  top: -75px;
  width: 150px;
  height: 200px;
  background: url(/wp-content/uploads/2025/03/trouble_person01.png) center no-repeat;
  background-size: 100%;
}

.custom-post-item.blog {
  padding: 0 10px;
}
.custom-post-item.blog a {
  background: white url(/wp-content/uploads/2025/03/icon_set.png);
  background-repeat: no-repeat;
  background-position: left 10px bottom;
  background-size: 50px;
  border-color: var(--cocoon-three-d-border-colors);
  border-width: 1px;
  border-style: solid;
  text-decoration: none;
  display: block;
  color: var(--cocoon-text-color);
  padding: 0;
  transition: all 0.3s ease-in-out;
  position: relative;
  height: 100%;
  margin-bottom: 1em !important;
  box-shadow: 2px 2px 3px rgba(6,70,167,0.6);
}
.custom-post-item.blog a h2 {
  background-color: #F8EDA4;
  font-size: 18px;
  margin: 0 0 5px 0;
  line-height: 1.6;
  font-weight: bold;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  padding: 5px;
  min-height: 4rem;
  display: flex;
  align-items: center;
}
.custom-post-item.blog a p {
  padding-right: 10px !important;
}

.blog-date,
.blog-taxonomies {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0.7em;
}
.top-blog-container .wp-block-button__link,
.top-cases-container .wp-block-button__link {
  background-image: -webkit-linear-gradient(-90deg, rgba(12,104,203, 0.99608) 0%, rgb(0,48,142) 59%, rgb(0,48,142) 100%);
  width: 300px;
  border-radius: 40px;
  transition: .2s;
}
.top-blog-container .wp-block-button__link:hover,
.top-cases-container .wp-block-button__link:hover {
  color: white;
  transform: scale(1.1);
}

.top-cases-container {
  padding-top: 3rem;
  padding-bottom: 3rem;
  background: url(/wp-content/uploads/2025/03/trouble_bg.png);
  margin-bottom: 0 !important;
}
.top-cases-header {
  background-color: #352F2F !important;
}
.top-cases-header span {
  font-size: 2rem;
  background: linear-gradient(-137deg, #e5ac00 29%, #e5ac00 41%, #f6d433 53%, #e5ac00 66%, #ffd849 93%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0.5rem;
  line-height: 2.8rem;
  margin-bottom: 1rem;
}
.top-cases-text {
  text-align: center;
}
.top-cases-text p {
  border: none;
  position: relative;
  display: inline-flex;
  padding-left: 6rem;
  padding-right: 6rem;
}
.top-cases-text p::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2.8rem;
  top: 0;
  left: 0;
  position: absolute;
  background: url(/wp-content/uploads/2025/03/reason_l.png) center no-repeat;
  background-size: 100%;
}
.top-cases-text p::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2.8rem;
  top: 0;
  right: 0;
  position: absolute;
  background: url(/wp-content/uploads/2025/03/reason_r.png) center no-repeat;
  background-size: 100%;
}
.entry-card-title.card-title.e-card-title {
  font-size: 1.2rem !important;
  min-height: 4rem;
}

.entry-card.e-card.cases {
  display: flex;
  gap: 3rem;
  justify-content: space-between;
}
.custom-post-item.cases {
  margin-bottom: 1em !important;
  background-color: white;
  border: 1px solid #6A737A;
}
.custom-post-item.cases a {
  background: linear-gradient(180deg, #DFECF5 0%, #DFECF5 20%, #FFFFFF 50%, #FFFFFF 100%);
  position: relative;
}
.no-thumbnail .card-thumb, .no-thumbnail .widget-entry-card-pv {
  display: block !important;
}
.entry-card-title.card-title.e-card-title {
  font-size: 1.4rem;
  margin: 0 0 5px 0;
  line-height: 1.6;
  font-weight: bold;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  padding: 0;
  background-color: transparent;
}
.cases-owner,
.entry-card-info.e-card-info p {
  padding: 0;
  margin: 0 !important;
  font-size: 1rem;
}
.entry-card-content .display-flex {
  align-items: center;
  justify-content: space-between;
}
.cases-costs-box {
  border: 1px solid #352F2F;
  padding: 0;
  align-items: center;
}
.cases-costs-box p {
  font-size: 1rem;
}
.cases-costs-box .cases-costs-title {
  background-color: #0546A0;
  color: white;
  padding: 10px !important;
}
.cases-costs-box .cases-costs,
.cases-costs-box .cases-costs-yen {
  padding: 10px !important;
  background-color: white;
}
.cases-detail-button {
  background-color: white;
  border: 1px solid #0546A6;
  color: #0546A6;
  padding: 5px 30px;
  text-decoration: none;
  font-size: 1em;
  border-radius: 40px;
  position: absolute;
  bottom: 1rem;
  right: 3rem;
  transition: .2s;
}
.cases-detail-button:hover {
  background-color: #0546A6;
  color: white;
  opacity: 0.8;
}

#content-bottom aside,
#content-bottom .footer-info-container {
  margin-bottom: 0 !important;
}

.footer-info-container {
  background-color: #F7F5EA;
  padding-top: 2rem;
}
.footer-info-container h2 {
  background: #352F2F url(/wp-content/uploads/2025/03/logomark-color.png);
  background-repeat: no-repeat;
  background-size: 100px;
  background-position: right -10px bottom -20px;
  color: white;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 5px solid white;
  border-left: 5px solid white;
  border-right: 5px solid white;
}
.footer-info-container table {
  border: 5px solid white;
}
.footer-info-container table:not(.has-border-color) :where(th, td) {
  border: none;
}
.footer-info-container table tr td:first-child {
  background-color: #352F2F;
  color: white;
  border-top: 5px solid white;
  width: 30%;
}
.footer-info-container table tr td:last-child {
  background-color: white;
  border-top: 5px solid white;
}

#footer-in {
  width: 80%;
}
#footer-in > aside {
  margin-bottom: 0 !important;
}
footer.footer {
  margin-top: 0 !important;
}
footer.footer {
  background-color: #352F2F;
}
footer.footer a,
footer.footer p {
  color: white !important;
}
footer.footer a:hover {
  color: #352F2F !important;
}
footer.footer .widget_media_image {
  background-color: white;
  border: 2px solid #E94709;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  margin-bottom: 2rem;
}
footer.footer .widget_media_image img {
 width: 200px; 
}
.footer-bottom {
  color: white;
  margin-top: 0 !important;
  border-top: 1px solid white;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1200px以下*/
@media screen and (max-width: 1200px){
  #content-in,
  #header-container,
  .search-box {
    width: calc(100% - 10px);
  }
  .top-hero-container h2 {
    top: 8%;
    left: 14%;
    font-size: 4rem;
  }
  .top-hero-service figcaption {
    bottom: 0.3rem;
    font-size: 1rem;
    line-height: 1.2rem;
  }
}

/*1023px以下*/
@media screen and (max-width: 1023px){
  .top-hero-container h2 {
    top: 8%;
    left: 14%;
    font-size: 3rem;
  }
  .top-hero-service figcaption {
    font-size: 0.8rem;
    line-height: 1rem;
  }
}

/*834px以下*/
@media screen and (max-width: 834px){
  .top-hero-container h2 {
    top: 7%;
    left: 16%;
    font-size: 3rem;
  }
  .footer-widgets {
    display: block;
  }
}

/*768px以下*/
@media screen and (max-width: 768px){
  .pc-only {
    display: none;
  }
  .sp-only {
    display: block;
  }
  .pc-only.inline-block {
    display: none;
  }
  .sp-only.inline-block {
    display: inline-block;
  }
  .pc-only.inline {
    display: none;
  }
  .sp-only.inline {
    display: inline;
  }
  .pc-only.flex {
    display: none;
  }
  .sp-only.flex {
    display: flex;
  }

  .top-hero-container h2 {
    top: 9%;
    left: 20%;
    font-size: 4rem;
  }
  .top-hero-service {
    bottom: 5%;
    left: 2%;
    width: 96%;
  }
  .top-hero-service figcaption {
    font-size: 2rem;
    line-height: 2.2rem;
    bottom: 0.5rem;
  }

  .entry-card.e-card.cases {
    gap: 1rem;
  }
}

/*600px以下*/
@media screen and (max-width: 600px){
  .top-hero-container {
    width: 97%;
  }
  .top-hero-container h2 {
    top: 6%;
    left: 20%;
    font-size: 3rem;
  }
  .top-hero-service figcaption {
    font-size: 1.5rem;
    line-height: 1.8rem;
    bottom: 0.5rem;
  }
  .top-trouble-header {
    font-size: 1.3rem;
    line-height: 1.8rem;
  }
  .top-trouble-header strong {
    font-size: 1.8rem;
    line-height: 1;
  }
  .top-trouble-flex {
    width: 100%;
  }
  .top-service-title {
    margin-top: 2rem;
  }
  .top-cases-text p {
    padding-left: 4rem;
    padding-right: 4rem;
  }
  .custom-post-item.cases {
    width: 90%;
  }
  .cases-detail-button {
    position: relative;
    bottom: -1rem;
    right: 0;
  }
  #footer-in {
    width: 100%;
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
  .main {
    padding: 0 !important;
  }
  .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.top-trouble-box {
    width: 46% !important;
    flex-basis: 46% !important;
  }

  .top-hero-container h2 {
    top: 5%;
    left: 20%;
    font-size: 2.5rem;
  }
  .top-hero-service figcaption {
    font-size: 1rem;
    line-height: 1.2rem;
    bottom: 0.3rem;
  }
  .top-blog-container h2.top-blog-header span::before {
    content: "";
    position: absolute;
    left: -10px;
    top: -75px;
    width: 120px;
    height: 227px;
    background: url(/wp-content/uploads/2025/03/trouble_person01.png) center no-repeat;
    background-size: 100%;
  }

  .entry-card-title.card-title.e-card-title {
    font-size: 16px;
  }
}


/* blog */
body:not(.home) .article h2.call-title,
body:not(.home) .article h2.result-title {
  background-color: #352F2F;
  color: white;
}
body:not(.home) .article h2:not(.call-title),
body:not(.home) .article h2:not(.result-title) {
  background-color: #0546A6;
  color: white;
}

#archive-title {
  background-color: #352F2F;
  text-align: center;
  padding: 1rem;
}
#archive-title {
  color: white;
}
#archive-title span {
  display: block;
  font-size: 1.6rem;
  background: linear-gradient(-137deg, #e5ac00 29%, #e5ac00 41%, #f6d433 53%, #e5ac00 66%, #ffd849 93%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.wp-block-latest-posts {
  background-color: white;
  padding: 1em;
  box-shadow: 1px 1px 1px #ccc;
}

.entry-card-wrap.blog-card {
  position: relative;
  background: linear-gradient(180deg, #F8EDA4 0%, #F8EDA4 20%, #FFFFFF 50%, #FFFFFF 100%);
}

.sidebar {
  padding: 0;
}
.sidebar h3 {
  background-color: #0646A7;
  color: white;
}
.sidebar li {
  border-bottom: 1px solid #0646A7;
}
.sidebar a {
  font-size: 1rem;
}
