@charset "utf-8";
/*
Theme Name: 塩嶺カントリークラブ
Author: オフィス ティーワンスクエア
Version: 0.1
*/

/* 共通要素 */
@media only screen and (max-width: 767px) {
  div[id^="head-bar"] h1 {
    padding: 8px;
    margin-bottom: 10px;
  }
  div[id^="head-bar"] h1 a {
    display: block;
  }
  div[id^="head-bar"] h1 a img {
    width: 100%;
    height: auto;
    display: block;
  }
  div#head-bar h1 {
    padding: 12px 8px;
  }
}
h1.pagetitle {
  font-size: 1.3em;
  margin: 15px 15px 15px 0;
  font-weight: normal;
}
h1.pagetitle::before {
  content: url(images/h4mark.gif);
  margin-right: 10px;
}
article section {
  position: relative;
}
.btn_edit a {
  position: absolute;
  top: 0;
  right: 0;
  padding: 5px;
  font-size: 18px;
  line-height: 1.0;
  background-color: rgba(255,255,255,0.7);
  z-index: 999;
}
.btn_edit a:before {
  font-family: "FontAwesome";
  content: "\f044";
}


/* storycontent */
.storycontent {
  margin-bottom: 2em;
}
.storycontent h1,
.storycontent h2,
.storycontent h3,
.storycontent h4,
.storycontent h5,
.storycontent h6 {
  font-family: serif;
  font-weight: bold;
  margin-bottom: 0.8em;
}
.storycontent h1 { font-size: 26px; }
.storycontent h2 { font-size: 24px; }
.storycontent h3 { font-size: 22px; }
.storycontent h4 { font-size: 20px; }
.storycontent h5 { font-size: 18px; }
.storycontent h6 { font-size: 15px; }
.storycontent p {
  margin-bottom: 1.5em;
  text-align: justify;
}
.storycontent p:last-child {
  margin-bottom: 0;
}
.storycontent p:after { content: ""; display: table; clear: both; }
.storycontent ul,
.storycontent ol {
  margin-left: 1.5em!important;
}
.storycontent ul li {
  list-style-type: disc;
}
.storycontent a {}
.storycontent strong {}
.storycontent blockquote {}
.storycontent img {
  display: block;
  max-width: 100%;
  height: auto;
}
.storycontent img.alignnone {}
.storycontent img.alignleft {
  float: left;
  margin-right: 10px!important;
}
.storycontent img.alignright {
  float: right;
  margin-left: 10px!important;
}
.storycontent img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.storycontent .brick {}
.storycontent .brick::after { content: ""; display: table; clear: both; }
.storycontent .wp-caption img {
  margin-bottom: 10px;
}
.storycontent .wp-caption-text {
  font-size: 12px;
  line-height: 1.4;
}

/*postmeta*/
.postmeta {
  margin-bottom: 1em;
}
.postmeta .pubdate {
  font-size: 14px;
}
.postmeta .pubdate::before {
  content: "\f073";
  font-family: "FontAwesome";
  margin-right: 5px;
}

/* wp-pagenavi */
.wp-pagenavi {
  text-align: center;
  padding: 50px 0;
}

/* ContactForm7 */
.wpcf7 .wpcf7-form > table th,
.wpcf7 .wpcf7-form > table td {
  text-align: left;
  line-height: 1.4;
}
.wpcf7 .wpcf7-form > table th span {
  color: #e00;
  margin-left: 5px;
}
@media only screen and (min-width: 768px) {
  .storycontent .wpcf7 {
    padding: 2em;
  }
  .wpcf7 .wpcf7-form > table {
    width: 100%;
  }
  .wpcf7 .wpcf7-form > table th,
  .wpcf7 .wpcf7-form > table td {
    padding: 0 15px 15px 0;
    vertical-align: top;
  }
  .wpcf7 .wpcf7-form > table th { width: 20%; }
  .wpcf7 .wpcf7-form > table td { width: 80%; }
}
@media only screen and (max-width: 767px) {
  .storycontent .wpcf7 {
    padding: 10px;
  }
  .wpcf7 .wpcf7-form > table,
  .wpcf7 .wpcf7-form > tbody,
  .wpcf7 .wpcf7-form > table tr,
  .wpcf7 .wpcf7-form > table th,
  .wpcf7 .wpcf7-form > table td {
    display: block;
  }
  .wpcf7 .wpcf7-form > table th { margin-bottom: 0.3em; }
  .wpcf7 .wpcf7-form > table td { margin-bottom: 1em; }
}
.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
  font-size: 16px;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  padding: 6px;
  width: 95%;
}
.wpcf7 input[name*="-name"],
.wpcf7 input[name*="-tel"] { width: 15em; }
.wpcf7 input[name*="-email"],
.wpcf7 input[name*="-time"] { width: 20em; }
.wpcf7 input[type="submit"] {
  background-color: #330000;
  color: #fff;
  display: block;
  text-align: center;
  margin: 0 auto;
  padding: 10px 4em;
  font-size: 18px;
  border: none;
  cursor: pointer;
  -webkit-appearance: none;
}
.wpcf7 .sleeve-submit {
  margin-top: 2em;
}
.wpcf7 .sleeve-confirm {
  margin: 1em 0;
  text-align: center;
  line-height: 1.4;
}
@media only screen and (min-width: 768px) {
  .wpcf7 input[type="text"],
  .wpcf7 input[type="tel"],
  .wpcf7 input[type="email"],
  .wpcf7 textarea {
    width: 95%;
  }
  .wpcf7 input[name*="-name"],
  .wpcf7 input[name*="-tel"] { width: 15em; }
  .wpcf7 input[name*="-email"],
  .wpcf7 input[name*="-time"] { width: 20em; }
  .wpcf7 .sleeve-confirm span {
    margin-left: 5px;
  }
}
@media only screen and (max-width: 767px) {
  .wpcf7 input[type="text"],
  .wpcf7 input[type="tel"],
  .wpcf7 input[type="email"],
  .wpcf7 textarea {
    width: 100%;
  }
  .wpcf7 input[type="submit"] {
    width: 100%;
    padding: 10px 0;
  }
  .wpcf7 .sleeve-confirm {
    position: relative;
    text-align: left;
    padding-left: 30px;
  }
  .wpcf7 .sleeve-confirm .wpcf7-form-control-wrap {
    position: absolute;
    top: 0;
    left: 0;
  }
}

/*ハンディキャップテーブル*/
.hc_table {
  border: 1px solid #bbb;
  table-layout: auto;
  width: 100%;
  margin-bottom: 3em;
  background-color: #fff;
}
.hc_table th,
.hc_table td {
  padding: 5px 0;
  text-align: center;
  border: 1px solid #bbb;
}
.hc_table thead th {
  background: #000;
  color: #fff;
}
.hc_table tbody th {
  width: 20%;
}
.hc_table tbody td {
  width: 80%;
}

/*リンク集*/
.linklist {
  margin-top: 2em;
}
.linklist li {
  margin-bottom: 1em;
}
.linklist li > a {
  display: block;
  padding: 10px;
  background-color: #fff;
  border: 1px solid #bbb;
  font-weight: bold;
  line-height: 1.4;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}
.linklist li > a:hover,
.linklist li > a:focus {
  background-color: #fffada;
}
.linklist li > a > img {
  display: block;
}
.linklist li > a:hover img {
  opacity: 1.0;
}
.linklist li > a > div span {
  display: block;
  font-size: 14px;
  font-weight: normal;
  color: #00b;
}
.linklist li > a > div span:after {
  content: "\f08e";
  font-family: "FontAwesome";
  margin-left: 5px
}
@media only screen and (min-width: 768px) {
  .linklist li a::after { content: ""; display: table; clear: both; }
  .linklist li a > div {
    float: left;
    width: 85%;
  }
  .linklist li a > img {
    width: 15%;
    height: auto;
  }
}
@media only screen and (max-width: 767px) {
  .linklist {
    margin-bottom: 5em;
  }
  .linklist li > a {
    margin-bottom: 10px;
  }
  .linklist li > a > img {
    display: none;
  }
  .linklist li > a > div span {
    word-wrap: break-word;
  }
}

/*pagenavi*/
.pagenavi {
  margin-bottom: 30px;
}
.pagenavi ul {
  display: -webkit-flex;
  display: flex;
  -webkit-box-lines: multiple;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}
.pagenavi ul li a {
  display: block;
  color: #fff;
  background: #500;
  text-align: center;
  border-radius: 7px;
}
@media only screen and (min-width: 768px) {
  .pagenavi ul li {
    margin-right: 10px;
  }
  .pagenavi ul li a {
    padding: 5px 1.5em;
  }
}
@media only screen and (max-width: 767px) {
  .pagenavi ul li {
    width: 50%;
  }
  .pagenavi ul li a {
    margin: 5px;
    padding: 8px 0;
  }
}


/*
// === FIX ===
*/

/*contentarea高さ*/
@media only screen and (min-width: 768px) {
  #contentarea {
    min-height: 60vh;
    min-height: calc( 100vh - 465px );
  }
  .single-post article {
    margin-bottom: 150px;
  }
}

/*記事タイトルフォント*/
.single-post article h4 {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: bold;
}

/*コースレイアウト*/
.coursebox { position: relative; }

/*施設案内*/
#faci .inner img.floatL {
  width: 210px;
  height: auto;
  display: block;
}
#faci div[class^="box"],
#faci div.left,
#faci div.right { position: relative; }

/*料金案内*/
#price .left,
#price .right,
#price .brick { position: relative; }

/*オープンコンペ*/
#compe section { position: relative; }
@media only screen and (min-width: 768px) {
  #compe .detail dl.price {}
  #compe .detail dl.price::after { content: ""; display: table; clear: both; }
  #compe .detail dl.price dt {
    width: 10%;
    float: left;
  }
  #compe .detail dl.price dd {
    width: 90%;
    float: left;
  }
}

/*エンジョイクラブ*/
#club .bene {
  margin-left: 0!important;
}
#club .bene li {
  list-style: none;
}
#club section { position: relative; }

/*競技会日程*/
div#schedule_chart {
  border: 1px solid #39f;
  padding: 20px;
  height:600px;
}

/*小林プロレッスン*/
#lesson section {
  margin-bottom: 50px;
}

/*お問い合わせ*/
#contact .storycontent .telbox p {
  margin-bottom: 0;
}
#contact .wpcf7 {
  margin-top: 40px;
}
#contact .wpcf7 p {
  margin-bottom: 0;
}
#contact .wpcf7 .confirm {
  margin-bottom: 15px;
}
#contact .wpcf7 dl dd {
  margin-bottom: 10px;
}
#contact .content-form {
  display: none!important;
}
@media only screen and (min-width: 768px) {
  #contact .wpcf7 dl { width: 70%; }
}
@media only screen and (max-width: 767px) {
  #contact .storycontent .brick img {
    display: block;
    float: none;
    margin: 0 auto 10px!important;
  }
  #contact .formarea {
    padding: 10px;
  }
}

/*ご利用にあたって*/
.page-guideline .storycontent li {
  list-style: none;
}
.page-guideline .storycontent .guidelist {
  margin-left: 0!important;
}
.page-guideline .storycontent .guidelist li {
  line-height: 1.6;
  margin-bottom: 10px;
}
.page-guideline .storycontent .guidelist li:last-child {
  margin-bottom: 0;
}

/*プライベートコンペプラン*/
.page-privatecompe section {
  margin-bottom: 20px;
}
.page-privatecompe .contact {
  margin-top: 15px;
}
.page-privatecompe .contact p:last-child {
  margin-bottom: 0;
}

/*求人案内*/
.page-recruit article > section {
  margin-bottom: 3em;
}
.page-recruit h5 {
  margin-bottom: 20px!important;
}
.page-recruit .storycontent ul,
.page-recruit .storycontent ol {
  margin-left: 0!important;
}
.page-recruit .bgbox li {
  list-style: none!important;
}
.page-recruit .day h6 {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  margin: 0;
}
.page-recruit .brick {
  margin-bottom: 1.5em;
}
.page-recruit .brick h6 {
  margin-top: 0!important;
  margin-bottom: 20px!important;
}
.page-recruit .brick .answer p {
  margin-bottom: 0;
}
@media only screen and (min-width: 768px) {
  .page-recruit .brick > p {
    width: 200px;
    height: 160px;
    display: block;
    float: right;
  }
  .page-recruit .brick .answer {
    width: 850px;
    float: left;
  }
}
@media only screen and (max-width: 767px) {
  .page-recruit .brick > p {
    display: block;
    text-align: center;
  }
  .page-recruit .brick > p img {
    margin: 0 auto!important;
  }
}

/*リンク集*/
@media only screen and (min-width: 768px) {
  .page-links article {
    min-height: 60vh;
    min-height: calc( 100vh - 485px );
  }
}


/*01.10　コンタクトフォーム*/
/*予約フォーム*/
.wpcf7 {
	background:#fdf5e6;
}
.booking-form, .contact-form {
	padding:20px;
}
.booking-form p {
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
.booking-form table th {
	text-align:center;
}
.booking-form table td {
	font-size:0.9em;
}
.booking-form table td input[type="text"] {
	height:26px;
}
.booking-form input[type="text"],
.booking-form input[type="email"],
.booking-form input[type="tel"],
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"]{
	background:#fff;
	height:35px;
}
.booking-form textarea,.contact-form textarea {
	background:#fff;
	height:200px;
}

/*tablePress*/
#tablepress {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
#tablepress table {
	table-layout:auto;
}
#tablepress h2 {
	font-size: 1.1em;
	font-weight: 600;
}
#tablepress table {
	width:100%;
	border:1px solid #bbb;
}

#tablepress th {
	background:#fdf5e6;
	border:1px solid #bbb;
	text-align:center;
	vertical-align:middle;
}
#tablepress td {
	border:1px solid #bbb;
	text-align:center;
	vertical-align:middle;
	background:#fff;
}
#tablepress-10 td.column-4 {
	text-align:left;
	padding-left:25px;
}
#tablepress-29 td {
	text-align:left;
	padding-left:25px;
}

/*tablepress（ハンディキャップテーブル）*/
.single-handicap .tablepress {}
.single-handicap .tablepress tr {}
.single-handicap .tablepress th,
.single-handicap .tablepress td {}
.single-handicap .tablepress .column-1 {
  width: 35%;
}
.single-handicap .tablepress .column-2 {
  width: 65%;
}
@media only screen and (max-width: 767px) {
  .single-handicap .tablepress .column-1 {
    width: 50%;
    text-align: center;
  }
  .single-handicap .tablepress .column-2 { width: 50%; }
}



/* -----------------------------------------------
//  投稿要素
//  # category
//  # archive
//  # single
// --------------------------------------------- */

/*共通要素*/
#pagetitle {
  margin: 0 auto;
  padding: 30px 0 40px;
}
#pagetitle h1 {
  font-size: 22px;
}
#pagetitle h1:before {
  content: url(images/h4mark.gif);
  margin-right: 10px;
}
@media only screen and (min-width: 768px) {
  #pagetitle {
    width: 1100px;
    padding: 30px 0 40px;
  }
}
@media only screen and (max-width: 767px) {
  #pagetitle {
    padding: 30px 0 40px;
  }
}
#contentarea .pane {
  margin: 0;
  font-family: sans-serif;
  background-color: #220000;
  color: #fff;
  padding: 5px 10px;
  box-shadow: 3px 3px 0 #bdb3b3;
  position: relative;
  top: -3px;
  left: -3px;
}
#contentarea .pane::before {
  display: none;
}
@media only screen and (min-width: 768px) {
  .withsidebar {
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: justify;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
  }
  .withsidebar::after { display: none; }
  .withsidebar article {
    width: 830px;
  }
  .withsidebar aside {
    width: 240px;
  }
}
.withsidebar article {
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 3em;
  background-color: #fff;
}
.archive .withsidebar article {
  background-color: transparent;
}
.archive .withsidebar article section {
  background-color: #fff;
  margin-bottom: 2em;
}
.archive .withsidebar section > a {
  display: block;
}
.single-post a img {
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}
.single-post a:hover img {
  opacity: 0.85;
}

/*postheading*/
.postheading {
  position: relative;
}
.postheading .post_title {
  padding: 20px!important;
  font-weight: bold;
}
.postheading h1.post_title { font-size: 22px; }
.postheading h2.post_title { font-size: 18px; }
.postheading .pubdate::before {
  content: "\f073";
  font-family: "FontAwesome";
  margin-right: 5px;
}
.postheading .edit {
  position: absolute;
  bottom: 18px;
  right: 20px;
}
.postheading .edit a {
  font-size: 14px;
  background-color: orange;
  color: #fff;
  padding: 5px;
}
.postheading .edit a::before {
  font-family: "FontAwesome";
  content: "\f044";
  margin-right: 4px;
}
@media only screen and (min-width: 768px) {
  .postheading .pubdate {
    padding: 15px 30px;
  }
}
@media only screen and (max-width: 767px) {
  .postheading .pubdate {
    padding: 15px 10px;
  }
}
/*postfooter*/
.postfooter {
  border-top: 2px dashed #bbb;
  padding: 15px 0;
  margin: 0 30px;
}
.postfooter::after { content: ""; display: table; clear: both; }
.postfooter .pubdate {
  float: left;
  margin-right: 1.5em;
}
.postfooter .pubdate::before {
  content: "\f073";
  font-family: "FontAwesome";
  margin-right: 5px;
}
.postfooter .cat a {
  padding: 3px 5px;
  background-color: #300;
  color: #fff;
  font-size: 12px;
}
.postfooter .edit,
.postfooter .cat {
  float: left;
}
.postfooter .cat {
  margin-right: 20px;
}
.postfooter .edit a {
  font-size: 14px;
}

.withsidebar article .storycontent {
  padding-bottom: 2em;
}
.single-post article .storycontent {
  padding-bottom: 5em;
}
@media only screen and (min-width: 768px) {
  .withsidebar article .storycontent {
    margin: 0 30px 0;
  }
}
@media only screen and (max-width: 767px) {
  .withsidebar article .storycontent {
    margin: 0 10px 0;
  }
}
.withsidebar a img {
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}
.withsidebar a:hover img {
  opacity: 0.85;
}
.withsidebar aside h4 {
  font-size: 16px!important;
}
.withsidebar aside .widget {
  background-color: #fff;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: bold;
  position: relative;
}
.withsidebar aside .widget ul {
  padding: 20px;
  margin: 8px 0;
  line-height: 1.4;
}
.withsidebar aside .widget ul li {
  margin-bottom: 5px;
}
.withsidebar aside .widget ul li a {
  font-size: 16px;
  font-weight: normal;
  display: block;
  position: relative;
  padding-left: 1.2em;
}
.withsidebar aside .widget ul li a:before {
  content: "\f105";
  font-family: "FontAwesome";
  position: absolute;
  top: 0;
  left: 0;
}
.withsidebar aside .widget.archive ul li a::before {
  content: "\f073";
}
.withsidebar aside .widget.categories ul li a::before {
  content: "\f02b";
}



/* -----------------------------------------------
//  会員限定エリア
// --------------------------------------------- */

/*メンバーログイン*/
.page-members #wrapper,
.page-booking #wrapper,
.page-results #wrapper,
.page-handicap #wrapper,
.page-special_offers #wrapper {
	background-color: #200;
}
.page-members.logged-in #wrapper,
.page-booking.logged-in #wrapper,
.page-results.logged-in #wrapper,
.page-handicap.logged-in #wrapper,
.page-special_offers.logged-in #wrapper {
  background-color: transparent;
}
.page-members article,
.page-booking article,
.page-results article,
.page-handicap article,
.page-special_offers article { color: #fff; }
.page-members.logged-in article,
.page-booking.logged-in article,
.page-results.logged-in article,
.page-handicap.logged-in article,
.page-special_offers.logged-in article { color: inherit; }
.page-members #contentarea {
  position: relative;
}
.page-members article h1:before,
.page-booking article h1:before,
.page-results article h1:before,
.page-handicap article h1:before,
.page-special_offers article h1:before {
	content: url(images/h4mark-wh.gif);
	margin-right: 10px;
}
.page-members.logged-in article h1:before,
.page-booking.logged-in article h1:before,
.page-results.logged-in article h1:before,
.page-handicap.logged-in article h1:before,
.page-special_offers.logged-in article h1:before {
	content: url(images/h4mark.gif);
	margin-right: 10px;
}
.page-members article h2 {
	margin: 15px 0;
  font-size: 18px;
}
.page-members .storycontent p br { display: none; }
.page-members .storycontent a {
  text-decoration: underline;
}
.page-members .statusbar {
  background-color: #e2e2e2;
  display: block;
  text-align: right;
  padding: 5px;
  font-size: 14px;
}
.page-members .statusbar br { display: none; }
@media only screen and (max-width: 767px) {
  .page-members .statusbar br { display: inline; }
}
.page-members .statusbar a {
  margin-left: 1em;
  text-decoration: underline;
}
#contentarea #wpmem_login form {
	margin: 30px 0 0 0;
	border: 1px solid #fff;
	padding: 30px 40px;
  color: #fff;
}
#contentarea #wpmem_login fieldset,
#contentarea #wpmem_reg fieldset,
#contentarea #wpmem_login fieldset {
  margin-top: 0;
}
#contentarea #wpmem_login input[type="text"],
#contentarea #wpmem_login input[type="password"] {
	width: 50%;
	height: 25px;
	margin: 0 0 20px 0;
  padding: 5px;
	background-color: #200;
	color: #fff;
	border: 1px solid #ccc;
}
#contentarea #wpmem_login .div_text {
  margin-bottom: 0;
}
#contentarea #wpmem_login .button_div {
  text-align: left;
}
#contentarea #wpmem_login .button_div input[type="submit"] {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	padding: 10px 30px;
	border: 2px solid #ccc;
	background-color: #200;
	color: #fff;
  display: block;
}
@media only screen and (max-width: 767px) {
  #contentarea #wpmem_login form {
  	padding: 15px;
  }
  #contentarea #wpmem_login input[type="text"],
  #contentarea #wpmem_login input[type="password"] {
  	width: 100%;
  	height: auto;
  }
  #contentarea #wpmem_login .button_div {
    text-align: center;
  }
  #contentarea #wpmem_login .button_div input[type="submit"] {
    display: block;
    padding: 10px 0;
    width: 100%;
  }
}
/*ログイン失敗時*/
#contentarea #wpmem_msg {
  background-color: transparent;
  border: 1px solid lightGrey;
  border-radius: 0;
  padding: 20px 0 40px 0;
}
#contentarea #wpmem_msg p {
  text-align: center;
}
#contentarea #wpmem_msg a {
  color: #fff;
}

/*競技会成績*/
.page-results .result {}
.page-results .result h5 {
  margin-bottom: 15px;
}
.page-results .result > div {
  background-color: #fff;
  margin-bottom: 2em;
  padding-bottom: 10px;
  position: relative;
}
.page-results .result .storycontent {
  padding: 20px;
}
.attachment_file {
  padding: 20px;
  margin: 10px 20px;
  background-color: #f4f4f4;
}
.attachment_file h6 {
  font-size: 14px;
}
.attachment_file h6::after {
  content: "\f019";
  font-family: "FontAwesome";
  margin-left: 5px;
}
.attachment_file a {
  display: block;
  padding: 20px 15px 20px 70px;
  position: relative;
  line-height: 1.4;
}
.attachment_file a::before {
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  background: url(images/ico_pdf.png) no-repeat 0 0;
  position: absolute;
  top: 5px;
  left: 20px;
}
@media only screen and (max-width: 767px) {
  .attachment_file {
    padding: 10px;
  }
  .attachment_file a{
    padding: 5px 10px 5px 50px;
  }
  .attachment_file a::before {
    background: url(images/ico_pdf@3x.png) no-repeat 0 0;
    background-size: contain;
    top: 0;
    left: 0;
  }
}

/*ハンディキャップ*/
.page-handicap #member .storycontent p {
  color: #000;
  text-align: left;
}
@media only screen and (max-width: 767px) {
  .page-handicap ul.hcbtn,
  .single-handicap ul.hcbtn {
    display: -webkit-flex;
    display: flex;
    -webkit-box-lines: multiple;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .page-handicap ul.hcbtn li,
  .single-handicap ul.hcbtn li {
    float: none!important;
    width: 50%!important;
    margin: 0!important;
  }
  .page-handicap ul.hcbtn li a,
  .single-handicap ul.hcbtn li a {
    margin: 5px!important;
    width: auto!important;
  }
  .page-handicap ul.hcbtn::after,
  .single-handicap ul.hcbtn::after { display: none; }
}
/*メンバー様だけにご案内*/
.page-special_offers .memberinfo {
  position: relative;
}
.page-special_offers .memberinfo .postmeta {
  font-size: 12px;
  font-weight: bold;
}
@media only screen and (min-width: 768px) {
  .page-special_offers .memberinfo .postmeta {
    position: absolute;
    top: 20px;
    right: 25px;
  }
}
@media only screen and (max-width: 767px) {
  .page-special_offers .memberinfo .postmeta {
    position: relative;
    top: -10px;
    text-align: right;
  }
}
