/*
Theme Name: kdcs-library2018
Theme URI: 
Description: XHTML
Author: K design CS
*/

/* style.css @charset "utf-8";
--------------------------------------------------*/
body {
    margin: 0 0 0 0;
    text-align: center;
    color: #000000;
    background-color: #ffffff;
    background-image: url(images/body_bg2.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    font-family: "メイリオ",Meiryo,Verdana,Arial,Osaka,"MS P Gothic","ＭＳ Ｐゴシック",sans-serif;
/*  font-family: "ＭＳ Ｐゴシック", Verdana, Osaka, sans-serif; */
}
#wrapper {
    text-align: left;
    background-color: transparent;
}
.inner { margin: 0 auto; max-width: 1080px; }
h1,h2,h3,.weddingline { text-indent: 0px; }

/* ヘッダーエリア
--------------------------------------------------*/
#headerArea {
    height: 90px;
    background-image: url(images/header_bg.jpg);
    background-repeat: no-repeat;
    background-color: transparent;
}
#header h1,#header h2 {
    display: none;
    }
#loginout {
    padding:5px 5px 0 0;
    text-align: right;
    }

/* グローバルナビゲーション
--------------------------------------------------*/
#nav {
    background-color:#4373c5;
}
#nav ul {
    float: left;
    width: 100%;
    background-color:#4373c5;
}
#nav ul li:first-child {
    border-left: 1px solid #fff;
}
#nav ul li {
    box-sizing: border-box;
    float: left;
    width: 16.66%;
    border-right: 1px solid #fff;
}
#nav ul li a {
    display: block;
    padding: 8px 0;
    font-size: 130%;
    color: #fff;
    text-align: center;
    text-decoration: none;
}
#nav ul li a:hover {
    background-color: #6b94da;
}
.slicknav_menu { display: none; }

/* コンテンツはここから
--------------------------------------------------*/
#content {
    padding: 20px 0;
}
#main,div.main {
     float: left;
    width: 75%;
}
#main h2 {
    height:40px;
}
#main h3 {
    margin-bottom: 10px;
    padding: 10px;
    font-size: 139%;
    color: #4764a4;
    background-color: #b1c9e5;
    border: 1px solid #b1c9e5;
    border-radius: 8px;
}
#main h3 i {
    color: #fff;
    font-size: 154%;
}
#main p {
    padding: 10px;
    font-size: 130%;
    color: #333;
    line-height: 1.5;
    }
#main dl,#main ul {
    padding: 10px 0px 10px 10px;
    }
#main ul li {
    padding: 0;
    line-height: 1.6;
    font-size: 107%;
    }
.storycontent { padding-bottom: 30px; }
.storycontent img { max-width: 100%; height: auto; }
code {
width:680px;
margin:10px 0;
padding:5px 8px;
color:#fafafa;
display:inline;
font-size:107%;
line-height: 1.4
background:#999999;
}
.codeBox {
padding:5px 8px;
background:#999999;
}

.youtube {
position: relative;
width: 90%;
margin: 0 auto;
padding-top: 56.25%;
}
.youtube iframe{
position: absolute;
top: 0;
right: 0;
width: 100% !important;
height: 100% !important;
}
/* サイドセクション
--------------------------------------------------*/
#aside {
    float: right;
    width: 24%;
    background-color: transparent;
}
#aside h3 {
    margin: 0 0 18px 0;
    padding: 5px 0px 5px 0px;
    text-align: center;
    font-size: 123%;
    color: #fff;
    background-color: #7baaf2;
    text-indent: 0px;
}
#aside form {
    margin: 0 0 10px 0;
}
#aside form input {
    max-width: 160px;
    padding: 3px;
    font-size:107%;
}
#aside p {
    padding: 10px 0px 5px 10px;
    line-height: 1.5;
    font-size: 100%;
    color: #333;
}
#aside ul {
    margin: 0px 0px 10px 0px;
    padding: 0px;
}
#aside ul li {
    margin-bottom: 5px;
    font-size: 123%;
    line-height: 1.4;
}
#aside #pen ul li a {
    display: block;
    padding: 5px 0;
    text-decoration: none;
    border-bottom: 1px dotted #ccc;
} 
/* フッターセクション
--------------------------------------------------*/
#footer {
    clear: both;
    width: 100%;
    height: 200px;
    text-align: center;
    background: #cccccc;
    background-image: url(images/page_under.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    }
.upscroll {
    clear:both;
    margin-top:5px;
    position:relative;
    text-align:right;
    top:1px;
    }
/* お問合わせのページ
--------------------------------------------------*/
#mailform {
    margin-bottom: 30px;
    padding: 0 5px;
    background: #fff;
}
#mailform p {
    font-size: 100%;
}
table.mailform {
    width: 100%;
}
table.mailform th,table.mailform td {
    padding-top: 5px;
    border-bottom:1px dotted #a1b3c4;
}
#mailform table.mailform th {
    width: 180px;
    font-size: 100%;
}
table.mailform th span {
    padding: 0 5px;
    color: #fff;
    font-size: 77%;
    border: 1px solid #ef92df;
    border-radius: 5px;
    background-color: #ef92df;
    position: relative;
    bottom: 2px;
}
#mailform table.mailform td {
    text-align: left;
    font-size: 100%;
}
#mailform td p { margin: 10px 0 0 0; }
#mailform input,#mailform textarea,#mailform select {
    box-sizing: border-box;
    margin: 10px 0 5px 0;
    padding: 5px;
    border: 1px solid #a1b3c4;
    border-radius: 5px;
    }
#mailform input.inputName1 { width: 395px; }
#mailform input.inputName2,#mailform input.inputFurigana { width: 320px; }
#mailform input.inputEmail { width: 320px; }
#mailform input.inputTel,#mailform input.inputZipcode { width: 200px; }
#mailform input.inputAddress,#mailform input.inputAddress2 {
    width: 100%;
}
#mailform .wpcf7-list-item input { border: 0px; }
#mailform textarea { width: 100%; }
#mailform input.wpcf7-submit,#mailform input.mailReset {
    margin-right: 10px;
    padding: 8px;
}
#mailform input.wpcf7-submit:hover,
#mailform input.mailReset:hover {
    background-color: #d9e9f0;
}
.wpcf7-list-item-label { margin: 0 18px 0 0; }
.wpcf7-not-valid-tip-no-ajax {
    display: block;
    padding-left: 0px;
    color: #ff0000;
    }
/*
.wpcf7-validation-errors,.wpcf7-mail-sent-ng {
    padding: 10px 0 0 0;
    font-size: 107%;
    color: #ff0000;
    }
.wpcf7-mail-sent-ok {
    padding: 10px 0 0 0;
    font-size: 107%;
    color: #0000ff;
    }
span.wpcf7-not-valid-tip {
    display: block;
    color: #ff0000;
    padding-bottom: 5px;
    }
*/
div.screen-reader-response {
    display: none;
    }
/* エラー表示 */
.wpcf7-not-valid-tip {
    display: block;
    position: relative;
    width: fit-content;
    -moz-fit-content;
    color: #cc3366;
    font-size: 12px;
    margin-top: 5px;
    padding: 4px 8px;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    background-color: #f7e8e6;
    border-radius: 5px;
}
.wpcf7-not-valid-tip::before{
    content: '';
    position: absolute;
    left: 20px;
    top: -9px;
    display: block;
    width: 0;
    height: 0;
    border-right: 11px solid transparent;
    border-bottom: 11px solid #f7e8e6;
    border-left: 11px solid transparent;
}
/* 承認チェックボックス */
.wpcf7-acceptance {
    display: block;
    margin-top: 5px;
}
input[type="checkbox"] {
display: none;
}
span.wpcf7-list-item {
  position: relative;
}
.wpcf7-list-item-label {
  cursor: pointer;
}
.wpcf7-list-item-label:before {
  content: '';
  border: 1px solid #3584b3;
  display: inline-block;
  width: 20px;
  height: 20px;
  position: relative;
  top: -2px;
  margin-left: 5px;
  margin-right: 5px;
  vertical-align: middle;
  cursor: pointer;
  text-align: center;
}
input[type="checkbox"]:checked + .wpcf7-list-item-label:after {
    content: "";
    position: absolute;
    display: block;
    box-sizing: border-box;
    width: 18px;
    height: 9px;
    top: 3px;
    left: 8px;
    transform: rotate(-45deg);
    border-bottom: 3px solid;
    border-left: 3px solid;
    border-color:  #3584b3;
}
/* メッセージ出力 */
.wpcf7 form.sent .wpcf7-response-output {
    margin: 10px auto 10px auto;
    padding: 8px 5px;
    font-size: 107%;
    color: #334bcc;
    text-align: center;
    background-color: #e6edf7;
    border-radius: 5px;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    margin: 10px auto 10px auto;
    padding: 8px 5px;
    font-size: 107%;
    color: #cc3366;
    text-align: center;
    background-color: #f7e8e6;
    border-radius: 5px;
}
/* スマホ対応
---------------------------------------------*/
@media only screen and (max-width: 780px) {
body { font-size: 14px; }
#wrapper { min-width: initial; }
div#navFixed { display: none; }
.pc_block,.pc_inline { display: none; }
.sp_block { display: block; }
.sp_inline { display: inline; }
.sp_none { display: none; }
.spInlineblock { display: inline-block; }
.spbr { display: block; }
.alignright,.alignleft { float: none; }
.inner,#main,#main.toppage,#aside,#aside.toppage,
#footer #footerLeft,#footer #footerRight,
#footerArea ul.footerNav1,#footerArea ul.footerNav2 {
  float: none;
  width: 100%;
  }
h2 {
  text-indent: 0;
  }
#header #headerArea {
  height: auto;
  background: none;
  text-align: center;
  }
#header #headerArea h1 {
  display: none;
  }
#nav {
  display: none;
  }
#content {
  margin: 0;
  }
#mainFull h3, #main h3 {
  font-size: 130%;
  }
#footer #footerRight {
  text-align: center;
  }
.slicknav_menu {
  display:block;
  }
img {
  max-width: 100%;
  height: auto;
  }
.youtube {
  width: 100%;
  }
}