/*
Theme Name: genesis_child
Template: genesis_tcd103
*/

/* お問い合わせ親ページのスタイル */
.contact ul {
  display: block;
  list-style-type: disc;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding-inline-start: 40px;
  padding-left: 0;
}
.contact .title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 1em;
}
.contact .txt {
  line-height: 1.8;
}
.contact ul a {
  color: #000 ;
  text-decoration: none;
}

.contact ul a:hover {
  color: #000;
  text-decoration: underline;
}

/* お問い合わせ
_ECプラットフォームの開発に関するお問い合わせのスタイル 
_WebシステムやHPの制作に関するお問い合わせのスタイル
*/
#custom-contact-form .wpcf7 {
  background: none;
  border: none;
}
.wpcf7-form-control-wrap {
  display: block;
  padding: 20px 0 25px 0;
  border-bottom: 2px solid #f7f7f7;
}
.wpcf7 input, .wpcf7 textarea {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  padding: 8px;
  border: none;
  line-height: 1.2;
}
#custom-contact-form input:focus {
  border: none !important; /* フォーカス時のボーダーを消します */
}
#custom-contact-form textarea:focus {
  border: none !important; /* フォーカス時のボーダーを消します */
}

.wpcf7 .wpcf7-submit, .wpcf7 .wpcf7-previous {
  width: 280px;
  height: 60px;
  line-height: 60px;
  border-radius: 70px;
  color: #ffffff;
  background-color: #147f2a !important;
  border: 1px solid #147f2a !important;
  border: none;
  padding: 0;
  font-size: 16px;
}
.wpcf7 .wpcf7-submit:hover {
  color: #ffffff;
  background-color: #006614 !important;
}
/* お問い合わせ
_その他に関するお問い合わせのスタイル 
*/
.wpcf7-select {
  border: 2px solid #f7f7f7;
  border-radius: 5px;
  width: 50% !important;
}
.wpcf7-form {
  margin: 0 !important;
}

/* エンジニアリングのスタイル */
.wp-image-779, .wp-image-795, .wp-image-798, .wp-image-801, .wp-image-804, .wp-image-806, .wp-image-809, .wp-image-812, .wp-image-815 {
  width: 50% !important;
  height: auto;
  float: right;
}
.wp-block-media-text__content h2 {
  text-align: left !important;
}
.wp-block-media-text__content {
  padding-left: 0 !important;
}
.wp-image-820 {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 480px) {
  /* 480px以下に適用されるCSS（スマホ用） */
  .wp-block-heading h4 {
    font-size: 20px !important;
  }
  .wp-image-779, .wp-image-795, .wp-image-798, .wp-image-801, .wp-image-804, .wp-image-806, .wp-image-809, .wp-image-812, .wp-image-815 {
    width: 100% !important;
  }
  .wp-block-media-text__content {
    padding-right: 0 !important;
  }
  /* 問い合わせフォームのセレクトボックスの幅を100%にする */
  .wpcf7-select {
    border: 2px solid #f7f7f7;
    border-radius: 5px;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/*
Theme Name: genesis_child
Template: genesis_tcd103
*/

/* お問い合わせ親ページのスタイル */
.contact ul {
  display: block;
  list-style-type: disc;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding-inline-start: 40px;
  padding-left: 0;
}
.contact li {
  list-style: none;
  text-align: -webkit-match-parent;
  border-bottom: 2px solid #f7f7f7;
  border-bottom-width: 2px;
  border-bottom-style: solid;
  border-bottom-color: rgb(247, 247, 247);
}
.contact a {
  position: relative;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 20px 30px 20px;
}
.contact a:hover {
  background-color: #f2f2f2;
  transition: all 0.3s ease 0s;
}
.title-wrapper {
  width: calc(100% - 50px);
}
.contact li span {
  display: inline-block;
}
.contact .title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 1em;
}
.contact .txt {
  line-height: 1.8;
}
.contact ul a {
  color: #000 ;
  text-decoration: none;
}
.contact ul a:hover {
  color: #000;
  text-decoration: none;
}
.form-link:hover {
  .title {
  text-decoration: underline;

  }
}

/* 会社概要ページのスタイル */
.wp-block-table table {
  border: none; /* テーブルの罫線を消します */
}

.wp-block-table th, .wp-block-table td {
  border: none; /* テーブルセルの罫線を消します */
}
/* お問い合わせ
_ECプラットフォームの開発に関するお問い合わせのスタイル 
_WebシステムやHPの制作に関するお問い合わせのスタイル
*/
#custom-contact-form .wpcf7 {
  background: none;
  border: none;
}
.wpcf7-form-control-wrap {
  display: block;
  padding: 20px 0 25px 0;
  border-bottom: 2px solid #f7f7f7;
}
.wpcf7 input, .wpcf7 textarea {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  padding: 8px;
  border: none;
  line-height: 1.2;
}
#custom-contact-form input:focus {
  border: none !important; /* フォーカス時のボーダーを消します */
}
#custom-contact-form textarea:focus {
  border: none !important; /* フォーカス時のボーダーを消します */
}

.wpcf7 .wpcf7-submit, .wpcf7 .wpcf7-previous {
  width: 280px;
  height: 60px;
  line-height: 60px;
  border-radius: 70px;
  color: #ffffff;
  background-color: #147f2a !important;
  border: 1px solid #147f2a !important;
  border: none;
  padding: 0;
  font-size: 16px;
}
.wpcf7 .wpcf7-submit:hover {
  color: #ffffff;
  background-color: #006614 !important;
}
/* お問い合わせ
_その他に関するお問い合わせのスタイル 
*/
.wpcf7-select {
  border: 2px solid #f7f7f7;
  border-radius: 5px;
  width: 50% !important;
}
.wpcf7-form {
  margin: 0 !important;
}

/* エンジニアリングのスタイル */
.wp-image-779, .wp-image-795, .wp-image-798, .wp-image-801, .wp-image-804, .wp-image-806, .wp-image-809, .wp-image-812, .wp-image-815 {
  width: 50% !important;
  height: auto;
  float: right;
}
.wp-block-media-text__content h2 {
  text-align: left !important;
}
.wp-block-media-text__content {
  padding-left: 0 !important;
}
.wp-image-820 {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 480px) {
  /* 480px以下に適用されるCSS（スマホ用） */
  .wp-block-heading h4 {
    font-size: 20px !important;
  }
  .wp-image-779, .wp-image-795, .wp-image-798, .wp-image-801, .wp-image-804, .wp-image-806, .wp-image-809, .wp-image-812, .wp-image-815 {
    width: 100% !important;
  }
  .wp-block-media-text__content {
    padding-right: 0 !important;
  }
  /* 問い合わせフォームのセレクトボックスの幅を100%にする */
  .wpcf7-select {
    border: 2px solid #f7f7f7;
    border-radius: 5px;
    width: 100% !important;
    max-width: 100% !important;
  }
}

img {
  -webkit-backface-visibility: hidden;
  image-rendering: -webkit-optimize-contrast;
}

/* headerロゴ */
#header_logo img {
  width: 160px;
  height: auto;
}

/* footerロゴ */
#footer_logo img {
  width: 180px;
  height: auto;
}

/* トップページ service */
@media (min-width: 800px) {
  .top-service .service_category_content .post_list.type1 .image_wrap {
    aspect-ratio: 4 / 3;
  }
  .top-service .service_category_content {
    padding: 0;
  }
}
@media (max-width: 799px) {
  .top-service .service_category_content .post_list.type1 .image_wrap {
    max-height: none;
  }
  .post_content p {
    margin: 0;
  }
}

#copyright,
#global_menu ul ul a:hover {
  background-color: #4d4d4d !important;
}

/* コンテンツ幅 */
/* 固定ページ */
#page_contents .post_content {
  max-width: 1455px;
}
#page_header .design_header {
  max-width: 1455px;
}
#page_header .desc_area {
  max-width: 1455px;
}
/* 投稿ページ */
#main_content {
  max-width: 1455px;
}
/* パンくず全般 */
#bread_crumb {
  max-width: 1455px;
}
body.short_content_width #bread_crumb {
  max-width: 1455px;
}
/* アーカイブ_ヘッダータイトル */
#archive_header {
  max-width: 1455px;
}
/* アーカイブ_タイトル */
#archive_news {
  max-width: 1455px;
}
/* アーカイブ_カテゴリー */
.inview {
  max-width: 1455px;
  margin-left: auto;
  margin-right: auto;
}
/* トップスライダーセクション */
#header_slider_content {
  max-width: 1445px;
  margin-left: auto;
  margin-right: auto;
  height: auto;
  padding: 40px 0;
}
/* footerセクション */
#footer_inner {
  max-width: 1445px;
}
@media only screen and (min-width: 1720px) {
  #footer_nav {
    padding: 0 60px !important;
  }
}

@media screen and (max-width: 1100px) {
  #footer_nav {
    padding: 0 40px;
  }
}
@media screen and (max-width: 800px) {
  #footer_nav {
    padding: 0 20px;
  }
}
#footer_nav ul {
  max-width: 1445px;
  display: flex;
  flex-wrap: wrap;
  padding: 16px 0;
  margin: 0;
}
#footer_nav li a {
  height: auto;
 line-height: normal;
}

/* トップサービスセクション */
.cb_free_space.num1 {
  background-color: #f6f6f6;
}
.cb_free_space.num1 .post_content {
  padding: 0;
}
.top-service {
  animation: index_news_tab_animate 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.2s;
}
.top-service__row {
  display: flex;
  justify-content: space-between;
  padding: 0 60px;
}
.top-service__row:not(:first-of-type) {
  margin-top: 60px;
}
.top-service__col-text {
  flex: 0 1 48%;
  background: #fff;
  border-radius: 4px;
  padding: 60px;
}
.top-service__col-img {
  flex: 0 1 48%;
  margin-left: 2%;
  display: flex;
  align-items: center;
}
h4.top-service__h4 {
  font-size: 24px;
}
.top-service .cb_design_arrow_button {
  padding: 0;
}
@media screen and (max-width: 1100px) {
  .top-service__row {
    padding: 0 40px;
    flex-direction: column-reverse;
  }
  .top-service__col-text、
  .top-service__col-text {
    flex: 0 1 100%;
    margin: auto;
  }
  .top-service__col-text {
    padding: 30px;
  }
}
@media screen and (max-width: 800px) {
  .top-service__row {
    padding: 0 20px;
  }
  h4.top-service__h4 {
    font-size: 22px;
  }
}

/* PCとSP画像の切り替え */
.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

@media (max-width: 800px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: block;
  }
  .wpcf7 .wpcf7-submit, .wpcf7 .wpcf7-previous　{
    width: 240px;
    height: 50px;
    line-height: 50px;
  }
}

/* メニュー */
#global_menu > ul > li {
  cursor: pointer;
}
/* iPhone、Safari、スマホ selectbox プルダウンメニュー */
select {
  appearance: none;
  -webkit-appearance: none; /* safariなどのIOSブラウザ */
  -moz-appearance:none; /* firefox  */
}

/* トップページサービスセクション */
@media (max-width: 767px) {
  .top-service__col-img {
    margin-left: 0;
    margin-bottom: 16px;
  }
}
/* sp時ロゴサイズ調整 */
@media (max-width: 1100px) {
  #header_logo img {
      width: 120px;
  }
  #footer_logo img {
      width: 120px;
  }
}
/* リキャプチャスタイル調整 */
.grecaptcha-badge { bottom: 100px!important; }

/* 問い合わせフォームの前文のスタイル */
.inquiry-message {
  padding: 15px;
  margin: 10px 0;
}
.inquiry-message p {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.8;
}
.inquiry-message strong {
  color: #666;
}
.inquiry-message p .contact-phone {
  color: #167f2a;
}

/* 開発実績の日付を非表示にする */
body.archive .date {
  display: none !important;
}
body.project-template-default .date, .update {
  display: none !important;
}

/* ----------------------------------------------------------------------
 Contact form 7
---------------------------------------------------------------------- */
.wpcf7 .wpcf7-submit, .wpcf7 .wpcf7-previous { -webkit-transition:all .3s; -webkit-box-sizing:border-box; box-sizing:border-box; display:block; position:relative; width:225px; height:48px; margin:30px auto 0; border:none !important; outline:none; background-color:#333333; color:#fff; font-size:14px; line-height:1.5; text-align:center; text-decoration:none; cursor:pointer; transition:all .3s; }
.wpcf7 .wpcf7-previous + br { display: none; }
.wpcf7 .wpcf7-submit:hover, .wpcf7 .wpcf7-previous:hover { background-color:#666666; }
.wpcf7 form .wpcf7-response-output { margin: 2em 0.5em 2em; padding:0; border: none; text-align:center; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output { color:#dc3232; font-size: 1em; }

/* フッターのレイアウトを設定 */
.footer-columns {
  display: flex;
}
/* スマートフォンでの表示を縦積みに設定 */
@media (max-width: 600px) {
  .footer-columns {
    flex-direction: column;
  }
}

.footer-column {
  flex: 1;
  padding: 10px;
}
#footer_address li {
  list-style: none !important;
}
#footer_address ul {
  margin-left: 0;
}
#footer_address li a {
  color: #000;
}
#footer_address li a:hover {
  text-decoration: none;
  color:#167f2a;
}

.blog_carousel .image_link {
  aspect-ratio: 160 / 95 !important;
}
.blog_list .image_link {
  aspect-ratio: 160 / 95 !important;
}

.top-service__col-text .design_top_service_button {
  float: right;
  margin-bottom: 20px;
}

/* ブログ調整 */
#single_post_header_image img {
  height: auto;
}

/* トップお問い合わせボタン調整 */
.post_content a.q_custom_button1.crafree {
  width: 330px;
}
@media (max-width: 1200px) {
  .post_content a.q_custom_button1.crafree {
      width: 330px !important;
  }
}
@media (max-width: 800px) {
  .post_content a.q_custom_button1.crafree {
      width: 280px !important;
      white-space: nowrap;
  }
}

/* 採用サイトクラフリーセクション */
.recruit-btn--crafree {
  width: 320px;
}
.recruit-about-business__flex--top {
  margin: 139px 0 0;
}
@media (max-width: 767px) {
  .recruit-about-business__flex--top {
    margin: 58px 0 0;
  }
}

/* 採用情報ページのスタイル */
.page-template-page-recruit-jobs {
  .mt-16 {
    margin-top: 16px;
 }
 .mt-30 {
    margin-top: 30px;
 }
 .inline {
    display: inline;
 }
}

.recruit-top-entry__links .recruit-btn {
  height: 70px !important;
  text-align: center;
}
.recruit-top-entry__links .recruit-btn:hover {
  filter: brightness(110%);
}
.recruit-top-entry__links .recruit-btn.green{
  background: #006614 !important;
}
