/*
Theme Name: Lightning Child
Template: lightning
Description: Lightningテーマの子テーマ
Author: carnaplus
Version: 1.0
*/

/* 親テーマのCSSを読み込む（後述の functions.php でも行う） */


/* =====================
フォントの変更
===================== */

body,html {
    font-family: "Noto Sans JP", sans-serif;
}

.br-pc {
    display: block;
}
.br-sp {
    display: none;
}
@media screen and (max-width: 768px) {
.br-pc {
    display: none;
}
.br-sp {
    display: block;
}
}

@media screen and (max-width: 768px) {
.home h2 {
    font-size: 25px !important;
}
}

.wbr {
    /* wbr */
    word-break: auto-phrase;
    overflow-wrap: anywhere;
}
@media screen and (max-width: 768px) {
.wbr {
    /* wbr */
    word-break: unset;
    overflow-wrap: unset;
}
}

@media screen and (max-width: 991px) {
.site-header {
    position: fixed;
    top: 0;
    background: #fff !important;
}
.site-header-logo img {
    display: block;
    margin: 0 !important;
}
}

.site-header .global-nav-list>li .global-nav-name {
    font-size: 16px !important;
}
.site-header-container.container {
    max-width: 100%;
}

/* スクロール時のヘッダーロゴ画像を表示（テーマ設定の非表示を上書き） */
.header_scrolled .site-header-logo {
    display: block;
}
@media screen and (max-width: 768px) {
.header_scrolled .site-header-logo img {
    display: block;
    margin: 0 !important;
}
}




.fv {
    margin-bottom: 0 !important;
}


.message__box {
    /* max-width: 600px;
    margin-inline: auto; */
}
.message__title {
    line-height: 2.9;
    margin-block-end: 0 !important;
    /* wbr */
    /* word-break: keep-all; 
    overflow-wrap: break-word; */
}
@media screen and (max-width: 768px) {
.message__title {
    margin-top: 30px !important;
    font-size: 16px;
    text-align: center;
    line-height: 2;
    /* wbr */
    /* word-break: unset;
    overflow-wrap: unset; */
}
.message__title:first-of-type {
    margin-top: 0px !important;
}
}
/* @media screen and (max-width: 400px) {
.message__title {

}
} */

.message__sdgs {
    line-height: 2.2;
    /* wbr */
    word-break: keep-all; 
    overflow-wrap: break-word;
}
@media screen and (max-width: 768px) {
.message__sdgs {
    font-size: 16px !important;
}
}


.vkp_table_speech_bubble table{
  border-collapse: separate;
  border-spacing: 0 10px;
  border:none;
}

/* ============= */


/* ============= */

/* tdの共通背景色 */
/* :root {
  --td-bg-color:rgba(0,0,0,0.05);
}
  

.vkp_table_speech_bubble :is(td,th) {
  border: none !important;
  padding: 1rem;
  background:#fff;
} */

/* 最初のtd */
/* .vkp_table_speech_bubble tr td:nth-of-type(1)  {
  background: var(--td-bg-color);
  vertical-align: middle;
  text-align: left;
  overflow: visible;
}


.vkp_table_speech_bubble tr td:nth-of-type(2) {
  
  border-bottom: 1px solid var(--td-bg-color) !important;
} */

.home {

}
@media screen and (max-width: 768px) {
.home p,
.home li {
    font-size: 16px !important;
}
}

/* ============= */

.company-table {

}
@media screen and (max-width: 768px) {
.company-table table th,
.company-table table td {
    font-size: 16px;
}
}

/* ============= */

.why__images .vk-cols--hasbtn>.row>.vk_gridColumn_item,.vk-cols--hasbtn>.wp-block-column {
    padding-bottom: 0 !important;
}
@media screen and (max-width: 768px) {
.company__box {
    padding-inline: 0 !important;
}
.company__box tr {
    display: flex;
    flex-direction: column;
}
.why__images.wp-container-core-columns-is-layout-47c06fe3 {
    gap: 0 !important;
}
}

.mineralHistory__box {
    padding-inline: 20px !important;
    /* wbr */
    word-break: keep-all; 
    overflow-wrap: break-word;
}
@media screen and (max-width: 768px) {
.mineralHistory__box {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
}
.mineralHistory_text {
    line-height: 2.9;
}
@media screen and (max-width: 768px) {
.mineralHistory_text {
    line-height: 2;
}
}

/* ============= */
.minerals-relations {

}

@media screen and (max-width: 768px) {
.minerals-relations__text {
    /* text-align-last: left; */
}
}



/* ============= */

.mineral-overview__table {

}

.mineral-overview__table table td {
    padding-block: 20px !important;
}
@media screen and (max-width: 768px) {
.mineral-overview__table table th,
.mineral-overview__table table td {
    font-size: 12px;
}
}

.mineral-overview__table table td span.small {
    margin-left: 3px;
    font-size: 10px;
}
.mineral-overview__table table td:first-of-type {
    color: #3F48CC;
    width: fit-content;
}
.mineral-overview__table table td:nth-of-type(2) {
    width: auto;
}

@media screen and (max-width: 768px) {
.mineral-overview__text1,
.mineral-overview__text2 {
    /* text-align: left; */
    /* wbr */
    word-break: unset;
    overflow-wrap: unset;
}
}


/* ============= */

.intake-box {

}
@media screen and (max-width: 768px) {
.intake-box {
    padding: 20px !important;
}
.intake-box img {
    display: block;
    width: 60%;
    margin-inline: auto;
}
}

/* ============= */

.seawater-mineral-composition {
    padding: 20px !important;
}
@media screen and (max-width: 768px) {
.seawater-mineral-composition {

}
}

/* ============= */

.mineral-extraction-box figure {
    padding-inline: 0 !important;
}

.mineral-extraction__image {
    max-width: 250px;
    margin-inline: auto;
}


/* テーブル */
.mineral-intake-table {

}
.mineral-intake-table table td {
    padding-block: 15px !important;
}
@media screen and (max-width: 768px) {
.mineral-intake-table table th,
.mineral-intake-table table td {
    font-size: 12px;
}
}
.mineral-intake-table table td span.small {
    margin-left: 3px;
    font-size: 10px;
}
.mineral-intake-table table td:first-of-type {
    color: #3F48CC;
    width: fit-content;
}
.mineral-intake-table table td:nth-of-type(2) {
    width: auto;
}


/* ============= */

.top-news-category-items {
    /* padding-left: 0; */
    display: flex;
    flex-wrap: nowrap !important;
    gap: 20px;
    overflow-x: scroll;
    scrollbar-width: none !important; /*Firefox対応のスクロールバー非表示コード*/  
    -ms-overflow-style: none !important;/*Internet Explore対応のスクロールバー非表示コード*/   
}
.top-news-category-items::-webkit-scrollbar {  
    display: none !important; /*Google Chrome、Safari、Microsoft Edge対応のスクロールバー非表示コード*/
}

.top-news-category-items li {
    /* list-style: none; */
    min-width: fit-content;
    position: relative;
}
.top-news-category-items li::after {
    content: "/";
    position: absolute;
    top: 4px;
    right: -15px;
    color: #bababa;
}
.top-news-category-items li:last-child:after {
    display: none;
}
.top-news-category-items li a {
    padding: 5px;
    text-decoration: none;
}


.top-news-category {
    display: inline-block;
}
.top-news-category a {
    padding: 5px 15px;
    text-decoration: none;
}


/* Chrome, Edge, Safari */
.scroll-container::-webkit-scrollbar {
  display: none; /* スクロールバーを非表示 */
}


/* メインメッセージ（fv下）のセクション区切りの波線表現 */
.custom-shape-divider-bottom-1752701945 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: unset;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}
.custom-shape-divider-bottom-1752701945 svg {
    position: relative;
    display: block;
    width: calc(196% + 1.3px);
    height: 60px;
    transform: rotateY(180deg);
}
.custom-shape-divider-bottom-1752701945 .shape-fill {
    fill: #FFFFFF;
}

.flow-items {
    overflow-x: scroll;
}
.flow-item {
    width: fit-content;
    min-width: 120px;
}
.flow-item p {
    white-space: nowrap;
}

/* ============= */


.development__box {

}
@media screen and (max-width: 768px) {
.development__box {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.development__column-right {
    margin-top: 30px !important;
}
}

/* ============= */

.process__text {
    /* wbr */
    /* word-break: keep-all;
    overflow-wrap: break-word; */
    max-width: 1084px;
    margin-inline: auto;
}

/* ============= */


.product__text {

}
@media screen and (max-width: 768px) {
.product__text {
    /* text-align: left; */
}
}



/* ============= */


.promise__text {
    margin-block-end: 10px;
}
@media screen and (max-width: 768px) {
.promise__text {
    /* text-align: left; */
}
}







@media screen and (max-width: 768px) {
body {
    margin-top: 64px !important;
}
}


.home .site-body {
    padding-top: 0;
}


.vk-mobile-nav-menu-btn {
    top: 15px !important;
}

/* ハンバーガーボタンの枠線削除 */
.vk-mobile-nav-menu-btn {
    border: none;
}
.vk-mobile-nav-menu-btn.menu-open {
    border: none;
}

/* ハンバーガーメニュー内の検索ボックス削除 */
.widget.vk-mobile-nav-widget.widget_search {
    display: none;
}

/* ページ下（フッター上）の検索ボックス削除 */
.sub-section {
    display: none;
}

.section-title {
    width: fit-content;
    margin-inline: auto;
    position: relative;
    /* padding-left: 45px; */
}
.section-title::before {
    content: '';
    position: absolute;
    left: -45px;
    top: 52%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background-image: url(./img/logo.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}
@media screen and (max-width: 768px) {
.section-title {

}
.section-title::before {
    width: 35px;
    height: 35px;
}
}



.page-header {
    height: 300px;
    /* background: #1C4295; */
    /* background: linear-gradient(120deg, #9eee3f, #00a9ee); */
    background: url(./img/page-header.jpg) no-repeat center center / cover;
    color: #fff;
    /* width: 100vw;
    margin-inline: calc(50vw - 50%); */
}
@media screen and (max-width: 768px) {
    .page-header {
        height: unset;
    }
}

.form-wrap {
    max-width: 800px;
    margin-inline: auto;
}


/* ===============================

=============================== */
.vk_post_title_new {
    display: none !important;
}

/* ===============================
フッター
=============================== */
.footer-nav {
    display: none;
    padding-block: 40px;
    font-weight: bold;
    font-size: 16px !important;
}
@media screen and (max-width: 991px) {
.footer-nav {
    display: block;
}
}
@media screen and (max-width: 991px) {
.footer__logo {
    width: 139px;
}
}

.footer-nav ul {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 0;
}
@media screen and (max-width: 768px) {
.footer-nav ul {
    text-align: center;
    display: block;
}
}

.site-footer .row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.sns {
    /* display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; */
}
.sns__items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.sns__item {
    display: block;
    width: 30px;
}
.sns__item.--instagram {

}
.sns__item.--x {
    width: 23px;
}

/* ===============================
投稿詳細
=============================== */
.entry-header {
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
}

.entry-meta-item-date i {
    display: none;
}
.entry-meta-item-date .published {
    position: relative;
    padding-left: 60px;
    padding-top: 2px;
}
.entry-meta-item-date .published::after {
    content: "投稿日：";
    position: absolute;
    top: 0;
    left: 0;
    line-height: 1.4;
}

.entry-meta-item-updated,
.entry-meta-item-author {
    display: none;
}


/* ===============================
contactページ
=============================== */
@media screen and (max-width: 768px) {
.page__contact-text {
    text-align: left;
}
}


form[aria-label="コンタクトフォーム"] {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.Form-Item-Label {
    margin-block-end: 0 !important;
    font-weight: bold;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 20px;
}
/* 必須マーク */
.Form-Item-Label-Required {
    background: #cf2e2e;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    line-height: 1.4;
}
.wpcf7-form-control-wrap {
    display: block;
}
.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap textarea {
    margin-top: 5px;
    margin-bottom: 0;
}

/* // 承認ボタン */
[data-name="acceptance"] {
    text-align: center;
}
@media screen and (max-width: 768px) {
[data-name="acceptance"] {
    text-align: left;
}
}
.wpcf7-form-control.wpcf7-acceptance {
    display: block;
    text-align: center;
}
.wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item {
    margin-left: 0;
}
.wpcf7-form-control.wpcf7-acceptance.wpcf7-list-item {
    margin-left: 0;
}

/* //デフォルトのものを消す */
input[type=checkbox] {
    width: 1px;
    height: 1px;
    position: absolute;
    clip: rect(0, 0, 0, 0);
}
/* //チェックボックスカスタマイズ ==================== */
/* //チェックされた時の挙動 */
input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
    opacity: 1;
}
/* チェック前のボタン */
input[type="checkbox"] + .wpcf7-list-item-label {
    position: relative;
    padding-left: 36px;
}
/* //frame */
input[type="checkbox"] + .wpcf7-list-item-label::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 1px solid #333;
    background: #fff;
}
/* //active */
input[type="checkbox"] + .wpcf7-list-item-label::after {
    content: '';
    position: absolute;
    top: 0px;
    left: 6px;
    width: 8px;
    height: 14px;
    rotate: 45deg;
    border-right: 1.5px solid #000;
    border-bottom: 1.5px solid #000;
    opacity: 0;
}

/* // 送信ボタン */
.Form-Item.--button {
    text-align: center;
    margin-top: 30px;
}
input[type="submit"] {
    display: inline-block;
    background: #000;
    width: 300px;
    max-width: 100%;
    /* margin-left: auto;
    margin-right: auto; */
    padding: 18px;
    color: #fff;
    font-weight: bold;
    border: 1px solid #000;
    cursor: pointer;
}

/* // 未チェック時に送信ボタンの色を変える */
.wpcf7-submit:disabled {
    background: #999;
    border: 1px solid #999;
}

span.wpcf7-spinner {
    display: none;
}

/* // エラーメッセージ */
.wpcf7-not-valid-tip {
    font-size: 10px;
}

.page-id-8 .site-body-bottom {
    display: none;
}


/*  */
.Form-Item .wpcf7-turnstile {
    text-align: center;
}


/* ===============================

=============================== */
.animated__fadeIn {
    /* // before (出現前) */
    opacity: 0;
    translate: 0 10px;
    transition: opacity 0.5s ease, translate 0.5s ease;
}
/* // after (出現後) */
.animated__fadeIn.js-show {
    opacity: 1;
    translate: 0 0;
}





/* ===============================
各カテゴリー用スタイル
=============================== */
a.cat-news {
    background-color: #00ac1d;
    color: #fff;
}
a.cat-pickup {
    background-color: #b50000;
    color: #fff;
}
a.cat-press-release {
    background-color: #001cd5;
    color: #fff;
}


/* ===============================
ページ下共通CTA
=============================== */
.contact-cta h2 {
    width: fit-content;
    margin-inline: auto;
    position: relative;
    padding-left: 45px; /* 画像スペース */
}
.contact-cta h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background-image: url(./img/logo.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.cta__button {
    max-width: 400px !important;
    margin-inline: auto;
}


.page_top_btn {
    background-color: #0C2E56;
}