@charset "utf-8";

/* common */
body{
    font-family: "メイリオ",sans-serif;
    color: #333;
    background-color:#EFEFEF;
}
a{
    text-decoration: none;
    color: #333;
}
p{
    line-height: 1.9;
}


/* ◆スマホで開いた場合ここから◆ */
@media (max-width: 840px){
    body{
        background-color: #EFEFEF;
        font-size: 12px;
        border: solid 12px white;
    }
    header .icon{
        text-align: center;
        width:60%;
    }
    
    /*メニュー表示*/
    #nav-drawer {
    position: relative;
    }
    /*チェックボックス等は非表示に*/
    .nav-unshown {
        display:none;
    }
    /*アイコンのスペース*/
    #nav-open {
        display: inline-block;
        width: 30px;
        height: 23px;
        vertical-align: middle;
        position:fixed;
        top: 20px;
        left: 20px;
    }
    /*ハンバーガーアイコン*/
    #nav-open span, #nav-open span:before, #nav-open span:after {
        position: absolute;
        height: 3px;/*線の太さ*/
        width: 30px;/*長さ*/
        border-radius: 3px;
        background: #555;
        display: block;
        content: '';
        cursor: pointer;
    }
    #nav-open span:before {
        bottom: -8px;
    }
    #nav-open span:after {
        bottom: -16px;
    }
    /*薄黒カバー*/
    #nav-close {
    display: none;
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0;
    transition: .3s ease-in-out;
    }
    /*中身*/
    #nav-content {
    overflow: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;/*最前面に*/
    width: 80%;/*隙間を作る*/
    max-width: 330px;/*最大幅*/
    height: 100%;
    background: #fff;
    transition: .3s ease-in-out;
  -webkit-transform:    translateX(-105%);
    transform: translateX(-105%);
}
    /*チェックが入ったら表示*/
    #nav-input:checked ~ #nav-close {
    display: block;/*カバー表示*/
    opacity: .5;
}
    #nav-input:checked ~ #nav-content {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);/*右へスライド*/
    box-shadow: 6px 0 25px rgba(0,0,0,.15);
    }

    .menu{
        margin-top: 50%;
    }
    .menu-content{
        margin-left: 30%;
        margin-right:10%;
        padding:8px;
        font-size: 17px;
        border-bottom: solid 2px;
        background: white;
    }

    .pcmenu{
        display: none;
    }
    
    header .enigroid {
    padding: 8px 10px; /*枠内の形*/
    text-align: center;
    border-top: dashed 1.4px #000;
    border-bottom: dashed 1.4px #000;
    }
    /*見出しに下線*/
    #top {
    width:50%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding-bottom: .4em;
    border-bottom: 4px solid #ccc;
    }
    /*下線左端の色*/
    #top::after {
    position: absolute;
    bottom: -4px;
    left: 0;
    z-index: 2;
    content: '';
    width: 20%;
    height: 4px;
    background-color: #3498db;
    }
    #title{
    text-align: center;
    }
    /* PC版の送信フォーム背景色処理 */
    .contact_wrap{
    background-color: #E0E0E0;
    }
    /* 詳細情報の左右端に余白 */
    .details{
    padding-left:14px;
    padding-right:14px;
    }
}
/* ◆スマホで開いた場合ここまで◆ */

/* ◆PCで開いた場合ここから◆ */
@media (min-width: 840px){
    body{
        background-color: #EFEFEF;
        font-size: 14px;
        border: solid 15px white;
    }
    #nav-input {
    display:none;
    } /*スマホメニュー非表示*/
    #nav-open {
    display:none;
    }
    .menu{
    display:none;
    }
    header .icon{
        position: relative;
        width: 200px;
        height: 200px;
        left: 80px;
    }
    header{
        position:relative;
        width: 80%;
        max-width: 920px;
        height: 200px;
        margin: 0 auto;
    }
    header .enigroid {
    position:absolute;
    top:100px;
    left: 380px;
    padding: 4px 100px;
    text-align: center;
    border-top: dashed 1.4px #000;
    border-bottom: dashed 1.4px #000;
    }
    .pcmenu{
        position: absolute;
        top: 130px;
        left: 332px;
        width: 75%;
        padding: 4px;
        transition: 0.6s;
        list-style: none;
    }
    .pcmenu li {
        display: inline-block;
        text-align: center;
        transition: 0.6s;
        margin-left: 18px;
        margin-right: 18px;
    }
    .pcmenu li a {
        padding: 6px 4px;
    }
    .pcmenu li a:hover{
        border-bottom:solid #3498db 2px;
        transition: 0.2s;
        color: #3498db;
    }
    .wrap {
        width: 80%;
        max-width: 1000px;
        height: 1350px;
        margin: 0 auto;
        background-color: white;
        box-shadow: 0 0 10px #a5a5a5;
    }
    .longwrap {
        width: 80%;
        max-width: 1000px;
        height: 10000px;
        margin: 0 auto;
        background-color: white;
        box-shadow: 0 0 10px #a5a5a5;
    }
    article{
        width: 60%;
        float: left;
        margin-left: 5%;
        margin-right: 3%;
        margin-top: 50px;
    }
    /*見出しに下線*/
    #top {
    position: relative;
    padding-bottom: .4em;
    border-bottom: 4px solid #ccc;
    }
    /*下線左端の色*/
    #top::after {
    position: absolute;
    bottom: -4px;
    left: 0;
    z-index: 2;
    content: '';
    width: 20%;
    height: 4px;
    background-color: #3498db;
    }
    
    #title{
    padding-left: 30px;
    }
    
    /*サイドメニューの右寄せ*/
    .side{
        width: 30%;
        float: right;
        margin-right: 2%;
        margin-top: 50px;
    }
    
/* PC版の送信フォーム背景色処理 */
.contact_wrap{
    background-color: #F3F3F3;
}

/* 画面を狭めた時の背景処理 */
    @media (max-width: 1100px){
        header{
        position:relative;
        width: 80%;
        max-width: 920px;
        min-width: 840px;
        height: 200px;
        margin-left: 100px;
        }
        #wrap{
        width: 80%;
        max-width: 920px;
        min-width: 840px;
        height: 1300px;
        margin-left: 100px;
        background-color: white;
        }
    }

}
/* ◆PCで開いた場合ここまで◆ */


/* main */
#mainpic{
    text-align: center;
}
.maintext{
    padding-left:30px;
    padding-right:30px;
}
#news-title{
    background-color: #E2B900;
    color:white;
    font-size: 16px;
    text-align: center;
    line-height: 50px;
}
.news-content{
    padding-left: 15px;
    padding-right: 15px;
}
#ad-title{
    background-color: #88B800;
    color:white;
    font-size: 16px;
    text-align: center;
    line-height: 50px;
}
.ad-content{
    padding-left: 15px;
    padding-right: 15px;
}
#twitter-title{
    background-color: #0099B6;
    color:white;
    font-size: 16px;
    text-align: center;
    line-height:50px;
}
.twitter-content{
    padding-left: 15px;
    padding-right: 15px;
}


/* フォーム文字色 */
.hissu{
    color:red;
    font-size: 6px;
}
/* placeholderの色 */
input::-webkit-input-placeholder {
    color: gray;
    font-size:6px;
}
input:-moz-placeholder {
    color: gray;
    font-size:6px;
}
input::-moz-placeholder {
    color: gray;
    font-size:6px;
}
input:-ms-input-placeholder {
    color: gray;
    font-size:6px;
}
/* 送信ボタン */
.btn{
    text-align: center;
    padding-right: 30px;
    padding-left: 30px;
}
/* フォーム全体の調整 */
.contact_wrap{
    padding-left: 5%;
    padding-top: 5px;
    padding-bottom: 8px;
}
/* サイドメニューのリンク */
    .ad a:hover{
        border-bottom:solid #3498db 2px;
        transition: 0.1s;
    }
/* メンバー写真位置 */
    .memberpic{
    margin-left: 4%;    
    }

/* footer */
footer .copy{
    clear: both;
    margin: 0 auto;
    height: 50px;
    position: center;
    overflow: hidden;
    background-color:#EFEFEF;
    text-align:center;
}

  
.container{
margin: 30px auto;
width: 500px;
}

.menu2{
list-style: none;
padding: 0;
margin: 0;
display:flex;
}

.menu2 li a{
display: inline-block;
text-align: center;
display:flex;
padding: 8px 10px;
color: #333;
text-decoration: none;
border-radius: 4px 4px;
}

.menu2 li a:not(.active):hover{
opacity: 0.5;
transition: opacity 0.4s;
}
.menu2 li a.active{
background: #333;
color: #fff;
}

.content2.active{
min-height: 150px;
padding: 12px;
display: block;
}

.content2{
display:none;
}

/* フォーム要素（Bootstrap4 のスタイルを上書き） */
.form-control {
  border-radius: 0px;
  background-color: #fdfdfd;
  font-size: 14px;
}
.form-control:focus {
  border-color: #aadbe8;
  outline: 0;
  -webkit-box-shadow: inset 0 0px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.4);
  box-shadow: inset 0 0px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.4);
  background-color:#fff;
}
/* Google Chrome, Safari, Opera 15+, Android, iOS */
::-webkit-input-placeholder {
  font-size: 13px; 
}
/* Firefox 18- */
:-moz-placeholder {
  font-size: 13px; }
/* Firefox 19+ */
::-moz-placeholder {
  font-size: 13px; }
/* IE 10+ */
:-ms-input-placeholder {
  font-size: 13px; }
::placeholder{ 
  font-size: 13px;
}

/* input 要素 */
#name, #email, #subject, #email_check, #tel {
  width:60%;
}
#body {
  width: 80%;
}
/* エラー表示 */
p.error, span.error {
  color: red;
}