@charset "utf-8";
/*
Template: jstork
Theme Name: stork_custom
Theme URI:http://open-cage.com/stork/
*/

/* 共通 */
@media only screen and (min-width: 768px) {
  .sp-only {
    display: none;
  }
}
.entry-content .list-post ul li:before {
  width: 0;
  height: 0;
}
.entry-content .list-post ul li {
  padding-left: 0;
}
a {
  text-decoration: none;
}

/* メニューアイコン */
@media only screen and (max-width: 767px) {
  #menu-main a:before {
    font-weight: 900;
    color: #1b1464;
    margin: 0 15px 0 0px;
    font-size: 1.2em;
  }
}
@media only screen and (min-width: 768px) {
  .icon-home a:before {
    font-family: Font Awesome\5 Free;
    content: "\f015\A";
  }
  .icon-area a:before {
    font-family: Font Awesome\5 Free;
    content: "\f238\A";
  }
  .icon-category a:before {
    font-family: Font Awesome\5 Free;
    content: "\f1ad\A";
  }
  .icon-contact a:before {
    font-family: "Font Awesome 5 Free";
    content: "\f0e0\A";
  }
}
.widget.widget_nav_menu li a span {
  display: inline;
}

/* ヘッダー */
header {
  position: relative;
  z-index: 1;
}
.header {
  margin: 0 auto;
}
div#inner-header {
  display: flex;
  justify-content: end;
  align-items: center;
  flex-wrap: wrap;
}
.nav li li {
  display: flex;
  align-items: center;
  text-align: center;
}
@media only screen and (min-width: 768px) {
  #menu-main li {
    width: auto;
    padding: 0em 0.6em 0em 0.6em;
  }
}
@media only screen and (max-width: 767px) {
  #menu-main li {
    /* margin-top: 4em; */
    padding: 0em 0.6em 0em 0.6em;
  }
}
@media only screen and (min-width: 1166px) {
  .nav > li > a {
    display: block;
    text-decoration: none;
    line-height: 1.3;
    padding: 15px 0.6em 7px !important;
  }
  div#inner-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
  }
}
.list-box img,
.example-main img {
  object-fit: cover;
  width: 100%;
  height: 300px !important;
}

#logo a img {
  width: 100%;
}
@media only screen and (max-width: 767px) {
  #logo a img {
    width: auto;
    margin-top: 1px;
    max-width: 100%;
    max-height: 50px;
  }
}
@media only screen and (min-width: 768px) {
  #logo img {
    max-height: 60px;
  }
  .main-description {
    font-size: 0.5em;
  }
  #inner-header {
    display: flex;
  }
  #menu-main li {
    line-height: 0.1em;
  }
  .main-example-link a {
    color: #ffffff;
  }
  .nav_btn.search_btn {
    background: rgba(40, 108, 255, 0.1);
  }
}
@media only screen and (max-width: 767px) {
  .main-description {
    display: none;
  }
  .main-example-link {
    display: none;
  }
}
@media only screen and (min-width: 1166px) {
  .d-5of7 {
    width: 100%;
  }
  #g_nav {
    position: absolute;
    right: 0px;
    top: 1.5em;
  }
  h2 {
    font-size: 2.5em;
    line-height: 1em;
  }
  .main-example-link {
    position: absolute;
    right: 70px;
    background: #286caf;
    padding: 0.25em 0.5em 0.25em 0.5em;
    font-size: 0.85em;
    border-radius: 0.25em;
    top: 0.5em;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1165px) {
  #g_nav {
    margin-top: 2.65em;
  }
  h2 {
    font-size: 2.5em;
    line-height: 1em;
  }
  .main-example-link {
    position: absolute;
    right: 70px;
    background: #286caf;
    padding: 0.15em 0.5em 0.15em 0.5em;
    font-size: 1em;
    border-radius: 0.25em;
    top: 0.65em;
  }
}

/* メインページ ヘッダー */
#custom_header {
  height: 100vh;
  background-size: cover !important;
  margin-bottom: 0;
  background: none;
}
#main_header_bg {
  height: 100vh;
  background-size: cover !important;
  margin-bottom: 0;
  background: none;
  background-image: url("https://fresh-home-reform.com/wp-content/uploads/2021/08/1.jpg");
}

#inner-header {
  background: none;
}

#custom_header .wrap .header-text {
  font-size: 0.8em;
  text-shadow: black 0 0 5px;
}
.header-text,
.header-text h2 {
  letter-spacing: 0.05em !important;
  line-height: 1.25em !important;
}

@media only screen and (max-width: 767px) {
  #custom_header .wrap .header-text {
    margin-top: 2em;
    padding: 1em 0.5em 2em 0.5em;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1165px) {
  #custom_header .wrap .header-text {
    margin-top: 2em;
    padding: 2em;
  }
}
@media only screen and (min-width: 1166px) {
  #custom_header .wrap .header-text {
    margin-top: 0;
    padding: 1em;
  }
}
#custom_header .wrap .header-text h2 {
  font-weight: bold;
  font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif !important;
}

/* HOME画面アニメーション */
#slider {
  width: 100%;
  height: 100vh; /*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
}

#custom_header {
  color: #ffffff;
  background: none !important;
  position: absolute;
  top: 0;
  z-index: 0;
}
#slider {
  width: 100%;
  height: 100vh;
  z-index: -2;
  margin-top: -3.5em;
}
.home-company-name {
  position: absolute;
  bottom: 0;
  padding: 2em;
  left: 50%;
  transform: translate(-50%, 0%);
  text-shadow: black 0 0 5px;
}
@media screen and (max-width: 767px) {
  .home-company-name {
    bottom: 6em;
  }
  .member-list ul {
    display: flex;
    flex-wrap: wrap;
  }
  .member-list li {
    width: 50%;
  }
}

/* HOME画面セクション */
div#content,
div#inner-content {
  background: #ffffff !important;
}
div#content,
div#inner-content {
  background: #ffffff;
}
.entry-content {
  overflow: visible;
}
#main {
  padding: 0em 1em 1em 1em !important;
}
.main-title {
  background: #4f74ad;
  color: #ffffff;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding-right: calc(50vw - 50%);
  padding-left: calc(50vw - 50%);
  text-align: center;
  padding-top: 0.01em;
  padding-bottom: 0.01em;
  position: relative;
  margin-bottom: 1.5em;
}
.main-title::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-top: 15px solid #4f74ad; /* 好みで色を変えてください */
  border-right: 15px solid transparent;
  border-left: 15px solid transparent;
}

/* 施工事例ページ */
.example {
  margin-top: 2.2em;
}
.example-company {
  background: #286caf;
  color: #ffffff;
  padding: 0.5em 1em 0.5em 1em;
  text-align: center;
  font-weight: 900;
}
.entry-content .example ul li:before {
  width: 0 !important;
  height: 0 !important;
}
.entry-content .example ul li {
  padding-left: 0 !important;
}
.example-overview li {
  display: table;
  min-height: 70px;
  margin: 0;
  padding: 0.5em 0;
}
.example-main h1 {
  margin: 0.1em 0;
}
.list-title {
  font-size: 0.8em;
  text-align: center;
  position: relative;
  display: table-cell;
  height: 100%;
  color: #777;
  vertical-align: top;
  padding: 0.5em;
}
.list-text {
  position: relative;
  display: table-cell;
  padding: 0.5em;
  line-height: 1.5;
  font-size: 1.2em;
  vertical-align: middle;
  width: 100%;
  font-weight: 900;
}
.text-small {
  font-size: 0.8em;
}
.list-icon {
  width: 40px;
}
.example-overview li {
  border-bottom: 1px dashed rgba(0, 0, 0, 0.25);
}
.example-overview li:nth-of-type(1) {
  border-top: 1px dashed rgba(0, 0, 0, 0.25);
}
.sub-image li {
  padding: 0 !important;
}
.sub-image img {
  margin: 0.25em 0 !important;
}

.example-essentials h3 {
  padding: 0.07em 0 0.07em 0.8em;
}

@media only screen and (min-width: 767px) {
  .sub-image {
    display: flex;
    justify-content: space-between;
  }
  .sub-image li img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
  }
}
.example-feature {
  display: flex;
  flex-wrap: wrap;
}
span.feature-box {
  background: #4f74ad;
  color: #ffffff;
  border-radius: 15px;
  padding: 0.5em 1em 0.45em 1em;
  font-size: 0.8em;
  font-weight: 600;
}
.example-feature li {
  font-size: 0.9em;
  padding: 0.5em 1em 0.15em 0em;
  margin: 0 !important;
}
.icon-check:before {
  font-family: "Font Awesome 5 Free";
  content: "\f14a";
  font-weight: 900;
  width: 36px;
  height: 36px;
  font-size: 19px;
  text-align: center;
  color: #286caf;
  margin: 0 0.35em 0em 0.15em;
  padding: 0em 0.1em 0em 0.5em;
}
.example-button button {
  margin-top: 1em;
  width: 100%;
  background: #4f74ad;
  color: #ffffff;
}

/* HOME画面 施工事例 */
a.more-button.no-icon {
  width: 100%;
}
a.more-button img {
  max-width: 250px;
  width: 100%;
}

.list-post a.more-button.no-icon {
  text-align: center;
  display: block;
  margin-bottom: 1em;
}
.list-post .list-box {
  /* margin-top: 0.5em !important;
  background: #ffffff;
  padding-bottom: 0.1em;
  position: relative; */
  overflow: hidden;
  box-shadow: 2px 2px 16px -4px #777777;
  border-radius: 10px;
  background: #f3f3f3 !important;

  /* margin: 1em !important; */
}

.list-post{
  margin: 0 calc(50% - 45vw);
  width: 90vw;
}
@media only screen and (min-width: 767px) {
  .list-post .list-box {
    margin-top: 0.5em !important;
    background: #ffffff;
    padding-bottom: 0.1em;
    position: relative;
    width: calc((100% - 150px) / 3);
    margin: 1.5em !important;
  }
}

.list-box-inner {
  padding: 0em 0.75em 3em;
}

.list-box-inner .entry-content img {
  margin: 0 auto;
  max-width: 300px;
  height: auto;
  text-align: center;
}
.list-box-inner .post-text {
  color: #000000;
  padding: 0.4em 1em;
  border-radius: 8px;
  text-align: center;
}
.post-before {
  position: absolute;
  top: 0;
  color: #ffffff;
  font-size: 0.75em;
  padding: 0.5em;
  font-weight: 600;
  background: rgba(79, 116, 173, 0.9);
  margin: 0.1em;
  border-radius: 5px;
}
.post-after {
  position: absolute;
  top: 0;
  color: #ea5514;
  font-size: 0.75em;
  padding: 0.5em;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.9);
  right: 0;
}
.size-full li.list-box img {
  height: 300px;
  margin: 0;
}
a.next-button {
  display: block;
  max-width: 250px;
  margin: 0 auto;
}

/* HOME画面 責任施工システム */
.system {
  width: 100%;
  text-align: center;
}
.list-box-system img {
  margin: 0 !important;
  padding: 0 !important;
}
.system img {
  max-width: 400px;
  width: 100%;
}
.system-box-title {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 10px;
}
.system-box-title h1 {
  line-height: 1em;
  font-size: 1.2em;
}
.system-box-title img {
  margin: 0px;
}
.system-box-title h1 {
  margin-left: 10px;
}
.post-text-system {
  padding: 0em;
  color: #492b15;
}
.post-text-system span {
  background: rgba(0, 0, 0, 0) linear-gradient(transparent 50%, #fff100 0%)
    repeat scroll 0 0;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.system-box-title img {
  margin: 0px;
  max-width: 40px;
  width: 100%;
  margin: 0;
}
.list-post ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 90%;
  margin: 0 auto;
}
@media only screen and (min-width: 768px) {
  li.list-box-system {
    padding-left: 1em !important;
    width: 50%;
  }
}

.company-table th {
  background: #4f74ad;
  color: #fff;
}

.entry-content ul li:before {
  width: 0;
  height: 0;
}

.biz img {
  object-fit: cover;
  height: 100%;
}

/* お問い合わせ追従ボタン */
/* Page TOP */

#go-contact {
  position: fixed;
  right: 10px;
  bottom: -100px;
  z-index: 99999;
  transition: all 0.2s ease-out;
}
#go-contact.pt-active {
  bottom: 10px;
}
#go-contact a {
  background-repeat: no-repeat;
  text-decoration: none;
  width: 100%;
  border-radius: 7px;
  text-align: center;
  line-height: 30px;
  background: rgba(201, 51, 51, 0.75);
  padding: 0.25em 1em 0.25em 1em;
  display: block;
  color: #fff;
  font-weight: bold;
}
#go-contact a.pt-button::before {
  font-family: "fontawesome";
  content: "\f0da";
}

/* Page TOP */
#page-top.pt-active {
  bottom: 60px;
}

/* 団員リスト */
.member-list {
  display: flex;
  flex-wrap: wrap;
  color: #fff;
  padding: 1em;
  font-size: 0.75em;
  justify-content: center;
}
.member-list li {
  line-height: 1em;
  padding: 0.5em;
}
.member-list h2 {
  font-size: 1.25em;
}
.member-list li {
  list-style: decimal-leading-zero;
}
.member-list a {
  color: #fff;
  text-decoration: underline;
}
.member-list section {
  width: 100%;
  padding: 1em 2em 1em 0em;
}
@media only screen and (min-width: 767px) {
  .member-list section {
    width: 20%;
    padding: 1em 2em 1em 0em;
  }
}
#menu-main a {
  color: #000;
}

/* reset css */

@media only screen and (min-width: 1166px) {
  .wrap {
    width: 100%;
  }
}


/* page-check.php */
.more-details{
  text-align: center;
  font-weight: bold;
  background: limegreen;
  width: 80%;
  margin: 0 auto;
  margin-bottom: 1em;
  padding: 0.5em;
  border-radius: 5px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
}

/* page-home.php */

.post-text strong{
  font-size: 1.3em;
  display: inline-block;
  padding-bottom: 1.1em;
}