/*!
Theme Name: gatewing-vr17
Text Domain: gatewing-vr17
*/

/*body {
    padding: 0;
    margin: 0;
    font-family: "IwaOGoPro-Md","Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
    
}


h1, h2, h3, h4, h5, h6{
    font-family: "IwaUDGoDspPro-Eb";
}
*/


body {
    padding: 0;
    margin: 0;
    font-family: CezannePro-M,"Helvetica Neue", "Helvetica", "Hiragino Sans", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    /*font-family: "GillSansNova-Medium", "I-OTF-G教科書Pro B", serif;*/
    font-weight: 400;
    line-height: 1.6;
    
}

/* プレオープン⇒サイトトップ切り替え時以下を削除*/
#masthead, #colophon.site-footer{
   display:none!important;
}

h1, h2, h3, h4, h5, h6{
    font-family: NewCezannePro-B, "Helvetica Neue", "Helvetica", "Hiragino Sans", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    letter-spacing: 2px;
}


a.footer_privacy{
    color: #FFF;
    text-decoration: underline;
}
a.footer_privacy:hover{
    color: #d7d7d7;
}


/*---------メニューページ------------*/
.menu-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1em;
    color: color: var(--e-global-color-text);
    /*text-align: right;*/
    line-height: 1.4em;
    font-size: 0.9em;
}
.menu-height {
    line-height: 1.4em;
    font-weight: bold;
    margin: 0;
}
.desc {
    font-size: 75%;
    line-height: 1.5em;
    margin: 0 0 0;
    color: #562727;
    clear: both;
}
.desc2{
    font-size: 0.9em;
    line-height: 1.5em;
    margin: 0 0 0;
    color: var(--e-global-color-text);
    clear: both;
    text-align: right;
}


.text-right{
    text-align: right;
}

.ttl_new h3 .new{
    text-align: center;
    vertical-align: middle;
    font-size: 0.5em;
    color: #ffffff;
    background-color: #8F1E1C;
    padding: 0.2em 0.3em;
    margin-top: 0.1em;
    margin-right: 0.5em;
    line-height: 1.4;
}

.privacy_h3{
        margin-top: 2em;
}

.privacy_a{
    color: var(--e-global-color-accent);
}
.privacy_a:hover{
    color: var(--e-global-color-a05ec84);
}

/* Forms
--------------------------------------------- */
.default-table {
     border-top: 1px solid #c7c7c7;
     border-left: 1px solid #c7c7c7;
}
.default-table tbody tr th,.default-table tbody tr td {
     border-right: 1px solid #c7c7c7;
     border-bottom: 1px solid #c7c7c7;
     padding: 10px;
     background: #fff;
}
.default-table tbody tr th {
     font-weight: normal;
     text-align: left;
     background-color: #F9D330;
     width: 300px;
     color: #000;
}
.default-table td input,.default-table td textarea {
     padding:10px;
    /* padding:6px;*/
         width: 95%;
}

#contact_submit{
    text-align:center;
    padding-top:30px;
}
#contact_submit_flex{
    display: flex;
    justify-content: center;
}
#contact_submit_flex p{
    text-align:center;
}
#contact_submit input,
#contact_submit_flex input {
    width: 150px;
    padding:15px;
    margin:10px;
    cursor: pointer;
    font-size: 15px;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    background-color: var(--e-global-color-text);
    color: #fff;
    border: 1px solid;
}
input.wpcf7-form-control.wpcf7-submit.has-spinner:hover {
    background-color: #330C0BBA;
    transition: 0.3s;
}


button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 1px solid;
    border-color: #ccc #ccc #bbb;
    border-radius: 3px;
    background: #e6e6e6;
    color: rgba(0, 0, 0, 0.8);
    line-height: 1;
    padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
    border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    color: #111;
}

select {
    border: 1px solid #ccc;
    padding: 10px;
    width: 50%;
}

textarea {
    width: 100%;
}

.wpcf7-spinner {
    display: none !important;
}



/*---reCAPTCHA v3---*/
.grecaptcha-badge {
  visibility: hidden;
}
.recaptcha {
  font-size: 13px;
  color: #797979;
}

.elementor-slideshow__footer,.elementor-slideshow__header {
    width: calc(100% - 66px)!important;
}

/*---募集要項---*/
table {
    border-collapse: collapse; /* 線を1本にまとめる */
    width: 100%;
    border: none; /* テーブル全体の枠を消す */
}

table td {
    padding: 10px;
    border: none; /* まずは全部消す */
    border-bottom: 1px solid #000; /* 行ごとの下線 */
    border-right: 1px solid #000;  /* 列ごとの縦線 */
}

table td:last-child {
    border-right: none; /* 一番右のセルは縦線を消す */
}

table tr:last-child td {
    border-bottom: none; /* 一番下の行は横線を消す */
}

table td:first-child {
    width: 23%;
    text-align: center;
    vertical-align: middle;
    font-size: 18px;
    line-height: 27px;
}

.elementor-tabs .elementor-tab-content{
    padding: 30px!important;
}


@media (max-width:767px){
.menu-box,.desc2 {
/*    font-size: 13px;*/
}
}


/* ipad pc -----------------------*/
@media screen and (min-width:768px) {
    .sp_only {
        display: none !important;
    }
}

/* sp ---------------------------*/
@media (max-width:767px) {
    .pc_only {
        display: none !important;
    }


/* Forms
--------------------------------------------- */
    .default-table tbody tr th,.default-table tbody tr td {
        display:block
    }
    .default-table tbody tr td input,.default-table tbody tr td textarea {
/*      max-width:280px;*/
        max-width:300px;
        
    }
    .default-table tbody tr th {
        width: 100%;
    }
    select {
        width: 70%;
}
    .wpcf7-form-control-wrap input{
        font-size:16px;
    }
    .wpcf7-form-control-wrap textarea{
        font-size:16px;
    }

  /* デスクトップ用タブを横並びに */
  .elementor-tabs .elementor-tabs-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    border-bottom: none; 
  }

  /* タブタイトルを横並びタブ風に調整 */
  .elementor-tabs .elementor-tab-desktop-title {
    border: none; /* デフォルトの枠を消す */
    border-bottom: 2px solid transparent; /* 非アクティブ時は透明線 */
    padding: 10px 15px;
    margin: 0;
  }

  /* アクティブなタブだけ下線を色付きに */
  .elementor-tabs .elementor-tab-desktop-title.elementor-active {
    border-bottom: 2px solid #333; /* 好きな色に変更可 */
    font-weight: bold;
  }

  /* モバイル用のアコーディオン見出しは消す */
  .elementor-tabs .elementor-tab-mobile-title {
    display: none !important;
  }

   .elementor-tabs .elementor-tab-content {
    border: 1px solid transparent;
    border-top: 0 !important;
  }

table td {
        display: block;
        width: 100%!important;
        border: none;
        }

/* スマホ時のみ 1行目の項目名セルだけ強調 */
    table td:first-child {
        background-color: #cfd2d6;
        border: 1px solid #000;   /* 枠線で囲む */
        padding: 8px;
        font-weight: bold;
        margin-top: 20px;
    }

    /* 2つ目以降（内容部分）は下線だけ */
    table td:not(:first-child) {
       /* border-bottom: 1px solid #000;*/
        padding: 10px;
    }


    table tr:last-child td:first-child {
       border-bottom: 1px solid #000; 
    }
}



