/*
Theme Name:office Good impression
Auther:webgui
Description:office Good impression用のテーマ
Version:9999.0
*/
/* ========================================
    wordpress化によるCSS微調整
========================================= */
.wrap dd a.title{
    color:black;
}
.news-wrapper .news dl.wrap {
    border-top: none;
}
/*レイアウト*/
div.menu ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.ftr div.menu {
    max-width:450px;
}
.ftr div.menu ul {
    justify-content: flex-start;
}
div.menu ul li{
    margin-bottom:10px;
    font-size: 14px;
    width:150px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
    line-height:1.6
}
div.menu-item2:nth-of-type(1){
    margin-top:10px;
}
@media (max-width: 991.98px) { 
    .footer div.menu ul {
        width:390px;
    }   
    .footer div.menu ul li{
        width:130px;
    } 
}
div.menu ul li:hover{
	opacity:0.8;
}
/*全体(画像が繰り返し表示されないようにする)*/
.title-wrap{
    background-size: cover;
}
/*バリデーションメッセージ赤色に*/
.page-editor .screen-reader-response{
    color:red;
}
.page-editor .wpcf7-not-valid-tip{
    color:red;
}
/*カスタムメニューの一部削除*/
.page_item.page-item-127 {
    display:none;
}
/* ========================================
    wordpress(投稿詳細ページのCSS)
========================================= */
/*
.main.singleの部分は変更
*/
.main.single .wrap-single .wysiwyg-editor{
    padding:0px 10px;
}
.main.single h1{
    font-weight: bold;
    font-size:32px;
    margin:0;
    line-height:1.3;
    max-width: 1175px;
    width: 100%;
    margin: 0 auto;
}
.main.single .wysiwyg-editor h2{
    font-weight: bold;
    font-size:25px;
    padding:20px;
    line-height: 1.3;
    background:#F7F4EE;
    color:#B68740;
}
.main.single .wysiwyg-editor h3 {
    font-size: 22px;
	  position:relative;
    margin: 40px 0 40px 0;
    padding: 5px 0 15px 15px;
    border-bottom: 2px solid #D4D4D5;
}
.main.single .wysiwyg-editor h3::before {
    border-left: 6px solid #8f7c6b;
    content: "";
    min-height: 28px;
    top: 0;
    left: 0;
    position: absolute;
    height: calc(100% - 10px);
}
.main.single .wysiwyg-editor h4{
    font-size:18px;
    margin:40px 0 0 0;
}
.main.single .wysiwyg-editor h4:before{
    content:"■";
    color:#6cc6c4;
}
.main.single .wysiwyg-editor h2 {
    margin-top: 60px;
}
.main.single .wysiwyg-editor h2:first-child,
.main.single .wysiwyg-editor h2 + h3,
.main.single .wysiwyg-editor h3 + h4{
    margin-top:40px;
}
.main.single .wysiwyg-editor p,
.main.single .wysiwyg-editor ul,
.main.single .wysiwyg-editor ol,
.main.single .wysiwyg-editor table{
    margin:25px 0 0 0;
    font-size:16px;
    line-height:1.7;
}
.main.single .wysiwyg-editor ul,
.main.single .wysiwyg-editor ol{
    margin-left:20px;
}
.main.single .wysiwyg-editor ul{
    list-style-type: disc;
}
.main.single .wysiwyg-editor ol{
    list-style-type: decimal;
}
.main.single .wysiwyg-editor table{
    border-collapse: collapse;
}
.main.single .wysiwyg-editor table th,
.main.single .wysiwyg-editor table td{
    border:1px solid #ddd;
    padding:10px;
}
.main.single .wysiwyg-editor .wp-block-table figcaption{
    font-size:14px;
    line-height:1.6;
    color:#666;
    margin:10px 0 0 0;
}

/* =======追加事項======== */

/*アイキャッチ画像*/
/*アイキャッチ画像の設定はsingle.phpに記載*/
.main.single .title-wrap{
    background-size: cover;
    height:200px;
    display:flex;
    align-items:center;
    justify-content: flex-start;
}
/*アイキャッチ画像が存在するとき*/
.main.single .title-wrap.exist {
    display:none;
}
.main.single .title-wrap.exist h1{
    display:none;
}

.main.single .title-wrap h1{
    color:white;
    font-weight: bold;
    font-size:32px;
    padding:0 30px;
    line-height:1.3;
}
@media (max-width: 767.98px) { 
    .main.single .title-wrap h1{
        font-size:25px;
    }
    .main.page .page-editor h2{
        font-size:20px;
    }
}

/*<h4>横線*/
.main.single .wysiwyg-editor h4{
    position:relative;
    padding-left:10px;
}
.main.single .wysiwyg-editor h4:before{
    content:"";
    display:block;
    width:20px;
    height:3px;
    background-color:#040406;
    position:absolute;
    top:50%;
    left:-5px;
}

/*body*/
body{
    background-color: #ffffff;
}
/*行間調整*/
.main.single{
    margin-bottom:40px;
}
.main.single .wysiwyg-editor h2:nth-child(1){
    margin-top:50px;
}

.wrap-single{
    background:#ffffff;
    border-radius: 2px;
    margin: 0px auto;
    max-width: 940px;
    padding:30px;
    padding-top:0;
}
@media (max-width: 767.98px) { 
    .main.single .wrap-single{
      padding:20px;
    }
    .main.single .wrap-single .wysiwyg-editor{
      padding:0;
    }
}
.title-wrap{
    width:100%;
}
/* ========================================
    wordpress(新着記事全一覧)
========================================= */
/*タイトル消す*/
.lower.page-articles h1{
    display:none;
}
/*中央寄せ*/
.lower.page-articles {
    margin: 0px auto;
    max-width: 940px;
    padding:50px 30px;
/*headerとの間隔調整*/
    margin-top:102px;
}
/*dl,dtについて*/
.lower.page-articles .article-lists dl{
    border-bottom:solid 1px #F5F6F0;
    line-height: 26px;
    padding:18px 0px;
}
.lower.page-articles .article-lists dl:nth-of-type(1){
    padding:15px 0px;
}
.lower.page-articles .article-lists dd{
    margin-top:15px;
}
.lower.page-articles .article-lists dd a{
    color:black;
}
.lower.page-articles .article-lists dt .page-date{
    margin-right:30px;
    font-weight: bold;
}
.lower.page-articles .article-lists dt .page-news{
    background: linear-gradient(90deg, #242323 0%,#1c1c40 100%);
    border-radius:30px;
    color:white;
    width:150px;
    text-align: center;
    font-weight: bold;
}
@media (max-width: 365px) {
    .lower.page-articles .article-lists span.page-date{
        margin-right:20px;
    }
    .lower.page-articles .article-lists span.page-news{
        width:120px;
    }
}

/*ページネーション*/
.lower.page-articles .pagination{
    margin-top:30px;
}
.lower.page-articles .pagination span:nth-child(1){
    display: none;
}
.lower.page-articles .pagination span.current {
    background-color: #dadada;
    border-bottom: 2px solid #c1c0c0;
    border-radius: 3px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
    transition: opacity .2s;
    padding: 7px 15px;
    display: inline-block;
    margin: 0 10px 0 0;
    font-size: 1em;
}
.lower.page-articles .pagination a.inactive {
    background: linear-gradient(90deg, #242323 0%,#1c1c40 100%);
    border-bottom: 2px solid  #242323;
    border-radius: 3px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
    transition: opacity .2s;
    padding: 7px 15px;
    display: inline-block;
    margin: 0 10px 0 0;
    font-size: 1em;
}
/* ========================================
    wordpress(固定ページ)
========================================= */
/*アイキャッチ画像*/
.main.page .title-wrap{
    background-size:cover;
    display:flex;
    align-items:center;
    height:200px;  
}
/*アイキャッチ画像が存在するとき*/
.main.page .title-wrap.exist {
    display:none;
}
.main.page .title-wrap.exist h1{
    display:none;
}
.main.page .title-wrap h1{
    color:white;
    font-weight: bold;
    font-size:32px;
    padding:0 30px;
    line-height:1.3;
    max-width: 1175px;
    width: 100%;
    margin: 0 auto;
}

@media (max-width: 767.98px) { 
    .main.page .title-wrap h1{
        font-size:25px;
        line-height:1.3;
    }
}

.main.page .page-editor h2{
    font-weight: bold;
    font-size:25px;
    line-height:1.3;
    padding:20px;
    background:#F7F4EE;
    color:#B68740;
    margin-bottom: 25px;
}
@media (max-width: 767.98px) { 
    .main.page .page-editor h2{
        font-size:20px;
    }
}
.main.page .page-editor h3{
    font-size:20px;
    margin:40px 0 0 0;
    padding:0 0 10px 0;
    border-bottom:1px solid #D4D4D5;
}

.main.page .page-editor h4{
    font-size:18px;
    margin:40px 0 0 0;
}
.main.page .page-editor h4:before{
    content:"■";
    color:#6cc6c4;
}
.main.page .page-editor h2 {
    margin-top:60px;
}
.main.page .page-editor h2:first-child,
.main.page .page-editor h2 + h3,
.main.page .page-editor h3 + h4{
    margin-top:40px;
}
.main.page .page-editor p,
.main.page .page-editor ul,
.main.page .page-editor ol,
.main.page .page-editor table{
    margin:25px 0 25px 0;
    font-size:16px;
    line-height:1.7;
}
.main.page .page-editor ul,
.main.page .page-editor ol{
    margin-left:0px;
}
.main.page .page-editor ul{
    list-style-type: disc;
}
.main.page .page-editor ol{
    list-style-type: decimal;
}
.main.page .page-editor table{
    border-collapse: collapse;
}
.main.page .page-editor table th,
.main.page .page-editor table td{
    border:1px solid #ddd;
}
.main.page .page-editor .wp-block-table figcaption{
    font-size:14px;
    line-height:1.6;
    color:#666;
    margin:10px 0 0 0;
}

/* =======追加事項======== */

/* ===主に全体(基本は印象動作だったかな…)=== */

/*中央寄せ、全体の上下間隔など*/
.main.page .page-editor{
    max-width: 940px;
    margin: 0px auto;
    margin-bottom:0px;
}
.main.page .page-editor{
    padding:30px 10px;
}
/*写真*/
.main.page .wp-block-columns{
    margin-bottom:0px;
}
.main.page .page-editor .wp-block-image{
    margin-bottom:2em;
}
/*h3の飾り*/
.main.page .page-editor h3{
    position:relative;
    padding:5px 0 15px 15px;
    line-height:1.5;
}
.main.page .page-editor h3::before{
    border-left: 6px solid #8f7c6b;
    content: "";
    min-height: 28px;
    top: 0;
    left: 0;
    position: absolute;
    height: calc(100% - 10px);
}
/*リスト*/
.main.page .page-editor ul {
    list-style-type: none;
}
.main.page .page-editor ul li::before {
    display: inline-block;
    content: "■";
    top: 0;
    left: 0;
    margin-right:6px;
}
/*aタグ*/
/*aタグhover時の処理*/
.main.page .page-editor a:hover{
    opacity:0.8;
}
/*一部のボタン*/
.main.page .page-editor span.detail::before{
    content:"";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    margin-bottom:2px;
    margin-right:10px;
}

/* ===印象動作=== */

/*画像間隔*/
.main.page .page-editor .wp-block-image.size-large{
    margin-top:30px;
}
.main.page .page-editor .wp-block-columns{
	margin-top:0em;
}

/* ===サービス & 料金=== */

/* ===会社概要=== */

/*Googlemap*/
.main.page .page-editor iframe{
    margin-top:1.5em;
}
.main.page .page-editor .aligncenter.size-large.kaisha{
    margin-top:1.5em;
}
/*ボタン*/
.main.page .page-editor .cp-btn{
    margin-top:35px;
}

/* ===お客様の声=== */
.main.page .page-editor .wp-image-142{
    margin-top:30px;
}
.main.page .page-editor h4{
    background-color: #685A4D;
    color:white;
    font-size:18px;
    font-weight: normal;
    padding:15px;
}
.main.page .page-editor h4::before{
    display: none;
}
/*印象・違和感チェックを付けたお客様の声*/
.main.page .page-editor .guest-name{
    font-size:26px;
}
/*こんな方におすすめです*/
.main.page .page-editor .checkbox{
    background-color: #F7F6F2;
    padding:15px;
    color:black;
	margin:5px 0px;
}
/*ロゴ*/
.main.page .page-editor p.checkbox {
    position: relative;
}
.main.page .page-editor p.checkbox::before{
    display: inline-block;
    content: '';
    position: absolute;
    left: 10px;
    top: 20px;
    width: 1.25em;
    height: 1.25em;
    border: 2px solid #888800;
    background:#888800;
    border-radius: 4px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,.1);
}
.main.page .page-editor p.checkbox::after{
    display: inline-block;
    content: '\2713\0020';
    position: absolute;
    top: 20px;
    left: 15px;
    font-size: 1.3em;
    line-height: 0.8;
    color:  #fff;
    transition: all .2s;
    font-family: 'Lucida Sans Unicode', 'Arial Unicode MS', Arial;
}
.main.page .page-editor p.checkbox span{
    margin-left:25px;
}
/*間隔調整*/
.main.page .page-editor .guide-hd{
    margin-top:25px;
}
/*ボタン*/
.main.page .page-editor .company-ex{
    width:100px;
    background-color: #EB7981;
    color:white;
    text-align:center;
}

/*Contact Form 7カスタマイズ*/
.main.page .page-editor .form_list dt {
    margin: 15px 0 10px 0;
    font-weight: 700;
    color: rgba(0, 0, 0, 1);
    font-size: 1.5rem;
    line-height: 1.8;
}
.main.page .page-editor .form_list dt:nth-child(1) {
    margin: 0px 0 10px 0;
    font-weight: 700;
    color: rgba(0, 0, 0, 1);
}
.main.page .page-editor .form_list label {
    cursor: pointer;
    -webkit-transition: all 250ms ease;
    transition: all 250ms ease;
}
.main.page .page-editor .form_list dt.required label:after {
    content: "【必須】";
    margin-left: 10px;
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(255, 0, 0, 1);
}
/*入力欄の大きさ・横幅調整(お名前・フリガナ)*/
.main.page .page-editor .form_list dd input{
    height: 60px;
    width: 100%;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, .05);
    border: 0;
    font-size: 1.2rem;
    box-sizing: border-box;
}
.main.page .page-editor .form_list dd span.wpcf7-form-control-wrap.your-name{
    width:100%;
}
/*入力欄の大きさ・横幅調整(チェックボックス)*/
.main.page .page-editor .form_list dd.gender_list input{
    height: 15px;
    width: auto;
}
.main.page .page-editor .form_list span.wpcf7-list-item-label{
    font-size: 1.2rem;
}
/*入力欄の大きさ・横幅調整(メールアドレス)*/
.main.page .page-editor .form_list dd span.wpcf7-form-control-wrap.your-email{
    width:100%;
}
/*入力欄の大きさ・横幅調整(お問い合わせ)*/
.main.page .page-editor .form_list dd textarea{
    height: 200px;
    width: 100%;
    padding: 20px;
    background-color: rgba(0, 0, 0, .05);
    border: 0;
    font-size: 1.6rem;
    box-sizing: border-box;
}
.main.page .page-editor .form_list dd span.wpcf7-form-control-wrap.your-message{
    width:100%;
}

.main.page .page-editor .form_list input#formbtn {
    margin: 0 auto;
    margin-top: 30px;
    padding: 15px 40px;
    line-height: 1.6 ;
    background-color:#A9851C;
    color:white;
    width:100%;
    box-sizing: border-box;
    border:none;
    font-size:1.2rem;
}
.main.page .page-editor .form_list input#formbtn:hover {
    cursor: pointer;
    opacity: 0.8;
}
/*入力欄のバリデーションメッセージ調整*/
.main.page .page-editor .screen-reader-response {
    display:none;
}
/*エラー有りのとき入力欄を赤くする*/
.main.page .page-editor .form_list dd input.wpcf7-not-valid{
	border: 1px solid #FF0000;
	background: rgba(255,0,0,.1);
	padding: 11px 15px;
}
.main.page .page-editor .form_list dd textarea.wpcf7-not-valid{
	border: 1px solid #FF0000;
	background: rgba(255,0,0,.1);
	padding: 11px 15px;
}
/*フォーム最下部の送信成功、失敗時のメッセ*/
/*全体を囲む formタグが、メッセージ送信失敗時class名が.wpcf7-form.invalid、*/
/*全体を囲む formタグが、メッセージ送信成功時class名が.wpcf7-form.sentとなる*/
.main.page .page-editor form.wpcf7-form.sent div.wpcf7-response-output {
    color:#65a700;
}
.main.page .page-editor form.wpcf7-form.invalid div.wpcf7-response-output{
    color: #FF0000;
}
/* ========================================
    page-mailmagazineのフォーム作成
========================================= */
.main.page .page-editor .form_mailmaga dt {
    margin: 15px 0 10px 0;
    font-weight: 700;
    color: rgba(0, 0, 0, 1);
    font-size: 1.5rem;
    line-height: 1.8;
}
.main.page .page-editor .form_mailmaga dt.required label:after {
    content: "【必須】";
    margin-left: 10px;
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(255, 0, 0, 1);
}
.main.page .page-editor .form_mailmaga dd span.input-wrap {
    width: 100%;
}
.main.page .page-editor .form_mailmaga dd span.input-wrap input {
    height: 60px;
    width: 100%;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, .05);
    color:rgba(0, 0, 0, 1);
    border: 0;
    font-size: 1.2rem;
    box-sizing: border-box;
    margin-top: 0px;
}
.main.page .page-editor .form_mailmaga input:last-of-type {
    margin: 0 auto;
    margin-top: 30px;
    padding: 15px 40px;
    line-height: 1.6;
    background-color: #A9851C;
    color: white;
    width: 100%;
    box-sizing: border-box;
    border: none;
    font-size: 1.2rem;
}
/* ========================================
    セル
========================================= */
/*セルの左余白調整(改行後も折り返しが揃うように)*/
.main.page .page-editor table td:nth-child(even){
    padding-left:35px;
}
@media screen and (max-width: 767.98px) {
    table tr:first-child {
      border-top: none;
    }      
    table tr:last-child {
        border-bottom: solid 1px #ccc;
    }
    table th{
    border: solid 1px #ccc;
    width:100%;  
    }
    table td {
    border:none;
    border-left: solid 1px #ccc;
    border-right: solid 1px #ccc;
    width:initial !important;
    height:initial !important;
    }    
    table th,
    table td {
      display: block;
    }
    table tr.last.border {
        border-bottom: solid 1px #ccc;
    }    
    .main.page .page-editor table td:nth-child(even){
        padding-left:20px;
        padding-right:20px;
    }
}

figcaption { text-align: center; }

/* ========================================
    reCAPTCHA v3のバッジ 非表示
========================================= */
.recaptcha_policy {
  padding: 0;
  margin: 0;
  text-align: center;
  font-size: 11px !important;
  color: #444 !important;
}
.recaptcha_policy a {
  font-size: 11px !important;
  color: #111 !important;
}
.grecaptcha-badge { visibility: hidden; }

/* ========================================
    ブラウザ対応
    (※ IE10,11ブラウザ対応はしていないとの旨を示す処理)
    (※ IE Busterのプラグインを追加すること)
========================================= */
/*IE10*/
@media all and (-ms-high-contrast:none) {
    header.header,main.main,footer.footer {
      display:none !important;
    }
    body{
        background-color:#2BB7DE !important;
    }
}
/*IE11*/
_:-ms-lang(x)::-ms-backdrop, header.header,main.main,footer.footer {
    display:none !important;
}
_:-ms-lang(x)::-ms-backdrop, header.header,main.main,footer.footer {
    display:none !important;
}
_:-ms-lang(x)::-ms-backdrop, body {
    background-color:#2BB7DE !important;
}