/*
Theme Name: WOD
Description: テーマ「arkhe」の自作子テーマ
Template: arkhe
Version: 3.12.0
*/

/* ===========================================
  RESET
=========================================== */
html{color:#000;background:#FFF;}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td,figure{margin:0;padding:0}
table{border-collapse:collapse;border-spacing:0;list-style:none}
fieldset,img{border:0}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}
ol,ul{list-style:none}
caption,th{text-align:left}
h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}
q:before,q:after{content:''}
abbr,acronym{border:0;font-variant:normal}
sup{vertical-align:text-top}
sub{vertical-align:text-bottom}
input,textarea,select{font-size:inherit;font-weight:inherit;}
legend{color:#000}
*{zoom: 1;}
img{vertical-align: bottom;}
:focus{outline:none;}
a{text-decoration: none;}

body, html {
  font-family: "Noto Sans JP","ヒラギノ角ゴ ProN","Hiragino Kaku Gothic ProN","メイリオ",Meiryo,sans-serif
}

.inr {
  margin: 0 auto;
  max-width: 960px;
}
@media screen and (max-width: 999px) {
  .inr {
    margin: 0 auto;
    width: 95%;
  }
}


.l-content__body {
  margin: 3rem auto 7rem;
}
@media (max-width: 1000px) {
  .l-content__body {
    display: flex;
    flex-direction: column-reverse;
  }
  .l-sidebar {
    margin-top: 0;
    margin-bottom: 3rem;
  }
}




/* ===========================================
  hover
=========================================== */
.over {
  transition: all 0.1s ease;
}
.over:hover {
  opacity: 0.6;
}

/**PCで電話番号リンクOFF*/
@media (min-width: 1000px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}

/* ===========================================
  heading
=========================================== */
h1.c-pageTitle__main { 
  margin: 0 auto;
  border-bottom: #333333 1px solid;
}

/* ===========================================
  ボタン
=========================================== */

.c-fixBtn {
  background: #3a66ac;
  border-radius: 10px;
}





/* ===========================================
  ドロワー
=========================================== */
.p-drawer {
  opacity: 1;
}
.drawer-img-wrap a {
  color: #FFF;
  font-size: 1.2rem;
  font-weight: bold;
}
.drawer-img-wrap {
  text-align: center;
  padding: 20px 0;
}
.drawer-img-wrap img {
  width: 56.06px;
  height: auto;
}


span.c-iconBtn__label {
}
[data-drawer=opened] span.c-iconBtn__label {
  display: none;
}




.drawer-footer {
  color: #FFF;
  text-align: center;
  padding: 2rem;
  margin-top: 20px;
}

.drawer-footer-ttl-wrap {
  border: #ccc 1px solid;
  padding: .25rem;
}
.drawer-footer-ttl-sub {
  font-size: .7rem;
}
div.drawer-footer-tell ,
div.drawer-footer-mail {
  margin: .5rem;
  padding: .5rem;
}
div.drawer-footer-tell {
  border-bottom: 1px solid #969285;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}
.drawer-footer-tell a {
  color: #FFF;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
}
.drawer-footer-tell a::before {
  background-image: url(http://wod.local/assets/images/icon-tell-w.png);
  color: #ccc;
  content: "";
  display: inline-block;
  background-size:contain;
  background-repeat: no-repeat;
  margin-top: 3px;
  margin-right: 5px;
  width: 18px;
  height: 18px;
}
div.drawer-footer-mail {
  margin-top: 0;
  padding: 0;
}
  div.drawer-footer-mail a {
  color: #fff;
  display: block;
  width: 150px;
  margin: 0 auto;
  padding: .5rem 0;
  border-radius: 18px;
  background-color: #3a66ac;
}

button.p-drawer__close {
  display: none;
}






/* ===========================================
  header
=========================================== */
.header-right ul {
  display: flex;
  padding: 5px
}
.icon-tell {
  width: 40px;
  margin-left: 10px;
}


div.header-right-tell {
  width: 230px;
  height: 72px;
  display: block;
  border-radius: 5px;
  background-color: #3a66ac;
  padding: 5px 10px;
}


.header-right-tell-txt {
  letter-spacing: .15em;
  font-size: .8rem;
  color: #fff;
  text-align: center;
}

span.header-right-tell-num {
  color: #fff;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  display: block;
}
.ta-left {
  text-align: left;
}


/* .c-gnav li {
  padding: 1em;
} */
.c-gnav__li li {
  position: relative;
}
.c-gnav__a::after {
  position: absolute;
  left: 0;
  content: '';
  width: 30%;
  height: 0.1rem;
  background: #3a66ac; /* 下線 */
  bottom: 5px;
  transform: scale(0, 1); /* 初期状態で非表示 */
  transform-origin: left top;
  transition: transform 0.3s;
}
/* ホバー時に下線を表示 */
.c-gnav__a:hover::after {
  transform: scale(1, 1);
}
/* 現在のページに下線を常時表示 */
.c-gnav__a.current::after,
.c-gnav__li.current-menu-item > .c-gnav__a::after {
  transform: scale(1, 1);
}
/* トップページでは現在地表示の下線を非表示にする */
.home .c-gnav__a.current::after,
.home .c-gnav__li.current-menu-item > .c-gnav__a::after {
  transform: scale(0, 1) !important;
}
.c-gnav__li.-current, 
.c-gnav__li.focus, 
.c-gnav__li:hover {
  color: #3a66ac;
}

/* サブメニューでは下線アニメーションを無効化 */
.sub-menu .c-gnav__a::after {
  content: none !important;
  display: none !important;
  background: none !important;
  transform: none !important;
  transition: none !important;
}
















/* ===========================================
  フッター
=========================================== */
.w-footer h2 {
  font-size: large;
  font-weight: bold;
}
.w-footer div.footer-box {
  background-color: #1a2173;
  border-radius: 20px;
  margin: 0 auto;
  width: 50%;
  padding: 1em 2em;
}
.w-footer div.footer-box h4 {
  font-size: 1.1em;
}
.w-footer div.footer-box .footer-box-tell {
  font-size: 2.5em;
  font-weight: 700;
}
.w-footer div.footer-box .footer-box-tell span {
  font-size: .8rem;
  font-weight: 400;
}

@media not all and (min-width: 1000px) {
  .w-footer div.footer-box {
    width: 90%;
  }
}
@media screen and (max-width: 1000px) {
  .w-footer div.footer-box {
    width: 90%;
  }
}





/* ===========================================
  フッター 固定部分
=========================================== */
#fix_bottom_menu {
  bottom: 0px;
  display: none;
  left: 0;
  position: fixed;
}
#fix_bottom_menu:before {
  display: block;
  background: #969285;
  opacity: 0.9;
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 0;
}
#fix_bottom_menu .menu_list {
  display: flex;
  height: 50px;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
#fix_bottom_menu .menu-item {
  flex: 1 1 100%;
  text-align: center;
  position: relative;
  height: 100%;
  padding-top: 3px;
  background-color: rgb(255, 133, 135); 
}

#fix_bottom_menu a {
  text-decoration: none;
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}
#fix_bottom_menu li::before {
  content: "";
  display: inline-block;
  background-size:contain;
  background-repeat: no-repeat;
  position: absolute;
  margin-top: 5px;
  width: 25px;
  height: 25px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}
#fix_bottom_menu li:nth-child(1)::before {
  background-image: url(http://wod.local/assets/images/icon-tell-w.png);
}
#fix_bottom_menu li:nth-child(2)::before {
  background-image: url(http://wod.local/assets/images/icon-mail-w.png);
}
#fix_bottom_menu span {
  display: block;
  font-size: 10px;
  color: #fff;
  line-height: 1;
  margin-top: 4px;
  width: 100%;
}
@media (max-width: 959px){
  #fix_bottom_menu {
    box-shadow: 0 0 4px rgb(0 0 0 / 40%);
    transition: bottom .4s;
    width: 100%;
    z-index: 100;
    color: #ffffff;
    display: block;
    padding-bottom: calc(env(safe-area-inset-bottom)*.5);
  }
}




/* ===========================================
  サイドバー
=========================================== */
#sidebar .c-widget+.c-widget {
  margin-top: 0;
}
#sidebar p.sidebar-btn-all a {
  color: #333333;
  display: block;
  padding: .75rem .5rem;
  position: relative;
  text-decoration: none;
}
#sidebar p.sidebar-btn-all {
  border-top: var(--ark-menulist_border);
  line-height: 1.5;
  margin: 0 !important;
  position: relative;
}
#sidebar p.sidebar-btn-all a:hover {
  background-color: var(--ark-color--gray--hover);
}





/* ===========================================
  フロントページ
=========================================== */
.wp-block-cover .has-background-dim:not([class*=-background-color]) {
  background-color: transparent;
}

.wp-block-columns {
  --wp-column-gap: 3.5rem;
  gap: var(--wp-column-gap) !important;
}
.clm-box-wrap > div {
  border-radius: 30px;
  background-color:#fff;
  box-shadow: 0 0 10px rgb(0 0 0 / 20%);
  padding: 1em 0;
  display: flex;
  flex-direction: column;
}

.clm-box-wrap h2.wp-block-heading {
  display: block;
  font-size: 1.2em;
  font-weight: bold;
  border-bottom: #969285 1px solid;
}
.clm-box-wrap p {
  padding: 10px;
  flex-grow: 1;
}


.clm-box-wrap .wp-block-buttons .wp-block-button {
  min-width: 200px
}
.clm-box-wrap .wp-block-button__link {
  border-radius: 5px;
  display: block;
  font-weight: 500;
  position: relative;
}
.clm-box-wrap .wp-block-button__link:after ,
.clm-box-wrap .wp-block-button__link:before {
  content: "→";
  font-weight: 300;
  font-size: 1.25rem;
  line-height: 1;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

/* PC */
@media (max-width: 1000px) {
  .wp-block-columns.clm-box-wrap {
    padding-left: 1rem!important;
    padding-right: 1rem!important;

  }
}

.feature-wrap {
  max-width: 1000px;
  margin: 30px auto;
}
.feature-wrap h3 {
  font-weight: bold;
  margin: 2rem 0;
  color: #3a66ac;
  font-size: 1.8rem;
  text-align: center;
}
.feature-wrap .h3-sub {
  color: #333333;
  font-size: 1.4rem;
}

.flex {
  display: flex;
  flex-wrap: wrap;
}
.jc-sa {
  justify-content: space-around;
}

.card {
  gap: 20px;
}

.card-item {
  box-shadow: 3px 3px 10px #969285;
  width: calc((100% - 60px) / 3);
  background-color: #e7f0ff;
  border-radius: 10px;
}
.card-item-inr {
  margin: auto 0;
  padding: 20px;
}
.card-item-inr h4 {
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: .5rem;
}
.card-item-inr p {
  font-size: .9rem;
}
.card-item-inr img {
  width: 50%;
  height: 50%;
  margin: 0 auto 1rem;
  display: block;
}







/* NEWS
=========================================== */
news-ttl {

}
.news-wrap .news-ttl h2.wp-block-heading {
  font-weight: bold;
}
.news-wrap .news-ttl p {
  margin-top: 0;
}

.news-cnt-wrap a.wp-block-latest-posts__post-title {
  display: block;
  margin: 10px 0;
  font-size: 1.2em;
  font-weight: 500;
  color: #333333;  
}

p.news-btn-more {
  display: flex;
  align-items: center;
  justify-content: end;
}
p.news-btn-more:before {
  border-top: 1px solid;
  content: "";
  width: 4em; /* 線の長さ */
  margin-right: 2em; /* 文字の左隣 */
}
p.news-btn-more a {
  color: #333333;
}





/* ===========================================
  会社概要
=========================================== */
.c-postContent .about-table {
  margin: 0 auto;
}
.c-postContent .about-table table {
  width: 600px;
  max-width: 100%;
}
.c-postContent .about-table table tr {
  padding: 10px 0;
  width: 700px;
  max-width: 100%;
}
.c-postContent .about-table table tr td:nth-child(1) {
  font-size: .9rem;
  background-color: #f8f8f8;
}








/* ===========================================
  施工実績
=========================================== */
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
  font-size: 1.1em;
}
.works-gallery img {
  border-radius: 10px;
  border: #666666 1px solid;
}





/* ===========================================
  アーカイブ
=========================================== */
@media (min-width: 600px) {
  .p-postList.-type-card .p-postList__item {
      flex-basis: 33.3%;
  }
}
.archive-tag span {
  font-size: .8em;
  padding: .2em .5em;
  background-color: #3a66ac;
  border-radius: 5px;
  color: #FFF;
  font-weight: 700;
}




/* ===========================================
  お問い合わせ Contact form7
=========================================== */
.contact-wrap {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
}






/* テキストフィールドとテキストエリアのスタイル */
.wpcf7-text, .wpcf7-textarea {
  width: 90% !important; /* フィールドの幅 */
}

/* チェックボックスのリストアイテム */
span.wpcf7-list-item {
  margin-top: 5px; /* アイテム間の余白 */
  display: block; /* アイテムをブロック表示 */
}

/* フォームのテーブルスタイル */
.form-table {
  border-collapse: collapse; /* テーブルの枠線を結合 */
}

/* 各セルのスタイル */
.form-table tr th,
.form-table tr td {
  padding: 20px !important; /* セル内の余白 */
  border-left: none; /* 左の境界線なし */
  border-right: none; /* 右の境界線なし */
}

/* テーブル全体の境界線 */
.form-table, .wp-block-flexible-table-block-table table {
  border-right: 0;
}

/* 最初の行に境界線を追加 */
.form-table tr:first-child th,
.form-table tr:first-child td {
  border-top: 1px solid #ccc;
}

/* 最後の行に境界線を追加 */
.form-table tr:last-child th,
.form-table tr:last-child td {
  border-bottom: 1px solid #ccc;
}

/* それ以外の行にダッシュ線 */
.form-table tr td {
    border-top: 1px dashed #ccc;
}

/* ヘッダーセルの背景色 */
.form-table tr th {
    background-color: #f3f3f3;
}

/* 必須項目のスタイル */
.required {
    color: #FF3333; /* 必須項目の色を赤に */
}

/* スマホ表示では縦に並べる */
@media screen and (max-width: 1000px){
  .form-table, 
  .form-table tr, 
  .form-table th, 
  .form-table td {
    display: block;
    width: 100%;
  }
  /* table.form-table {
    border-top: none;
  } */
  table.form-table tbody {
    display: block;
    margin: 0 2rem;
  }
  .form-table tr th {
    background-color: #fff!important;
    border: none!important;
  }
  .form-table tr:first-child td {
    border-top: none;
  }


  .form-table tr td {
    border-top: none;
  }

  .form-table tr th {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
  }
  .form-table tr th {
    padding: 15px 5px 0!important;
  }
  .form-table tr td {
    padding: 5px 5px 15px!important;
  }
}

/* 送信ボタンのスタイル */
.wpcf7-submit {
  margin-top: 30px;
  background-color: #3a66ac;
  color: #fff;
  padding: 15px;
  width: 40%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 10px;
}
