/*
Theme Name:SOURCE child
Theme URI:
Description:WordPressテーマ「SOURCE」の自作子テーマです。
Template:source_tcd045
Author:FMC
Author URI:https://fmc-inc.jp/
Version:1.5
*/

a {
    text-decoration: none !important;
}

/* #logo_image, .logo {
    width: 300px;
    margin: 0 auto !important;
}

#logo_image a,  .logo a {
    display: flex !important;
    align-items: center;
}

.logo-txt {
    font-size: 30px;
    color: #6EBB50 !important;
    margin-left: 5px;
    display: none;
} */

#main_col {
    margin-bottom: 90px;
}

@media only screen and (max-width: 1199px) {
    #logo_image img.mobile_logo_image {
        width: 160px !important;
    }
}

.l-container {
    margin: 0 auto;
    padding: 0 10px;
    position: relative;
}

@media screen and (min-width: 736px) {
    .l-container {
        padding: 0 20px;
        width: 1040px;
    }
}

@media screen and (min-width: 736px) {
    .logo-txt {
        display: block;
        font-size: 36px;
    }
}

#global_menu li.current-menu-item > a, .pc .home #global_menu > ul > li > a:hover {
    color: #0CBAEF !important;
}

.menu {
    padding: 0 !important;
}

@media only screen and (max-width: 1199px) {
    #logo_image img.mobile_logo_image, #footer_address .logo img {
        width: 160px;
    }
}

/* トップ */

#index_4box, #index_center_image, #index_3box {
    margin-bottom: 90px;
}

#index_3box_list .icon {
    background: #0CBAEF;
}

.three_box_ico span {
    height: 170px;
    text-indent: 0 !important;
    position: relative;
}

.three_box_ico i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: white;
}

/* 下層ページ共通 */

#main_col #page_header {
    margin: 70px 0 90px 0;
}

@media only screen and (max-width: 767px) {
    #main_col #page_header {
        margin: 0 0 30px 0;
    }
}

#main_col .headline.rich_font {
    position: relative;
    padding: 1.5rem;
    text-align: center;
    font-weight: bold;
    
}

#main_col .headline.rich_font::before {
    position: absolute;
    bottom: -10px;
    left: calc(50% - 30px);
    width: 60px;
    height: 5px;
    content: '';
    border-radius: 3px;
    background: #0CBAEF;
}

/* 製品紹介ページ */
@media screen and (min-width: 736px) {
.service .service-sec {
    padding: 90px 0 0 !important;
    }
    
.service .sec-child:nth-of-type(5) {
        padding: 110px 0 0 !important;
}
}


@media screen and (min-width: 736px) {

    .product-content--list {
        width: 928px;
        margin: 0 auto;
        padding-top: 50px;
        padding-bottom: 0 !important;
    }
}

@media screen and (min-width: 736px) {
    .product-content--list:last-of-type {
        padding-bottom: 80px;
    }
}

@media screen and (min-width: 736px) {
    .product-content--list li {
        width: 426px;
        display: inline-block;
        vertical-align: top;
    }
}

@media screen and (min-width: 736px) {
    .product-content--list:last-of-type li:first-child {
        padding: 0;
    }
}

.product-content--list li {
    padding: 0 35px 30px;
}

.product-content--list:last-of-type li:first-child {
    padding-top: 30px;
}

@media screen and (max-width: 736px) {
    .product-content--list:last-of-type li:first-child {
        padding-top: 0;
    }
}

@media screen and (min-width: 736px) {
    .service .sec-child:nth-of-type(3) .product-content--list__image {
        height: 530px;
    }

    .product-content--list:last-of-type li:first-child {
        padding: 0;
    }
}

.product-content--list__text {
    line-height: 1.6;
}

.product-content--list:last-of-type .product-content--list__image {
    width: 85%;
    margin: 0 auto 30px;
}

.product-content--list:last-of-type .product-content--list__image img {
    display: inline-block;
    height: auto;
    max-width: 100%;
    vertical-align: middle;
}

@media screen and (min-width: 736px) {
    .product-content--list:last-of-type .product-content--list__image {
        width: 270px;
    }
}

@media screen and (min-width: 736px) {
    .product-content__text {
        text-align: center;
        line-height: 2em;
    }
}

.sec-child:first-of-type {
    padding: 0 0 35px;
}

/* 会社概要ページ */

#profile .company-content--profile {
    font-size: 14px;
  }
  
  #profile .company-content--profile dl {
    margin-bottom: 15px;
    font-size: 13px;
  }
  
  #profile .company-content--profile dt {
    margin-bottom: 10px;
    text-align: center;
  }
  
  #profile .company-content--profile dd {
    text-align: center;
  }

  @media screen and (min-width: 736px) {

      #profile .company-content--profile {
        width: 710px;
        margin: 0 auto;
        font-size: 18px;
      }
    
      #profile .company-content--profile dt {
        width: 140px;
        display: inline-block;
        margin-right: 30px;
        text-align: right;
        vertical-align: top;
      }
    
      #profile .company-content--profile dd {
        width: 530px;
        display: inline-block;
        text-align: left;
      }
  }

  .gmap-sec {
      padding-bottom: 0 !important;
  }

  #profile iframe {
    display: block;
    width: 100%;
    height: 250px;
    margin: 0 auto;
}

@media screen and (min-width: 736px) {
    #profile iframe {
        width: 900px;
        height: 350px;
    }
}

.case-list li {
    padding: 32.5px 10px 37.5px;
    text-align: center;
}

.case-list li:nth-child(odd) {
    background-color: #ffffff;
}

.case-list li:last-child {
    padding-bottom: 0;
}

.title-blue {
    position: relative;
    margin-bottom: 25px;
    color: #196bad;
    font-size: 17.5px;
    text-align: center;
    font-size: 21px;
}

@media screen and (min-width: 736px) {
    .title-blue {
        font-size: 32px;
        margin-bottom: 30px;
        line-height: 1.7;
    }
}

.case-list .case-list-type {
    margin-bottom: 20px;
    font-weight: bold;
}

.case-list .case-list-icon {
    background: #00aa71;
    padding: 5px 7px;
    color: #ffffff;
    border-radius: 5px;
    margin-right: 5px;
}

.case-list .case-contents {
    text-align: left;
}

.case-list .case-contents {
    text-align: center;
}

.case-list .case-contents > p {
    margin: 20px 0;
    line-height: 1.6;
}

.c-btn__center {
    text-align: center;
}

.btn {
    width: 100px;
    padding: 10px 0;
    border: 1px solid #00aa71;
    color: #3e3a39;
    display: inline-block;
    text-align: center;
    position: relative;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 1;
}

.c-page-description {
    padding: 0 10px 35px;
    font-size: 13px;
    line-height: 1.8;
    font-weight: bold;
}

@media screen and (min-width: 736px) {
    .c-page-description {
        font-size: 16px;
        text-align: center;
    }
}

@media screen and (min-width: 736px) {
    .block-fiber ul {
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
}

@media screen and (min-width: 736px) {
    .block-fiber li {
        width: calc(33.3333% - 20px);
    }
}
.block-fiber img {
    width: 100%;
}

.block-fiber li p {
    line-height: 3em;
    font-weight: bold;
}

/* アコーディオン */
  
  .accordion {
    margin: 0 auto;
  }
  
  .menu {
    font-size: 18px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    user-select: none;
  }

  .contents {
    text-align: center;
    line-height: 0;
    height: 0;
    overflow: hidden;
    transition-duration: 0.4s;
}

.contents p {
    opacity: 0;
    transition-duration: .8s;
    transition-delay: .3s;
  }
  
  .contents.is-open {
    padding: 10px;
    line-height: normal;
    height: auto;
  }

  .contents.is-open p {
      opacity: 1;
  }

  .service .sec-child:nth-of-type(4), .service .sec-child:nth-of-type(5) {
    padding: 25px 0 35px;
}

  @media screen and (min-width: 736px) {
      .service .sec-child:nth-of-type(4), .service .sec-child:nth-of-type(5) {
          padding-top: 60px;
      }
  }

  .product-content--table {
    overflow: auto;
    white-space: nowrap;
}

.product-content--table table {
    margin: 0 0 1em;
    table-layout: fixed;
    text-align: center;
    vertical-align: middle;
    width: 100%;
}

.product-content--table .table-02 thead th:nth-child(2), .product-content--table .table-02 thead th:nth-child(3), .product-content--table .table-02 thead th:nth-child(5) {
    width: 70px;
}

  @media screen and (min-width: 736px) {
      .product-content--table {
          padding: 0 40px;
      }
  }

  .product-content--table table {
    border: 1px solid #aeaeae;
    margin: 0 0 1em;
    table-layout: fixed;
    text-align: center;
    vertical-align: middle;
    width: 100%;
}

.product-content--table .table-01 thead th:first-child {
    width: 108px;
}

.product-content--table th {
    padding: 12px;
    font-weight: bold;
    background: #f4f7f9;
    border-right: 1px solid #aeaeae;
    border-bottom: 1px solid #aeaeae;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    font-size: 13px !important;
}

.product-content--table .table-01 thead th:nth-child(3) {
    width: 120px;
}

.product-content--table .table-01 thead th:nth-child(5) {
    width: 160px;
}

.product-content--table .table-01 thead th:nth-child(6) {
    width: 60px;
}
.product-content--table .table-02 thead th:nth-child(4), .product-content--table .table-02 thead th:nth-child(6) {
    width: 80px;
}

.product-content--table .table-01 thead th:nth-child(8) {
    width: 70px;
}

.product-content--table .table-01 thead th:first-child {
    width: 108px;
}

.product-content--table .table-01 thead th:nth-child(2), .product-content--table .table-01 thead th:nth-child(4), .product-content--table .table-01 thead th:nth-child(7) {
    width: 80px;
}

.product-content--table .table-01 thead th:nth-child(2), .product-content--table .table-01 thead th:nth-child(4), .product-content--table .table-01 thead th:nth-child(7) {
    width: 80px;
}

@media screen and (min-width: 736px) {
    .product-content--table .table-01 thead th:first-child {
        width: 120px;
    }
}

.product-content--table td {
    padding: 12px;
    border-right: 1px solid #aeaeae;
    border-bottom: 1px solid #aeaeae;
    text-align: center;
}

.product-content--table .table-02 thead th:first-child {
    width: 320px;
}

.product-content--table img {
    width: 90%;
}

.product-content--table__text {
    line-height: 1.6;
    font-size: 13px;
    margin-right: 15px;
}

@media screen and (min-width: 736px) {
    .product-content--table__text {
        text-align: center;
    }
}

.product-content aside {
    line-height: 1.6;
}

@media screen and (min-width: 736px) {
    .product-content aside {
        font-size: 14px;
    }
}

/* お問い合わせ */
span.title {
    font-weight: bold;
}

.wpcf7-textarea, .wpcf7-form-control-wrap {
    display: block;
    margin-top: 10px;
    margin-bottom: 20px;
}

#wpcf7-f121-o1 {
    padding-bottom: 0;
    margin-bottom: 0 !important;
}
   

/* フッター */

#footer_menu ul {
    display: flex;
    justify-content: center;
    width: 100%;
}

#footer_menu ul {
    cursor: default;
}

#footer_menu li {
    margin: 0 10px;
}

#footer_menu li:last-child {
    margin: 0 10px;
}

#footer_menu a {
    display: inline-block;
}

#main_contents ~ #footer_top, #site_wrap ~ #footer_top {
    background-color: #969EA7 !important;
}

@media only screen and (max-width: 1199px) {
    #footer_menu {
        margin: 0 !important;
    }

    #footer_menu ul, #footer_menu ul:last-child {
        width: 100% !important;
        text-align: center !important;
    }
}

#footer_address .logo img {
    margin: 0 0 auto;
}

/* ユーティリティー */
.u-fw-b {
    font-weight: bold !important;
}

.u-ta-r {
    text-align: right !important;
}
