@charset "UTF-8";

html {
  font-size: 62.5%;
  /*10px*/
}

html body {
  line-height: 1.6;
  font-size: 1.8rem;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  color: #000;
  background-color: #fdfdfd;
}

html img {
  max-width: 100%;
  height: auto;
}

html img.cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
}

html a {
  transition: all 0.3s ease;
}

html p {
  word-break: break-word;
}

/* ============================================================
レイアウトに関するCSS
============================================================ */

body:not(.home) main {
  width: 96%;
  margin: 6vh auto 0;
}

.box1100 {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.box1200 {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.box1400 {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.col-1 {
  width: 84%;
  margin: 0 auto;
}

.col-2 {
  width: 84%;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
}

.txtC {
  text-align: center;
}

.txtL {
  text-align: left;
}

.txtR {
  text-align: right;
}

/*youtube*/
.youtube {
  text-align: center;
}

.youtube iframe {
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
}

/*アンカーリンク位置調整*/
html {
  scroll-padding-top: 100px;
}

/*スクロールアニメーション*/
.effect-fade {
  opacity: 0;
  transform: translate(0, 45px);
  transition: all 1000ms;
}

.effect-fade.is-inview {
  opacity: 1;
  transform: translate(0, 0);
}

/* ============================================================
装飾に関するCSS
============================================================ */

/*タイトル*/
.section-title {
  font-size: min(3rem, 6vw);
  line-height: 1.1;
  font-weight: 600;
  margin-bottom: 5vh;
  position: relative;
  text-align: center;
}

.section-title::before {
  content: "";
  width: 10vw;
  max-width: 100px;
  height: 3px;
  background: #E60012;
  display: block;
  position: absolute;
  top: -1em;
  left: 50%;
  transform: translate(-50%, 0);
}
.section-title02 {
  line-height: 1.1;
  font-weight: 600;
  margin-bottom: 2vh;
  text-align: center;
}

.SmallTitle {
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.2;
  padding: .8em 0;
  border-bottom: 1px solid #ccc;
  position: relative;
  margin: 1em 0;
}

.SmallTitle::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background-color: #E60012;
  position: absolute;
  bottom: 0;
}

/*ページタイトル*/
.pagetitle {
  background: url(../../images/bg_pagetitle.jpg) no-repeat left bottom;
  background-size: cover;
  text-align: center;
  font-size: min(4.8rem, 8vw);
  padding-top: 70px;
  color: #fff;
  position: relative;
}
.pagetitle::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
}

.pagetitle h1 {
  padding: 6vh 3vw;
  position: relative;
  text-shadow: 1px 1px 20px rgba(0,0,0,0.8);
}

/*ボタン*/
.btn01 a {
  display: inline-block;
  padding: 0.6em 2em;
  margin: 5vh auto;
  border: 1px solid #ccc;
  border-radius: 100vmax;
}

.btn01 a:hover {
  border: 1px solid #000;
}

.btn01 a::after {
  display: inline-block;
  content: "";
  width: 20px;
  height: 6px;
  border-bottom: 1px solid #000;
  border-right: 1px solid #000;
  transform: skew(45deg);
  translate: 0 -.4em;
  margin-left: 1em;
  transition: all .3s ease;
}
.btn01 a:hover::after {
  margin-left: 1.5em;
}

.btn02 a,
.btn02 span {
  color: #E60012;
  font-size: .9em;
  display: inline-block;
  border: 1px solid #E60012;
  padding: 0.4em 2em;
  margin: 1em auto;
}

.btn02 a:hover {
  background: #E60012;
  color: #fff;
}

.btn02 a::after,
.btn02 span::after {
  display: inline-block;
  content: "";
  width: 20px;
  height: 6px;
  border-bottom: 1px solid #E60012;
  border-right: 1px solid #E60012;
  transform: skew(45deg);
  translate: 0 -.4em;
  margin-left: 1em;
}

.btn02 a:hover::after {
  border-bottom: 1px solid #fff;
  border-right: 1px solid #fff;
}

.btn01-w a {
  color: #fff;
  display: inline-block;
  border: 1px solid #fff;
  padding: 0.6em 2em;
  margin: 1em auto;
}

.btn01-w a:hover {
  background: #fff;
  color: #E60012;
}

.btn01-w a::after {
  display: inline-block;
  content: "";
  width: 20px;
  height: 6px;
  border-bottom: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: skew(45deg);
  translate: 0 -.4em;
  margin-left: 1em;
}

.btn01-w a:hover::after {
  border-bottom: 1px solid #E60012;
  border-right: 1px solid #E60012;
}

/*背景グラデ*/
.bg-grad {
  background: linear-gradient(to right, #E60012, #e24f5b);
}

/* テキストグラデ */
.txt-grad {
  background: linear-gradient(to right, #E60012, #e24f5b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/*英語フォント*/
.font-en {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}


/* ============================================================
全ページ共通CSS
============================================================ */
/*パンくず*/
.bread-wrap {
  margin: 0;
  padding: 2vh 2vw;
  border-top: solid 1px #ddd;
}

.bread-wrap .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.bread-wrap .breadcrumb a {
  color: #161619;
}

.bread-wrap .breadcrumb a:hover {
  color: #a8a8a8;
}

.bread-wrap .breadcrumb span {
  padding: 3px 8px;
  vertical-align: middle;
  font-size: .9em;
}

.bread-wrap .breadcrumb span:last-child {
}

/*ページ下部お問い合わせ*/
.footer-contact {
  background: #E60012;
  background: url(../../images/top/bg_footer-contact.jpg) no-repeat center;
  padding: 8vh 3vw 10vh;
  background-size: cover;
}

.footer-contact hgroup {
  margin-bottom: 4vh;
  color: #fff;
}

.footer-contact>div {
  background-color: #fff;
  padding: 3vh 3vw;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.footer-contact .footer-tel a {
  display: block;
  font-size: min(3.6rem, 10vw);
  color: #E60012;
  line-height: 1;
  font-weight: 600;
}

.footer-contact .footer-tel i {
  font-size: .6em;
  margin-right: .2em;
  vertical-align: .1em;
}

.footer-contact .footer-tel a span {
  display: block;
  font-size: small;
  color: initial;
  font-weight: normal;
  margin-top: 1em;
}

.footer-contact .footer-mail a {
  display: inline-block;
  font-size: min(2rem, 5vw);
  background-color: #E60012;
  color: #fff;
  line-height: 1;
  padding: 1.2em 2em;
}

.footer-contact .footer-mail a:hover {
  background: #E60012;
}

.footer-contact .footer-mail i {
  font-size: .8em;
  margin-right: .4em;
}

/*footer */
footer {
  background: url(../../images/img-area.png) no-repeat left bottom 8vh;
  background-size: 150%;
  position: sticky;
  top: 100%;
  padding-top: 6vh;
}

footer address {
  font-size: .8em;
  text-align: center;
  color: #000;
  padding-bottom: 3vh;
}

.footer-inner {
  padding: 10vh 3vw 0;
  border-top: 1px solid #000;
}
.footer-info {
  margin-bottom: 5vh;
}
.footer-info p {
  margin-bottom: 5vh;
  font-weight: 600;
}
.footer-info dl {
}
.footer-info dl dt{
  font-size: 1.1em;
  padding: .2em 0;
}
.footer-info dl dd{
  padding: .2em 0;
}
.footer-area {
  margin-bottom: 70vw;
}
.footer-area .area {
  background: #E60012;
  color: #fff;
  padding: 1em;
  border-radius: 100vmax;
  width: 18em;
  margin: 0 auto;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  text-align: center;
}
.footer-area .area dl dt {
  font-size: 1.4em;
}
.footer-area .area dl dd span {
  font-size: 2em;
  display: block;
  margin: .2em 0;
}

/*recaptcha*/
footer .recaptcha p {
  font-size: small;
  text-align: center;
  color: #aaa;
  margin-bottom: 3vh;
}

.grecaptcha-badge {
  visibility: hidden;
}

/*ページトップ*/
#topcontrol {
  position: fixed;
  bottom: 2vw;
  right: 2vw;
  opacity: 1;
  cursor: pointer;
  z-index: 99;
}

#topcontrol a {
  color: #fff;
  font-size: .8em;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  background-color: #000;
  border-radius: 100vmax;
}

#topcontrol a:hover {
  background: #E60012;
}

/* ============================================================
詳細ページ・固定ページ共通CSS（WPブロックエディタ対応）
============================================================ */
/*タイトル*/
.single main h2,
.page main .page-content h2 {
  font-weight: 600;
  font-size: clamp(1.6rem, 1.318rem + 1.202vw, 2.4rem);
  line-height: 1.3;
  padding: .5em 0;
  margin: 1.6em 0 .8em;
  position: relative;
}
.single main h2:first-child,
.page main .page-content h2:first-child {
  margin: 0 0 .8em;
}

.single main h2::after,
.page main .page-content h2::after {
  position: absolute;
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  left: 0;
  bottom: 0;
  background-color: #E60012;
}

.single main div:is(.col-1, .col-main) h3:not(:is(.SmallTitle)),
.page main .page-content h3:not(:is(.SmallTitle)) {
  font-weight: 600;
  font-size: 1.1em;
  line-height: 1.3;
  margin: 1.6em 0 .8em;
  border-left: solid 5px #a8a8a8;
  padding-left: .5em;
}

.single main div:is(.col-1, .col-main) h4,
.page main .page-content h4 {
  font-weight: 600;
  font-size: 1.1em;
  line-height: 1.3;
  margin: 1.6em 0 .8em;
}

.single main div:is(.col-1, .col-main) h5,
.page main .page-content h5 {
  font-weight: 600;
  font-size: 1.1em;
  line-height: 1.3;
  margin: 1.6em 0 .8em;
}

/*段落*/
.single main div:is(.col-1, .col-main) p,
.page main .page-content p {
  margin-bottom: 1em;
}

.single main div:is(.col-1, .col-main) p a,
.page main .page-content p a {
  color: #E60012;
  border-bottom: 1px solid transparent;
}

.single main div:is(.col-1, .col-main) p a:hover,
.page main .page-content p a:hover {
  color: #666;
  border-bottom: 1px solid #ccc;
}

/*順序なしリスト*/
.single main div:is(.col-1, .col-main) ul:not(:is(.page_tag)):not(:is(.nav)):not(:is(.filebird-block-filebird-gallery)):not(:is(.swiper-wrapper)),
.page main .page-content ul:not(:is(.page_tag)):not(:is(.nav)):not(:is(.filebird-block-filebird-gallery)):not(:is(.swiper-wrapper)):not(:is(.exWrap)) {
  margin: 2vh 1.2em;
}

.single main div:is(.col-1, .col-main) ul:not(:is(.page_tag)):not(:is(.nav)):not(:is(.filebird-block-filebird-gallery)):not(:is(.swiper-wrapper)) li,
.page main .page-content ul:not(:is(.page_tag)):not(:is(.nav)):not(:is(.filebird-block-filebird-gallery)):not(:is(.swiper-wrapper)):not(:is(.exWrap)) li {
  list-style-type: square;
  margin: .5em 0;
}

/*順序付きリスト*/
.single main div:is(.col-1, .col-main) ol,
.page main .page-content ol {
  margin: 2vh 1.2em;
  font-size: 0.9em;
}

.single main div:is(.col-1, .col-main) ol li,
.page main .page-content ol li {
  list-style-type: order;
  margin: .5em 0;
}

/*引用*/
blockquote {
  padding: 2em 1em 1em;
  margin: 1em 0;
  background: rgba(240, 240, 240, 0.5);
}

/*間隔用*/
.single .wp-block-columns,
.page .wp-block-columns {
  margin-bottom: 5vh;
}

.single .wp-block-group,
.page .wp-block-group {
  margin-bottom: 5vh;
}

.wp-block-spacer {
  height: 5vh !important;
}

.single figure.wp-block-image img,
.page figure.wp-block-image img {
  margin-bottom: 1em;
}

.wp-block-image figcaption {
  text-align: center;
}

/*wpメディアとテキストレイアウトの調整*/
.wp-block-media-text>.wp-block-media-text__content {
  padding: 0 3%;
}


/*wpギャラリーの調整*/
@media (max-width: 799px) {
  .blocks-gallery-grid {
    flex-direction: column;
  }
  .blocks-gallery-grid li {
    align-self: center!important;
    margin: 0 0 1em!important;
    width: calc(80% - 1em)!important;
  }
  .blocks-gallery-grid li figure {
    width: 100%!important;
    height: 100%!important;
    aspect-ratio: 1/1;
  }
  .blocks-gallery-grid li figure img {
    width: 100%!important;
    height: 100%!important;
    object-fit: cover;
  }
}

/*youtube*/
figure.is-provider-youtube iframe {
  display: block;
  max-width: 100%;
  margin-inline: auto;
  aspect-ratio: 16/9;
}

/*テーブル*/
.wp-block-table {
  font-size: 0.8em;
  width: 100%;
  margin: 1em 0;
}

.wp-block-table th {
  padding: 1em;
  border: 1px solid #ccc;
  background-color: #eee;
  vertical-align: middle;
}

.wp-block-table td {
  padding: 1em;
  border: 1px solid #ccc;
}

/*日付*/
.wp-block-post-date {
  color: #999;
  font-size: .9em;
  margin-bottom: .5em;
}

/* ============================================================
404ページ
============================================================ */
.error404 .page-content span {
  font-size: min(6.5rem, 10vw);
  font-weight: 600;
  color: #666;
  display: block;
  text-align: center;
  padding: 5vh 0 0 0;
}

.error404 .page-content p {
  font-size: 1.2em;
  font-weight: 600;
  padding: 2em 0;
}

/* ============================================================
基本ページ（個人情報保護・当サイトについて・おすすめサイト）
============================================================ */
body.privacypolicy main dt,
body.about main dt,
body.link main dt {
  font-size: 1.1em;
  margin: 2em 0 0.8em auto;
  border-left: solid 5px #a8a8a8;
  padding-left: 8px;
}

.about main dl dd p {
  margin: 1em 0;
}

.about main dl dd table.browser {
  margin: 1em 0;
  font-size: .8em;
}

.about main dl dd table.browser th {
  padding: 1em 2em;
  background: #f9f9f9;
  border-bottom: 1px solid #fff;
}

.about main dl dd table.browser td {
  padding: 1em 2em;
}

#link02 ul {
  display: flex;
  font-size: .9em;
  margin: 1em 0;
}

#link02 ul li {
  color: #333;
  padding: .5em 1em;
  margin: 1em;
  border: 1px solid #ccc;
}

#link02 ul li a {
  display: block;
  padding: .5em 1em;
  margin: -.5em -1em;
}

#link02 ul li a:hover {
  background: #E60012;
  color: #fff;
}

#link02 p.link_cate {
  background: #eee;
  padding: 1em;
}

#link02 dt a {
  color: #666;
}

#link02 dt a:hover {
  color: #E60012;
}

/* ============================================================
よくある質問
============================================================ */

/*よくある質問カウンター*/
.faq main ul {
  list-style-type: none;
  counter-reset: my-list-counter;
}
.faq main ul li::before {
  counter-increment: my-list-counter;
  content: "Q" counter(my-list-counter);
  font-weight: 600;
  font-size: 1.2em;
  color: #E60012;
  margin-right: 5px;
}
.faq main ul li::marker {
  content: none;
}
.faq main ul li {
}

.faq main ul.questions li a {
  border-bottom: 1px solid transparent;
}
.faq main ul.questions li a:hover {
  border-bottom: 1px solid #ccc;
  color: #E60012;
}
.faq main ul.answers li strong {
  color: #E60012;
}
.faq main ul.answers li em {
  font-style: normal;
  font-size: 1.2em;
}

/* ============================================================
施工までの流れ
============================================================ */
.flow {
	counter-reset: item;
}
body.flow main {
  margin: 8vh auto 0;
}
.flow .flow-item {
  background: #eee;
  border-radius: 5px;
  padding: 1px 3%;
  counter-increment: item;
  content: counter(item)'.';
  margin-bottom: 10vh;
  position: relative;
}
.flow .flow-item:not(:last-of-type)::after {
  content: "\f078";
  font-family: 'Font Awesome 5 Free'; 
  font-weight: 600; 
  font-size: 40px;
  color: #999;
  position: absolute;
  bottom: -8.5vh;
  text-align: center;
  width: 100%;
}
.flow .flow-item h4 em {
  position: absolute;
  top: clamp(-4rem, -3.296rem + -3.005vw, -6rem);
  left: 5px;
  color: #E60012;
  font-size: clamp(4rem, 3.296rem + 3.005vw, 6rem);
  font-style: normal;
}
.flow main .page-content .flow-item div.is-layout-flex {
  justify-content: space-between;
}
.flow main .page-content .flow-item p {
  /* margin-bottom: 1em; */
}

/* ============================================================
会社案内
============================================================ */

.company main img {
  margin-bottom: 1em;
}
.company .company-text {
  font-size: clamp(1.6rem, 1.389rem + 0.901vw, 2.2rem);
  line-height: 1.2;
  padding: 0 3%;
}

.company .wp-block-media-text__media {
  max-width: 180px;
  margin-inline: auto;
}
.company-gallery figure {
  justify-content: center!important;
}

/*会社テーブル*/
.company-table {
  font-size: 0.9em;
  width: 100%;
  margin: 2em 0;
}
.company-table th {
  width: 30%;
  padding: 1em;
  border-bottom: 1px solid #aaa;
  background-color: #eee;
  vertical-align: middle;
  font-weight: inherit;
}
.company-table td {
  padding: 1em;
  border-bottom: 1px solid #ddd;
  vertical-align: middle;
}

/* ============================================================
当サイト
============================================================ */
.about.single main div:is(.col-1, .col-main) ol, .page main .page-content ol {
  font-size: inherit;
}

/* ============================================================
サイトマップ
============================================================ */

.sitemap main ul {
  margin: 1em 1.2em;
  font-size: 0.9em;
}

.sitemap main ul li {
  list-style-type: square;
  margin: .5em 0;
}

.sitemap main ul li::marker {
  color: #ccc;
  font-size: .8em;
}

.sitemap main ul li a {
  text-decoration: none;
}

.sitemap main ul li a:hover {
  color: #E60012;
}

.sitemap main h2 {
}
.sitemap main ul.sub {
  margin: 0 1.2em;
}

/* ============================================================
お問い合わせ
============================================================ */
.contact-form .tel-wrap {
  line-height: 1;
  text-align: center;
  margin: 3vh auto;
}

.contact-form .tel {
  line-height: 1;
  font-size: min(6rem, 10vw);
  font-weight: 600;
  text-align: center;
  margin-bottom: 2vh;
}

.contact-form .tel i {
  font-size: .6em;
  vertical-align: .1em;
  margin-right: .1em;
  color: #999;
}

.contact-form .tel-wrap p {
  font-size: .9em;
}

.contact-form .recaptcha {
  font-size: .9em;
  text-align: center;
}
.contact-form main .page-content .recaptcha a {
  color: #000;
}

/*フォームcss start*/
.wpcf7 {
  background: #fff;
  padding: 3vw;
  margin: 1em auto;
  font-size: 0.9em;
}

.wpcf7 form .stepBar {
  display: flex;
  justify-content: space-around;
  padding: 80px 0;
}

.wpcf7 form .stepBar li {
  width: 33.333%;
  font-size: 133%;
  padding-bottom: 24px;
  text-align: center;
  position: relative;
  font-weight: 600;
}

.wpcf7 form .stepBar li.current {
  color: #404040;
}

.wpcf7 form .stepBar li.current:before {
  transform: translateX(-50%) scale(1.3);
  background: #404040;
}

.wpcf7 form .stepBar li:before {
  content: "";
  position: absolute;
  background: #dfe0df;
  left: 50%;
  bottom: -6px;
  width: 13px;
  height: 13px;
  border-radius: 100%;
  transform: translateX(-50%);
  z-index: 2;
}

.wpcf7 form .stepBar li:not(:last-child):after {
  content: "";
  position: absolute;
  background: #dfe0df;
  bottom: -1px;
  left: 50%;
  z-index: 1;
  width: 100%;
  height: 3px;
}

.wpcf7 form .form-box {
  margin-bottom: 2em;
}

.wpcf7 form .form-box.title input {
  text-align: center;
  font-size: 1.2em;
  font-weight: 600;
  color: #666;
  background: none;
  border-bottom: 1px solid #dfe0df;
}

.wpcf7 form .form-box select {
  vertical-align: middle;
}

.wpcf7 form .form-box select:after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url("../../images/arrow_down.svg");
  background-repeat: no-repeat;
  background-size: contain;
  margin-left: 4px;
  vertical-align: middle;
  transition: all 0.3s;
}

.wpcf7 form .form-box select:hover:after {
  background-image: url("../../images/arrow_up.svg");
}

.wpcf7 form .must-icon {
  background: crimson;
  color: #fff;
  line-height: 1;
  padding: 3px 5px 2px;
  margin-left: 10px;
  font-size: .7em;
  display: inline-block;
  vertical-align: .2em;
}

.wpcf7 form .wpcf7-form-control-wrap {
  position: relative;
}

.wpcf7 form .wpcf7-form-control-wrap.your-gender .wpcf7-list-item:not(last-child) {
  margin-right: 20px;
  margin-left: 0 !important;
}

.wpcf7 form .form_left {
  width: 100%;
}

.wpcf7 form .form-input {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-bottom: 1em;
  background: #fafafa;
  padding: 1em 1em 0;
}

.wpcf7 form .form-input .form-box {
  width: 24%;
  margin-bottom: 1em;
}

.wpcf7 form .form-input .form-box.questionnaire {
  width: 50%;
}

.wpcf7 form .form-input .form-box:last-of-type {
  width: 48%;
}

.wpcf7 form .form-input .form-box {
  font-size: 0.9em;
}

.wpcf7 form label {
  margin-bottom: 0.2em;
  display: inline-block;
  font-weight: 600;
}
.contact-form main .wpcf7 form p {
  margin-bottom: 0;
}

.wpcf7 form label span.red {
  color: red;
  margin-left: 1em;
  font-size: 90%;
}

.wpcf7 form select,
.wpcf7 form input,
.wpcf7 form textarea {
  width: auto;
  box-sizing: border-box;
  width: 100%;
  line-height: 1.2;
  padding: 16px 5px;
  background: #eee;
}

.wpcf7 form select[type=radio],
.wpcf7 form input[type=radio],
.wpcf7 form textarea[type=radio] {
  width: auto;
}

.wpcf7 form selectbutton,
.wpcf7 form select[type=button],
.wpcf7 form select [type=reset],
.wpcf7 form select[type=submit],
.wpcf7 form inputbutton,
.wpcf7 form input[type=button],
.wpcf7 form input [type=reset],
.wpcf7 form input[type=submit],
.wpcf7 form textareabutton,
.wpcf7 form textarea[type=button],
.wpcf7 form textarea [type=reset],
.wpcf7 form textarea[type=submit] {
  width: 30%;
  text-align: center;
  background: #404040;
  color: #fff;
  border: solid 1px #404040;
}

.wpcf7 form selectbutton:hover,
.wpcf7 form select[type=button]:hover,
.wpcf7 form select [type=reset]:hover,
.wpcf7 form select[type=submit]:hover,
.wpcf7 form inputbutton:hover,
.wpcf7 form input[type=button]:hover,
.wpcf7 form input [type=reset]:hover,
.wpcf7 form input[type=submit]:hover,
.wpcf7 form textareabutton:hover,
.wpcf7 form textarea[type=button]:hover,
.wpcf7 form textarea [type=reset]:hover,
.wpcf7 form textarea[type=submit]:hover {
  background: #fff;
  color: #404040;
  transition: all 0.3s;
}

.wpcf7 form selectbutton:hover span:after,
.wpcf7 form select[type=button]:hover span:after,
.wpcf7 form select [type=reset]:hover span:after,
.wpcf7 form select[type=submit]:hover span:after,
.wpcf7 form inputbutton:hover span:after,
.wpcf7 form input[type=button]:hover span:after,
.wpcf7 form input [type=reset]:hover span:after,
.wpcf7 form input[type=submit]:hover span:after,
.wpcf7 form textareabutton:hover span:after,
.wpcf7 form textarea[type=button]:hover span:after,
.wpcf7 form textarea [type=reset]:hover span:after,
.wpcf7 form textarea[type=submit]:hover span:after {
  background-image: url(../../images/arrow_on.svg);
}

.wpcf7 form select[type=button],
.wpcf7 form input[type=button],
.wpcf7 form textarea[type=button] {
  background: #a8a8a8;
  border: solid 1px #a8a8a8;
}

.wpcf7 form select[type=checkbox],
.wpcf7 form input[type=checkbox],
.wpcf7 form textarea[type=checkbox] {
  width: auto;
}

.wpcf7-list-item:first-of-type {
	margin: 0 0 0 0;
}

.wpcf7 form .wpcf7-btn {
  text-align: center;
  margin: 30px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.wpcf7 form .wpcf7-btn p {
  width: 100%;
}

.wpcf7 form .wpcf7-btn p input {
  margin: 0 5px;
}

.wpcf7 form .wpcf7-btn p .wpcf7-spinner {
  display: none !important;
}

.wpcf7 form .acceptance p {
  font-size: 1.1em;
  text-align: center;
}

.wpcf7 [type="submit"] {
  cursor: auto;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: red;
  font-size: 16px;
  font-weight: 600;
  color: red;
  line-height: 1.4;
  text-align: center;
  padding: 1em;
}

/*フォームcss end*/

/* ============================================================
一覧ページ共通CSS
============================================================ */
/*カテゴリ*/
.arc-cat {
  padding: 0 0 5vh;
}

.arc-cat ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.arc-cat ul li {
  margin: 5px;
}

.arc-cat ul li a {
  padding: .5em 2em;
  display: block;
  border: solid 1px #a8a8a8;
  border-radius: 100vmax;
}

.arc-cat ul li a:hover {
  background: #E60012;
  border-color: #E60012;
  color: #fff;
  transition: all 0.3s;
}

.arc-cat ul li.current-cat a {
  background: #000;
  border-color: #000;
  color: #fff;
}

.arc-cat .child-category-list {
  margin-top: 1em;
  background: #eee;
  padding: 1em;
}

.arc-cat .child-category-list li a {
  background: #fff;
}

.arc-cat .child-category-list li a:hover {
  background: #E60012;
  border-color: #E60012;
}

/*アイテムリスト*/
.arc-list {
}

.arc-list article {
  text-align: center;
  overflow: hidden;
  padding: 1vh;
  transition: all .3s ease;
}

.arc-list article:hover {
  box-shadow: 2px 2px 20px rgba(190, 190, 189, 0.5), -2px -2px 20px rgba(255, 255, 255, 0.5);
}

.arc-list article .thumb {
  position: relative;
  text-align: center;
  margin-bottom: 2vh;
  overflow: hidden;
}

.arc-list article img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: all .3s ease;
}

.arc-list article:hover img {
  scale: 1.05;
  filter: brightness(1.2);
}

.arc-list article .descrip-wrap {
  line-height: 1.4;
  display: flex;
  flex-wrap: wrap;
}

.arc-list article .descrip-wrap .descrip-title {
  font-weight: 600;
  display: block;
  width: 100%;
  margin-bottom: 1vh;
}

/*ページネーション*/
.pagination {
  margin: 20px auto;
}

.pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination .nav-links .page-numbers {
  display: inline-block;
  margin-right: 20px;
  padding: 0.4em 2em;
  color: #333;
  border-radius: 4px;
  background: #fff;
}

.pagination .nav-links .page-numbers.current {
  background: #333;
  color: #fff;
}

.pagination .nav-links .prev,
.pagination .nav-links .next {
  background: transparent;
  box-shadow: none;
  color: #333;
}

.pagination .nav-links .prev:hover,
.pagination .nav-links .next:hover {
  color: #a8a8a8;
}

.pagination .nav-links .dots {
  background: transparent;
  box-shadow: none;
}

/* ============================================================
一覧ページ個別CSS
============================================================ */


/* ============================================================
詳細ページ個別CSS
============================================================ */
/*製作事例詳細*/
.works-main {
  margin-bottom: 2vh;
}

.works-main img,
.works-images img {
  margin-bottom: 1em;
}
.single-works main .works-main .works-comment h2:first-child,
.single-works main .works-main .works-comment h3:first-child,
.single-works main .works-main .works-comment h4:first-child,
.single-works main .works-main .works-comment h5:first-child,
.single-works main .works-main .works-comment h6:first-child {
  margin-top: 0;
  padding-top: 0;
}


/* ============================================================
トップページ
============================================================ */

/*KV*/
.kv {
  width: 100%;
  height: 100vh;
}
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.swiper-slide figure {
  transform: scale(1.1); 
  transition: transform 10s ease-out;
  width: 100%;
  height: 100%;
}
.swiper-slide-active figure {
  transform: scale(1); 
}
.swiper-slide figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*トップページ共通CSS*/

.home main section {
  padding: 6vh 3vw;
}
.home main section:last-of-type {
  padding: 10vh 3vw 0;
}

/*index01*/
.index01 {
  border-bottom: 1px solid #000;
}
.index01 .article-list article:not(:last-of-type) {
  margin-bottom: 6vh;
}
.index01 .article-list article p {
  margin-bottom: 2vh;
  font-size: .9em;
}
.index01 .article-list article dl {
  margin-bottom: 2vh;
}
.index01 .article-list article dl div {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 2vh;
}
.index01 .article-list article dl dt {
  display: grid;
  place-items: center;
}
.index01 .article-list article dl dd {
  display: grid;
  place-items: center left;
  font-size: 0.9em;
}

/*index02*/
.index02 .top-list {
  gap: 0;
}
.index02 .top-list article .thumb {
  overflow: hidden;
}
.index02 .top-list article img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
  transition: all .3s ease;
}
.index02 .top-list article:hover img {
  scale: 1.05;
  filter: brightness(1.2);
}


/* ============================================================
SP
============================================================ */
@media (max-width: 799px) {
    
  html body {
    font-size: 1.6rem;
  }
  .col-1 {
    width: 96%;
  }

  .contentWrap {
    width: 100%;
    margin: 0 auto;
  }

  .sp_no {
    display: none !important;
  }

  .btn a,
  .btn_w a {
    font-size: 0.9em;
  }

  .sp_flexbox02,
  .sp_flexbox03,
  .sp_flexbox04 {
    display: flex;
    flex-wrap: wrap;
  }

  .sp_flexbox01>* {
    width: 96%;
    margin: 2vh 2%;
  }

  .sp_flexbox02>* {
    width: calc(47% - 1px);
    margin: 1.5%;
  }

  .sp_flexbox03>* {
    width: calc(100%/3 - 2% - 1px);
    margin: 1%;
  }

  .sp_flexbox04>* {
    width: calc(100%/4 - 2% - 1px);
    margin: 1%;
  }

  /*列並びレイアウト*/
  .sp_col01 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
  }

  .sp_col02 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 10px;
  }

  .sp_col03 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .sp_col04 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

  .sp_col05 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
  }

  .sp_col06 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
  }

  /*ヘッダー*/
  header {
    position: fixed;
    z-index: 99;
    inset: 0 0 auto 0;
  }

  header #header-container.cloneNav {
    display: none;
  }

  #header-container #header-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 3vw;
    background: #fff;
    box-shadow: 0px 0px 20px -10px rgba(0, 0, 0, .4);
  }

  #header-container #header-inner .header-logo {
    margin: 0 auto;
    width: 80px;
    position: relative;
    z-index: 999;
  }

  #header-container #header-inner .header-logo img {
    width: 100%;
  }

  .header-tel a {
    color: #000;
    font-size: 1rem;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background-color: #fff;
    position: fixed;
    top: 14px;
    left: 5px;
    z-index: 999;
  }

  .header-tel a i {
    margin-top: 6px;
  }

  .navbar-toggle {
    z-index: 999;
    display: block;
    width: 40px;
    height: 40px;
    padding: 9px 10px;
    position: fixed;
    right: 5px;
    top: 14px;
  }

  .navbar-toggle .icon-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: #000;
    border-radius: 1px;
    transition: 0.4s;
    transform-origin: center;
  }

  .navbar-toggle .icon-bar:nth-child(1) {
    translate: 0 -4px;
  }
  .navbar-toggle .icon-bar:nth-child(3) {
    translate: 0 4px;
  }
  /* クリック後の変形 */
  .navbar-toggle.active .icon-bar:nth-child(1) {
    rotate: 45deg;
    translate: 0 2px;
  }

  .navbar-toggle.active .icon-bar:nth-child(2) {
    opacity: 0;
  }

  .navbar-toggle.active .icon-bar:nth-child(3) {
    rotate: -45deg;
    translate: 0 -2px;
  }

  #gnav-container {
    display: none;
    z-index: 99;
    padding: 15vh 10%;
    background: rgba(255, 255, 255, 0.9);
    position: fixed;
    width: 100%;
    height: 100%;
    inset: 0;
    overflow: auto;
  }

  #gnav-container ul {
    margin-bottom: .5em;
  }

  #gnav-container ul li a {
    display: block;
    font-size: 1.5rem;
    margin: 1em 0;
  }
  #gnav-container ul li a::before {
    content: "";
    display: inline-block;
    vertical-align: .3em;
    width: .5em;
    height: 2px;
    background: #ccc;
    margin-right: .5em;
  }

  #topcontrol a {
    width: 40px;
    height: 40px;
  }

  /*フッター*/
  .footer-contact .footer-tel {
    margin-bottom: 3vh;
  }

  footer .footer-inner .footer-bnr {
    margin: 1.2em 0 2.4em;
  }

  footer .footer-inner .footer-info nav ul li {
    width: 100%;
    margin: 0;
  }

  /*お問い合わせFORM*/
  .wpcf7 form .stepBar {
    padding: 40px 0;
  }

  .wpcf7 form .form-input {
    flex-wrap: wrap;
  }

  .wpcf7 form .form-input .form-box {
    width: 48%;
  }

  .wpcf7 form .form-input .form-box.questionnaire {
    width: 100%;
  }

  .wpcf7 form .form-input .form-box:last-of-type {
    width: 100%;
  }

  .wpcf7 form .wpcf7-btn p input {
    width: 44%;
    font-size: 0.9em;
  }

  /*一覧ページ　list*/
  .arc-list article {
  }

  .arc-list article img {
    aspect-ratio: 16/9;
  }

  /*一覧カテゴリ*/
  .arc-cat {
    font-size: small;
  }

  /*ページネーション*/
  .pagination {
    font-size: 0.9em;
  }

  .pagination .nav-links .page-numbers {
    padding: 8px 16px;
    margin-right: 8px;
  }

  /*ブログページ*/
  .col-2 {
    flex-direction: column;
    width: 94%;
  }

  .col-main {
    width: 100%;
    padding: 4% 0;
  }

  .col-side {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 1.2em;
    margin-top: 2em;
  }

  .news-item .news-inner {
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
  }

  /*トップページ*/
  .kv {
    height: 35vh;
    margin-top: 70px;
  }

  /*施工までの流れ*/
  .flow main .page-content .flow-item div.is-layout-flex {
    flex-direction: column;
    margin-bottom: 2vh;
  }

  /*サイトマップ*/
  body.sitemap main {
  width: 80%;
}
  
  /*クローンナビ使用しないときは非表示*/
  div#header-container.cloneNav {
      display: none;
  }
}

/* ============================================================
TB・PC
============================================================ */
@media (min-width: 800px) {

  a[href^="tel:"] {
    cursor: default;
    pointer-events: none;
  }

  .contentWrap {
    max-width: 1100px;
    margin: 0 auto;
  }

  .pc_no {
    display: none !important;
  }

  #nav-btn {
    display: none;
  }
  
  .pagetitle h1 {
    padding: 6vw 3vw;
  }
    
  /*列並びレイアウト*/
  .pc_flex {
    display: flex;
    justify-content: center;
  }

  .pc_flex>* {
    margin: 1%;
  }

  .pc_flexbox02 {
    display: flex;
    flex-wrap: wrap;
  }

  .pc_flexbox02>* {
    width: calc(48% - 1px);
    margin: 1%;
  }

  .pc_flexbox03 {
    display: flex;
    flex-wrap: wrap;
  }

  .pc_flexbox03>* {
    width: calc(100%/3 - 4% - 1px);
    margin: 1%;
  }

  .pc_flexbox04 {
    display: flex;
    flex-wrap: wrap;
  }

  .pc_flexbox04>* {
    width: calc(100%/4 - 2% - 1px);
    margin: 1%;
  }

  /*列並びレイアウト*/
  .pc_col02 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .pc_col03 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .pc_col04 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .pc_col05 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }

  .pc_col06 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
  }

  /*ヘッダー*/
  header {
    position: absolute;
    width: 100%;
    z-index: 99;
    inset: 0 0 auto 0;
  }

  #header-container {
    width: 100%;
    /* display: flex; */
    /* align-items: center; */
    /* justify-content: space-between; */
  }

  #header-container.cloneNav {
    position: fixed;
    top: -100px;
    left: 0;
    right: 0;
    z-index: 99;
    width: 100%;
    transition: 0.3s ease;
    transform: translateY(-100%);
  }

  #header-container.cloneNav.is-show {
    transform: translateY(0);
    top: 0;
    pointer-events: none;
  }

  #header-container #header-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: start;
  }
  #header-container a {
    pointer-events: all;
  }
  
  .header-right {
    display: flex;
    background: #fff;
    align-items: center;
    padding: 5px 2%;
    border-radius: 100vmax;
    margin: 20px 1vw 0 0;
    box-shadow: 0px 0px 20px -10px rgba(0,0,0,.4);
  }
  
  .header-logo {
    margin: 0 auto 0 0;
    width: 14vw;
    background: #fff;
    padding: 2vw;
    box-shadow: 0px 0px 20px -10px rgba(0,0,0,.4);
  }

  .header-logo img {
    width: 100%;
    transition: .3s ease;
  }
  .header-logo a:hover img {
    opacity: .6;
  }

  .header-tel p {
    display: flex;
    align-items: baseline;
    margin-left: 1em;
  }

  .header-tel p span {
    margin-left: .1em;
    font-size: min(2.8rem,2vw);
  }

  .header-tel p i {
    font-style: normal;
    font-size: min(1.6rem,1.4vw);
  }
  
  #gnav-container {
  }

  #gnav-container .gnav {
  }

  #gnav-container .gnav .nav {
    display: flex;
  }

  #gnav-container .gnav .nav>li {
    text-align: center;
    white-space: nowrap;
    flex-grow: 1;
    position: relative;
  }

  #gnav-container .gnav .nav>li>a {
    display: block;
    padding: .6em .8vw;
    font-size: 1.4rem;
    font-size:clamp(1.4rem, 1vw,1.6rem);
    position: relative;
  }
  #gnav-container .gnav .nav>li>a::before {
  content: "";
    display: block;
    background: #000;
    width: 0%;
    height: 1px;
    position: absolute;
    right: 0;
    bottom: 0;
    transition: .3s ease;
  }

  #gnav-container .gnav .nav>li>a:hover::before {
    width: 100%;
    left: 0;
  }

  #gnav-container .gnav .nav>li .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition:
      opacity 0.3s ease-out,
      transform 0.3s ease-out,
      visibility 0.3s;
    z-index: 10;
    background-color: #fff;
    box-shadow: 2px 2px 20px rgba(190, 190, 189, 0.5), -2px -2px 20px rgba(255, 255, 255, 0.5);
    padding: 10px;
  }

  #gnav-container .gnav .nav>li:hover .sub-menu,
  #gnav-container .gnav .nav>li:focus-within .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  #gnav-container .gnav .nav li .sub-menu li a {
    display: block;
    padding: 5px;
    font-size: 1.2rem;
    color: #333;
  }

  #gnav-container .gnav .nav li .sub-menu li a:hover {
    color: #ccc;
  }


  /*フッター*/
  footer {
    background: url(../../images/img-area.png) no-repeat right bottom;
    background-size: 45%;
  }
  .footer-inner {
    display: flex;
  }
  .footer-area {
    margin-bottom: 0;
    width: 25%;
  }
  #footer-nav {
    padding: 0 3vw 3vh;
  }
  #footer-nav ul {
    display: flex;
    gap: 2em;
  }
  #footer-nav ul li {}
  #footer-nav ul li a {
    font-size: .8em;
    border-bottom: 1px solid transparent;
  }
  #footer-nav ul li a:hover {
    color: #999;
    border-bottom: 1px solid #ccc;
  }


  /*ブログページ*/
  .col-2 {
    flex-direction: row;
  }

  .col-main {
    width: 70%;
    padding: 2% 4% 2% 0;
  }

  .col-side {
    width: 30%;
    padding: 3vw;
  }

  /*index*/
  .index01 .article-list article dl div {
    display: grid;
    grid-template-columns: 1fr 5fr;
  }
}

/* ============================================================
TB
============================================================ */
@media (min-width: 800px) and (max-width: 1100px) {
  /*ヘッダーナビ*/
  #gnav-container .gnav .nav>li>a {
    font-size: 1.2vw;
  }
    
  /*KV*/
  .kv {
    height: 40vh;
  }
  /*フッター*/
  .footer-inner {
      padding-bottom: 8vw;
  }
}

