/*
Theme Name: 株式会社日工検
Description:株式会社日工検のコーポレートサイト
Theme URI: https://nikkoken-ndt.co.jp/
Author: Passione inc
Author URI: https://la-passione.co.jp/
Version: 1.00
*/
/* ========== Reset ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media screen and (max-width: 480px) {}

/* ========== Base typography ========== */
body, html {
    height: 100%;
}

body {
    -webkit-print-color-adjust: exact;
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 12pt;
    color: #000000;
    line-height: 1.6em;
    -webkit-text-size-adjust: 100%;
}

.body-wrap {
    overflow-x: hidden;
}

section {
    width: 100%;
}

.section-wrap {
    width: 92%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 100px;
    padding-bottom: 100px;
}

a {
    color: #000000;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

a:hover img {
    opacity: 0.8;
    filter: alpha(opacity=80);
    -webkit-transition: 0.2s ease-in-out;
    -moz-transition: 0.2s ease-in-out;
    -o-transition: 0.2s ease-in-out;
    transition: 0.2s ease-in-out;
}

main {
    padding-top: 70px;
}

main.page h2 {
  text-align: left;
  padding-bottom: 15px;
  padding-top: 15px;
  font-size: 20pt;
  font-weight: bold;
  line-height: 1.4em;
  color: #ffffff;
  border-radius: 100px;
  padding-left: 40px;
  background-color: #008994;
}

article.layout-inspection {
  position: relative;
  display: block;
  padding-top: 80px;
  margin-top: -80px;
}
article.layout-inspection .overlay {
    position: absolute;
    right: 40px;
    top: 0px;
    height: auto;
    width: 135px;
}


@media screen and (max-width: 480px) {
    .section-wrap {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

/* ========== Layout Basic ========== */
/* ヘッダー */
header {
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    align-items: center;
    background-color: #FFFFFF;
    position: fixed;
    top: 0px;
    width: 100%;
    height: 70px;
    z-index: 999;
    /* ドロワーを前面に出したい場合、念のため追加 */
}

header .site-logo {
    width: 60%;
    max-width: 150px;
}

header nav {
    margin-left: auto;
}

/* ------------------------------------------------- */
header nav ul {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}

header nav ul li {
    padding-left: 10px;
    padding-right: 10px;
}

header nav ul.sub {
    font-size: 10pt;
}

/* ドロワーメニュー全体 */
.drawer-menu {
  position: fixed;
  top: 0;
  right: -70%;
  /* 初期は画面外（右側）に隠しておく */
  width: 70%;
  height: 100vh;
  background-color: rgba(255,255,255,0.90);
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* 縦方向に中央配置などにしたい場合 */
  align-items: flex-end;
  /* リストを右寄せに */
  padding: 20px;
}

/* .drawer-menuが.open状態になったら右:0 で表示 */
.drawer-menu.open {
    right: 0;
}

/* ドロワー内のulを縦並び（右寄せ） */
.drawer-menu ul {
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 20px;
}

/* ハンバーガーボタン */
.menu-button {
    display: inline-block;
    margin-left: auto;
    /* ロゴの次に右側へ配置 */
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 25px;
    position: relative;
    z-index: 1001;
    /* ドロワーより手前に出す */
    margin-right: 5px;
}

.menu-button span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

/* スマホ時のみ表示、PC時は非表示などの分岐 */
@media screen and (min-width: 481px) {
    .menu-button {
        display: none;
    }
}

@media screen and (max-width: 480px) {

    /* PCではドロワーを使わずに別レイアウトにしたいなら、
     ここでnavを display:none → .drawer-menu を display:block; にする等、条件調整 */
    header nav {
        display: none;
        /* スマホ時はデフォルト非表示にしてドロワーに任せる */
    }

    header nav ul {
        font-size: 18pt;
    }

    header nav ul li {
        padding-left: 20px;
        padding-right: 20px;
        line-height: 3em;
        font-size: 14pt;
    }

    header nav ul.sub {
        font-size: 14pt;
    }
}

/*フッター*/
footer {
  width: 100%;
  color: #FFFFFF;
  background-color: #008994;
}

footer .bg {
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
  padding-top: 100px;
  padding-bottom: 15px;
}

footer a {
    color: #FFFFFF;
}

footer .wrap {
    display: flex;
    flex-wrap: wrap;
    margin-left: 10%;
}

footer .wrap .info {
    width: 100%;
    max-width: 500px;
    margin-bottom: 30px;
}

footer .wrap .info .logo {
    margin-bottom: 20px;
}

footer .wrap .info .logo img {
    max-width: 200px;
}

footer .wrap .info .address {}

footer .wrap .info .telfax {}

footer .wrap .link {
    width: 100%;
    max-width: 300px;
    margin-bottom: 20px;
}

footer .wrap .link ul {
    list-style-type: none;
    padding-left: 30px;
    border-left: 1px solid #FFFFFF;
}

footer .wrap .link ul li {
    padding-top: 5px;
    padding-bottom: 5px;
}

footer .wrap .link ul li a {}

footer copyright {
    color: #FFFFFF;
    text-align: center;
    font-size: 10pt;
    display: block;
    padding-top: 50px;
}

/*お問い合わせボタン*/
.contact-btn {
    position: fixed;
    right: 15px;
    bottom: 100px;
    z-index: 1000;
}

.contact-btn a {
    width: 100px;
    height: auto;
}

.contact-btn a img {}

@media screen and (max-width: 480px) {

footer .bg {
  background-size: auto 100%;
}

footer .wrap {
    margin-left: 0%;
    padding-left: 5%;
    padding-right: 5%;
}

footer .wrap .info {
    width: 100%;
    max-width: 500px;
    margin-bottom: 30px;
}

footer .wrap .info .logo {
    margin-bottom: 20px;
}

footer .wrap .info .logo img {
}

footer .wrap .info .address {}

footer .wrap .info .telfax {}

footer .wrap .link {
    width: 100%;
    max-width: 300px;
    margin-bottom: 20px;
}

}

/*サブページタイトル*/
section.title {
  width: 100%;
  background-color: #008994;
}

section.title .section-wrap {
    padding-top: 30px;
    padding-bottom: 30px;
}

section.title .section-wrap h1 {
    font-size: 20pt;
    color: #FFFFFF;
    line-height: 1.6em;
}

@media screen and (max-width: 480px) {
    section.title .section-wrap h1 {
        font-size: 20pt;
    }
}


/* ========== Layout トップページ ========== */
main.toppage {
    padding-top: 0px;
}

/* ファーストビュー用セクション */
section.fv-section {
    position: relative;
}

.fullscreen-slider {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.fullscreen-slider .slide {
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* キャッチコピーを動画の上に重ねる */
.catch-copy {
    position: absolute;
    top: 50%;
    left: 15%;
    transform: translate(-15%, -50%);
    color: #fff;
    font-size: 35pt;
    text-align: left;
    z-index: 2;
    line-height: 1.8em;
    filter: drop-shadow(10px 10px 10px rgb(0, 0, 0));
}

main.toppage .inspection-area h2 {
    text-align: center;
    font-size: 20pt;
    line-height: 1.6em;
    font-weight: bold;
    padding-bottom: 10px;
    color: #000000;
    margin-bottom: 50px;
    position: relative;
}

main.toppage .inspection-area h2::after {
    content: '';
    width: 110px;
    height: 4px;
    display: inline-block;
    background-color: #008994;
    position: absolute;
    bottom: -10px;
    left: calc(50% - 55px)
}

.inspection-area ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style-type: none;
}

.inspection-area ul li {
  width: 100%;
  max-width: 370px;
  border-radius: 100px;
  margin-left: 1%;
  margin-right: 1%;
  margin-bottom: 30px;
  background-color: #008994;
}

.inspection-area ul li a {
    padding-top: 25px;
    padding-bottom: 25px;
    text-align: center;
    color: #FFFFFF;
    display: block;
    font-size: 16pt;
    text-decoration: none;
}

.inspection-area ul li:hover {
    opacity: 0.8;
}

@media screen and (max-width: 480px) {

.catch-copy {
        left: 25%;
        transform: translate(-25%, -50%);
        color: #fff;
        font-size: 30pt;
}

}


/* ========== Layout 検査・サービス ========== */


article.layout-inspection {
  margin-bottom: 50px;
}
article.layout-inspection .wrap {
    display: flex;
    flex-wrap: wrap;
    padding-top: 30px;
    padding-bottom: 30px;
}

article.layout-inspection .wrap .txt {
    width: 70%;
    padding-left: 50px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: left;
}

article.layout-inspection .wrap .txt p {
    font-size: 12pt;
    font-weight: bold;
    line-height: 2em;
}

article.layout-inspection .wrap .img {
    width: 30%;
}

@media screen and (max-width: 480px) {

article.layout-inspection .wrap .txt {
    width: 100%;
    padding-left: 0px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: left;
}

article.layout-inspection .wrap .txt p {
    font-size: 12pt;
    font-weight: bold;
    line-height: 2em;
}

article.layout-inspection .wrap .img {
    width: 100%;
}

}


/* ========== Layout 技術資格保有者 ========== */

section.qualifications table {
border: 1px #e6e6e6 solid;
border-collapse: collapse;
margin-bottom: 50px;
} 

section.qualifications table tr th {
    background-color: #f9f9f9;
border: 1px #e6e6e6 solid;
padding: 20px 30px;
} 

section.qualifications table tr.title th {
    background-image: linear-gradient(120deg, rgba(1, 138, 231, 1), rgba(0, 191, 181, 1));
    color: #FFFFFF;
    font-size: 16pt;
} 

section.qualifications table tr td {
border: 1px #e6e6e6 solid;
padding: 20px 30px;
}

@media screen and (max-width: 480px) {


}


/* ========== Layout 会社概要 ========== */
main.company section#greeting .section-wrap .wrap {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 80px;
}

main.company section#greeting .section-wrap .wrap h3 {
font-size: 26pt;
line-height: 1.6em;
margin-bottom: 30px;
}

main.company section#greeting .section-wrap .wrap p {
font-size: 12pt;
line-height: 1.8em;
}

main.company section#greeting .section-wrap .wrap p.right {
padding-top: 20px;
text-align: right;
}



main.company section#company-profile .section-wrap .wrap {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 80px;
}

main.company section#company-profile .section-wrap .wrap dl {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

main.company section#company-profile .section-wrap .wrap dl dt{
    width: 30%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 12pt;
    line-height: 1.6em;
    padding: 20px;
    background-color: #f5f5f5;
    margin-bottom: 5px;
}

main.company section#company-profile .section-wrap .wrap dl dd{
    width: 70%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 12pt;
    line-height: 1.6em;
    padding: 20px;
    background-color: #fbfbfb;
    margin-bottom: 5px;
}

main.company section#history .section-wrap .wrap {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 80px;
}

main.company section#history .section-wrap .wrap dl {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

main.company section#history .section-wrap .wrap dl dt{
    width: 20%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 12pt;
    line-height: 1.6em;
    padding: 20px;
    margin-bottom: 20px;
    border-right: 2px solid #008994;
}

main.company section#history .section-wrap .wrap dl dd{
  width: 80%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 12pt;
  line-height: 1.6em;
  padding-top: 10px;
  padding-right: 20px;
  padding-left: 20px;
  padding-bottom: 10px;
  margin-bottom: 20px;
}


@media screen and (max-width: 480px) {

main.company section#greeting .section-wrap .wrap h3 {
font-size: 22pt;
margin-bottom: 30px;
}

main.company section#history .section-wrap .wrap dl dt{
        width: 100%;
        justify-content: flex-start;
        align-items: left;
        font-size: 12pt;
        line-height: 1.6em;
        padding: 10px;
        margin-bottom: 10px;
        border-bottom: 2px solid #098eb3;
        border-right: none;
}

main.company section#history .section-wrap .wrap dl dd{
        width: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        font-size: 12pt;
        line-height: 1.6em;
        padding-top: 10px;
        padding-right: 10px;
        padding-left: 10px;
        padding-bottom: 10px;
        margin-bottom: 20px;
}


}



/* ========== Layout 規約系 ========== */
.page-ethics .section-wrap {
    max-width: 800px;
}

.page-ethics .overview {
    font-size: 12pt;
    line-height: 1.6em;
    margin-bottom: 50px;
}

.page-ethics .wrap {
    margin-bottom: 30px;
}

.page-ethics h2 {
    color: #000000;
    font-size: 14pt;
    padding-bottom: 10px;
    text-align: left;
}

.page-ethics p {
    font-size: 12pt;
    line-height: 1.6em;
}


@media screen and (max-width: 480px) {


}




/* ========== Layout お問い合わせ ========== */

section.contact .section-wrap {
max-width: 800px;
}

section.contact .overview {
text-align: center;
margin-bottom: 30px;
}

.form dl {
margin-bottom: 30px;
}
.form dl dt {
font-weight: bold;
margin-bottom: 10px;
}
.form dl dd {
}

.form label {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    white-space: nowrap;
    margin-right: 20px;
    margin-bottom: 10px;
}

.form label input {
    margin-right: 10px;
}
.form label span {
display: inline-block;
}

.wpcf7 input::placeholder {
color: #CFCFCF;
}
.wpcf7 textarea::placeholder {
color: #CFCFCF;
}

.wpcf7 input {
    width: 100%;
    padding-top: 15px;
    padding-bottom: 15px;
    border: 1px solid #000000;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 14pt;
}

.wpcf7 select {
    width: 100%;
    padding-top: 15px;
    padding-bottom: 15px;
    border: 1px solid #000000;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 14pt;
}

.wpcf7 textarea {
    width: 100%;
    padding-top: 15px;
    padding-bottom: 15px;
    border: 1px solid #000000;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 14pt;
    font-weight: normal;
}

.wpcf7 .wpcf7-not-valid-tip {
    font-size: 10pt;
}

.wpcf7 .wpcf7-acceptance input {
    width: auto;
}

.wpcf7 .wpcf7-submit {
  border: none;
  border-radius: 50px;
  color: #FFFFFF;
  background-color: #008994;
}

.wpcf7 .wpcf7-submit:disabled {
    background-color: #d7d7d7;
background-image: none;
}

@media screen and (max-width: 480px) {

.form label {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    white-space: nowrap;
    margin-right: 20px;
    margin-bottom: 10px;
}

.wpcf7-list-item {
  display: flex !important;
}


}






