/*
Theme Name: Lightning
Text Domain: lightning
Theme URI: https://lightning.vektor-inc.co.jp/en/
Description: Lightning is a very simple & easy to customize theme which is based on the Bootstrap. It is also very friendly with custom post types and custom taxonomies. When you add a new one, the breadcrumbs will be adjusted and posts will look beautifully without editing or adding a template files.
Author: Vektor,Inc.
Author URI: https://www.vektor-inc.co.jp
Version: 14.25.1
Requires at least: 5.3
Tested up to: 6.1
Requires PHP: 5.6.0
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Lightning WordPress theme, Copyright (C) 2015-2022 Vektor,Inc.
Lightning WordPress theme is licensed under the GPL.

Lightning WordPress Theme bundles the following third-party resources:

Font Awesome icon font, Copyright 2012 Fonticons, Inc.
its fonts are licensed under the terms of the SIL OFL License 1.1, and its code is licensed under the terms of the MIT license
Source: https://fontawesome.com/

Bootstrap framework, Copyright 2011 Bootstrap Authors and Twitter, Inc.
Bootstrap is licensed under the terms of the MIT license
Source: https://getbootstrap.com/

CSS Simple Tree Shaking
CSS Simple Tree Shaking is licensed under the terms of the GNU General Public License v2 license
Source: https://celtislab.net/
*/


/*-------------------------------------------*/
/*      追加記述
/*-------------------------------------------*/

/*換金率レートリスト*/
table.crl {
    border: thin solid #b9b9b9;
    table-layout: auto;
    border-collapse: collapse;
}
table.crl th,
table.crl td {
    vertical-align: middle;
    border: 1px solid #b9b9b9;
    width: 25%;
}

table.crl th {
    padding: 6px;
}
/*緑*/
table.crl th.c1 {
    text-align: center;
    background-color: #CEF6D8;
    width: 25%;
    padding: 6px;
    vertical-align: middle;
    border: 1px solid #b9b9b9;
}
/*赤*/
table.crl th.c2 {
    text-align: center;
    background-color: #f78181;
    width: 25%;padding: 6px;
    vertical-align: middle;
    border: 1px solid #b9b9b9;
}
/*青*/
table.crl th.c3 {
    text-align: center;
    background-color:#a9d0f5;
    width: 25%;
    padding: 6px;
    vertical-align: middle;
    border: 1px solid #b9b9b9;
}

table.crl td {
    text-align: center;
    width: 25%;
    padding: 2px;
    vertical-align: middle;
    border: 1px solid #b9b9b9;
    font-size: small;
}

/*黄色バック*/
table.crl td.c1 {
    text-align: center;
    width: 25%;
    padding: 2px;
    vertical-align: middle;
    border: 1px solid #b9b9b9;
    background-color:#F8F8FF;
    font-size: small;
}
/*赤バック*/
table.crl td.c2 {
    text-align: center;
    width: 25%;
    padding: 2px;
    vertical-align: middle;
    border: 1px solid #b9b9b9;
    background-color:#F8E0E6;
    font-size: small;
}
/*赤バック・赤字*/
table.crl td.c3 {
    text-align: center;
    width: 25%;
    padding: 2px;
    vertical-align: middle;
    border: 1px solid #b9b9b9;
    background-color:#F8E0E6;
    font-size: small;
    color: #ff0000;
}


/***** コンタクトフォーム *****/
.table-contactform7 {
  overflow: hidden;
table-layout: fixed;
}
 
.required-contactform7 {
  padding: 5px;
  background: #DE8686;
  color: #fff;
  border-radius: 3px;
  margin-right: 3px;
}
 
.unrequired-contactform7{
  padding: 5px;
  background: #55cc55;
  color: #fff;
  border-radius: 3px;
  margin-right: 3px;
}
 
.table-contactform7 th{
  font-weight:bold;
}
 
.table-contactform7 input,
.table-contactform7 textarea{
  max-width: 90% !important;
  margin: 5px 10px 10px 5px;
}
.number-100 input{
  max-width: 50% !important;
  margin: 5px 10px 10px 5px;
}
.table-contactform7 select{
  max-width: 50% !important;
  margin: 5px 10px 10px 5px;
}
.table-contactform7 select{
  max-width: 40% !important;
  margin: 5px 10px 10px 5px;
}
.way select{
  max-width: 70% !important;
  margin: 5px 10px 10px 5px;
}
.bank select{
  max-width: 70% !important;
  margin: 5px 10px 10px 5px;
}
 
.address-100 input{
  max-width: 90% !important;
  margin: 5px 10px 10px 5px;
}
 
.message-100 textarea{
  width: 100%;
  margin: 5px 10px 10px 5px;
}
 
@media screen and (min-width: 900px){
.table-contactform7 th{
    width:28%;
  }
    }
     
@media screen and (max-width: 900px){
.table-contactform7{
  display:block;
}     
       
.table-contactform7 tbody,
.table-contactform7 tr{
    display: block;
    width: 100%;
  }
.table-contactform7 th{
  width:100%;
  display:block;
  margin: 0 auto;
  border:none;
}
.table-contactform7 td{
  display: list-item;
  list-style-type:none;
  margin:0;
  padding:0;
  width: 100%;
  border-top: none !important;
}
}

/* --- お問い合わせフォーム --- */
/* デザインカスタマイズ */
div.wpcf7 { border:1px solid #ddd; padding:0px; -moz-border-radius:10px; -khtml-border-radius:10px; -webkit-border-radius:10px; border-radius:10px; margin:0 0 30px 0; }
div.wpcf7 p { padding:20px 20px 0; margin:0; font-size:11px; }
div.wpcf7 input, .wpcf7 textarea { border:1px solid #ccc; padding:8px; font-size:14px; }
div.wpcf7 textarea { width:97.5%; height:100px; }
div.wpcf7 input.wpcf7-submit {
   cursor:pointer; color:#fff; font-weight:bold; font-size:14px; width:200px; height:45px; margin:0 auto; display:block;
   -moz-border-radius:5px; -khtml-border-radius:5px; -webkit-border-radius:5px; border-radius:5px;
   background:#333; box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.5), inset 0px 32px 0px -12px #808080; border:1px solid #666;
}
div.wpcf7 input.wpcf7-submit:hover { background:#006080; box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.5), inset 0px 32px 0px -12px #007ea8; border:1px solid #006080; }
.wpcf7 input.wpcf7-submit:active { box-shadow:none; bottom:-2px; position:relative; }
.wpcf7 input:focus, .wpcf7 textarea:focus { border:1px solid #009de1; }
.wpcf7-captchac { border:1px solid #ccc; }
 
 
/* エラー個所をわかりやすく表示 */
.wpcf7 .wpcf7-not-valid { background: #ffb6c1; }
.wpcf7 span.wpcf7-not-valid-tip {font-size: 80%;}
.wpcf7 .wpcf7-response-output {margin: 10px 0 0; padding: 8px 35px 8px 14px; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; }
.wpcf7 .wpcf7-validation-errors {color: #B94A48; background-color: #F2DEDE; border: 1px solid #EED3D7;}
.wpcf7 .wpcf7-mail-sent-ok {color: #3A87AD; background-color: #D9EDF7; border: 1px solid #BCE8F1;}
 
/* 必須赤色表示 */
.wpcf7 .required { color: #f00;}

/* 任意緑色表示 */
.wpcf7 .any{ color: #080;}

.wpcf7 .wpcf7-not-valid {
    background: #ffb6c1;
}
.wpcf7 .wpcf7-response-output {
    margin: 10px 0 0;
    padding: 8px 35px 8px 14px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
 
.wpcf7 .wpcf7-validation-errors {
        color: #B94A48;
        background-color: #F2DEDE;
        border: 1px solid #EED3D7;
    }
.wpcf7 .wpcf7-mail-sent-ok {
        color: #3A87AD;
        background-color: #D9EDF7;
        border: 1px solid #BCE8F1;
    }


div.wpcf7 input.wpcf7-submit,input.wpcf7-back,input.wpcf7-confirm {
   cursor:pointer;
   color:#fff;
   font-weight:bold;
   font-size:14px;
   width:200px;
   height:45px;
   margin:10px 50px;
   display:inline;
   -moz-border-radius:5px;
   -khtml-border-radius:5px;
   -webkit-border-radius:5px;
   border-radius:5px;
   background:#c9302c;
   box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.5), inset 0px 32px 0px -12px #d43f3a;
   border:1px solid #f9534f;
}