@charset "utf-8";

/*---------------------------------------------------------------------------------------
	大枠設定
----------------------------------------------------------------------------------------*/

body {
  color: #fff;
  /* min-width: 1020px; */
  text-align: center;
}
#wrapper {
  /* min-height: 1100px; */
  overflow: hidden;
  background: #000;
}

a {
  color: #fff;
  text-decoration: none;
}
a:hover {
  color: #a5a5a5;
  text-decoration: none;
}
.gothic {
  font-family:
    "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体",
    "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
}

ol#pnav {
  text-align: left;
  clear: both;
  overflow: hidden;
  padding-top: 5px;
  margin-bottom: 20px;
}
ol#pnav li {
  float: left;
}
ol#pnav li:before {
  content: ">";
  margin: 0 10px;
}
ol#pnav li:first-child:before {
  content: none;
}
.btn a {
  box-sizing: border-box;
  color: #ef4136;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  border: 1px solid #ef4136;
  padding: 8px 60px;
  line-height: 1.4;
}
.btn a:hover {
  color: #fff;
  border: 1px solid #fff;
}

/*------------------------------ sp size ------------------------------*/
@media screen and (max-width: 768px) {
  body {
    font-size: 3.5vw;
    min-width: inherit;
  }
}

/*---------------------------------------------------------------------------------------
	header
----------------------------------------------------------------------------------------*/

header {
  position: relative;
  background: #fff;
}
header #headerwrap {
  max-width: 1000px;
  padding: 10px 3% 0;
  margin: 0 auto;
  box-sizing: content-box;
}
header #headerwrap > div {
}
header,
header a,
header h1 a:hover {
  color: #000;
}
header a {
  display: inline-block;
}
header ul li a:hover {
  opacity: 0.6;
}
header h1 {
  font-size: 32px;
  text-align: left;
  line-height: 1;
}
header h1 img {
  height: 48px;
  width: auto;
  vertical-align: middle;
  display: inline-block;
}
header h1 strong {
  vertical-align: middle;
  display: inline-block;
  padding: 10px 5px 0;
}
header h1 span {
  font-size: 13px;
  display: inline-block;
}
/* nav */
header nav {
  overflow: hidden;
}
header #gnav {
  clear: both;
  display: inline-block;
  font-size: 16px;
}
header #gnav li {
  display: inline-block;
}
header #gnav li:last-child {
  padding-top: 10px;
}
header #gnav li:first-child {
  border-top: none;
}
header #gnav li a {
  display: block;
  padding: 10px 8px;
  font-weight: bold;
}
header #gnav li a:hover,
header #gnav li.active a {
  color: #000;
}
header #gnav li.active a {
  color: #999;
}
header #gnav li:last-child a {
  color: #fff;
  padding: 2px;
  background: #ef4136;
  border-radius: 5px;
  display: block;
}
header #gnav2 {
  display: inline-block;
}
header #gnav2 li a {
  padding: 0 20px;
}
header nav .fb {
  display: none;
}
header .main {
  min-width: 1500px;
}
header .main img {
  width: 100%;
}
/*------------------------------ sp size ------------------------------*/
@media screen and (max-width: 768px) {
  header {
    height: 65px;
    background: #fff;
  }
  header #headerwrap {
    position: static;
    padding: 0;
    width: 100%;
  }
  header:after,
  header:before {
    content: none;
  }
  header div {
    position: relative;
    background: #fff;
  }
  header h1 {
    font-size: 24px;
    width: 90%; /* IE8以下とAndroid4.3以下用フォールバック */
    width: -webkit-calc(100% - 65px);
    width: calc(100% - 65px);
    text-align: left;
    padding: 5px 0 0 3%;
  }
  header h1 a {
    line-height: 1;
  }
  header h1 img {
    width: auto;
    height: 35px;
    margin: 0 5px 0 0;
    float: left;
  }
  header h1 strong {
    float: left;
    padding-top: 8px;
    margin-right: 10px;
  }
  header h1 span {
    font-size: 14px;
    display: inline-block;
    padding-top: 5px;
    line-height: 1;
  }
  header p {
    position: absolute;
    right: 0;
    top: 0;
    width: 65px;
    height: 65px;
    background: #000;
    cursor: pointer;
  }
  header p span {
    display: block;
    position: absolute;
    top: 22px;
    right: 22px;
    width: 20px;
    height: 18px;
    background: #fff;
    border-top: 8px solid #000;
    border-bottom: 8px solid #000;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
  }
  header p span:before {
    content: "";
    position: absolute;
    width: 20px;
    height: 2px;
    background: #fff;
    top: -7px;
    right: 0;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
  }
  header p span:after {
    content: "";
    position: absolute;
    width: 20px;
    height: 2px;
    background: #fff;
    bottom: -7px;
    right: 0;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
  }
  header.open p span {
    background: #000;
  }
  header.open p span:before {
    -moz-transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
    top: 0;
    right: 0;
  }
  header.open p span:after {
    -moz-transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
    bottom: 0;
    right: 0;
  }
  /* nav */
  header nav {
    position: absolute;
    top: 65px;
    right: -100%;
    width: 100%;
    text-align: center;
    padding: 0 0 10px;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    z-index: 9999;
  }
  header.open nav {
    -moz-transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    background: rgba(255, 255, 255, 0.9);
  }
  header #gnav {
    clear: both;
    padding: 0 17% 10px;
    margin-bottom: 0;
    background: none;
    display: block;
  }
  header #gnav li {
    float: none;
    width: auto !important;
    text-align: center !important;
    font-size: 4vw;
    line-height: inherit;
    border-top: 1px solid #909090;
    display: block;
  }
  header #gnav li:nth-last-child(2) a {
    border-radius: 0;
  }
  header #gnav li a {
    display: block;
    font-weight: bold;
  }
  header #gnav li a img {
    vertical-align: middle;
  }
  header #gnav2 {
    display: block;
  }
  header #gnav2 li {
    display: block;
  }
  header .main {
    min-width: inherit;
    position: relative;
    z-index: 1;
  }
  header nav .fb {
    display: block;
    position: static;
    text-align: center;
    width: 100%;
    background: #000;
    margin-bottom: 10px;
  }
  header nav .fb a {
    padding: 10px;
    display: inline-block;
  }
}

/*---------------------------------------------------------------------------------------
	contents
----------------------------------------------------------------------------------------*/

.bx-wrapper,
.bx-viewport,
.bx-viewport ul li,
.bx-viewport img {
  position: relative;
  z-index: 100;
}
.bx-viewport img {
  vertical-align: top;
}
.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 999;
}
/* PAGER */
.bx-wrapper .bx-pager {
  text-align: center;
  font-size: 0.85em;
  font-family: Arial;
  font-weight: bold;
  color: #fff;
  padding-top: 10px;
}
.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
  display: inline-block;
  *zoom: 1;
  *display: inline;
}
.bx-wrapper .bx-pager.bx-default-pager a {
  background: #fff;
  text-indent: -9999px;
  display: block;
  width: 15px;
  height: 15px;
  margin: 0 5px;
  outline: 0;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
}
.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
  background: #000;
}
#contents {
  clear: both;
}
#contents .title-lower {
  color: #fff;
  font-size: 34px;
  text-shadow:
    0 0 5px #000,
    0 0 5px #000,
    0 0 5px #000;
  padding: 40px 0;
  background-color: #000;
  margin-bottom: 30px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
#contents .contentswrap {
  clear: both;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 3% 60px;
  box-sizing: content-box;
}
#contents #pagetop {
  position: fixed;
  z-index: 9999;
  right: 30px;
  bottom: 30px;
}
#contents .subtitle {
  font-size: 28px;
  font-weight: normal;
  text-align: center;
  padding-bottom: 20px;
  background: url(https://syojyoin.jp/wp-content/themes/pattern3/common/images/subtitle-bd.png)
    no-repeat center bottom;
  margin-bottom: 75px;
  line-height: 1.4;
}
#contents .subtitle span {
  font-size: 20px;
}
#contents ul.anchor {
  clear: both;
  overflow: hidden;
}
#contents ul.anchor li {
  float: left;
  margin: 0 20px 20px 0;
}
#contents ul.anchor li a {
  font-size: 20px;
  display: block;
  border: 1px solid #909090;
  padding: 12px 40px 12px 50px;
}
#contents ul.anchor li a:after {
  content: url(https://syojyoin.jp/wp-content/themes/pattern3/common/images/icon-bottom.png);
  margin-left: 10px;
}
#contents ul.anchor li a:hover {
  color: #202020;
  opacity: 0.6;
}
#contents ul.anchor li a span {
  font-weight: bold;
  display: inline-block;
  margin-right: 1em;
}
#contents ul#lower-link {
  padding-top: 70px;
  clear: both;
  overflow: hidden;
}
#contents ul#lower-link li {
  width: 33%;
  float: left;
  margin-bottom: 50px;
}
#contents ul#lower-link li figure {
  margin-bottom: 20px;
}
#contents ul#lower-link li p {
  font-size: 20px;
  margin-bottom: 10px;
}
#contents ul#lower-link li p.link {
  font-size: 14px;
  padding: 0 15px;
}
#contents ul#lower-link li p.link a {
  display: block;
  padding: 8px;
  border: 1px solid #909090;
  background: url(https://syojyoin.jp/wp-content/themes/pattern3/common/images/icon-btnright2.png)
    no-repeat right 15% top 11px;
}
#contents ul#lower-link li p.link a:hover,
#contents ul#lower-link li.active p.link a {
  color: #fff;
  border: 1px solid #000;
  background: url(https://syojyoin.jp/wp-content/themes/pattern3/common/images/icon-btnright2.png)
    no-repeat right 15% bottom 11px #000;
}
/*------------------------------ sp size ------------------------------*/
@media screen and (max-width: 768px) {
  #contents .title-lower {
    font-size: 6vw;
    padding: 3% 0;
    margin-bottom: 15px;
    background-size: 100% auto;
  }
  #contents.lower .contentswrap {
    padding: 0 5% 30px;
  }
  #contents #pagetop {
    clear: both;
    padding: 3% 0 3%;
  }
  #contents #pagetop img {
    width: 70px;
    height: auto;
  }
  #contents .subtitle {
    font-size: 5vw;
    font-weight: normal;
    text-align: center;
    padding-bottom: 2%;
    background: url(https://syojyoin.jp/wp-content/themes/pattern3/common/images/subtitle-bd.png)
      no-repeat center bottom;
    background-size: 50px 2px;
    margin-bottom: 35px;
    line-height: 1.3;
  }
  #contents .subtitle span {
    font-size: 3vw;
  }
  #contents ul.anchor li {
    float: none;
    margin-right: 0;
    margin-bottom: 5px;
  }
  #contents ul.anchor li a {
    font-size: 4vw;
    display: block;
    border: 1px solid #909090;
    padding: 5px;
    background: url(https://syojyoin.jp/wp-content/themes/pattern3/common/images/icon-bottom.png)
      no-repeat right 7% center;
    background-size: 9px 6px;
  }
  #contents ul.anchor li a:after {
    content: "";
    margin-left: 0;
  }
  #contents ul#lower-link {
    padding-top: 30px;
    clear: both;
    overflow: hidden;
  }
  #contents ul#lower-link li {
    width: 50%;
    float: left;
    margin-bottom: 25px;
  }
  #contents ul#lower-link li figure {
    margin-bottom: 15px;
  }
  #contents ul#lower-link li p {
    font-size: 16px;
    margin-bottom: 10px;
  }
  #contents ul#lower-link li p.link {
    font-size: 14px;
    padding: 0 10px;
  }
  #contents ul#lower-link li p.link a {
    display: block;
    padding: 3px;
    border: 1px solid #909090;
    background: url(https://syojyoin.jp/wp-content/themes/pattern3/common/images/icon-btnright2.png)
      no-repeat right 15% top 15px;
    background-size: 20px 5px;
  }
  #contents ul#lower-link li p.link a:hover,
  #contents ul#lower-link li.active p.link a {
    color: #fff;
    border: 1px solid #000;
    background: url(https://syojyoin.jp/wp-content/themes/pattern3/common/images/icon-btnright2.png)
      no-repeat right 15% bottom 6px #000;
    background-size: 20px 5px;
  }
}
@media screen and (max-width: 400px) {
  #contents ul#lower-link li {
    width: 100%;
    float: none;
    margin-bottom: 25px;
  }
}

#contents .cont {
  text-align: left;
  margin-bottom: 30px;
}
#contents .cont h3 {
  font-size: 30px;
  margin-bottom: 20px;
}
#contents .cont h4 {
  font-size: 26px;
  margin-bottom: 15px;
}
#contents .cont h5 {
  font-size: 22px;
  margin-bottom: 15px;
}
#contents .cont h6 {
  font-size: 18px;
  margin-bottom: 10px;
}
#contents .cont p,
#contents .cont ul,
#contents .cont blockquote,
#contents .cont table,
#contents .cont figure {
  margin-bottom: 10px;
}
#contents .cont ul {
  overflow: hidden;
}
#contents .cont table {
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
}
#contents .cont table th,
#contents .cont table td {
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 5px 10px;
}
#contents .cont img {
  margin: 0 10px 10px 0;
}
#contents .cont ul,
#contents .cont ul li {
  overflow: visible;
  list-style-type: disc;
}
#contents .cont ul,
#contents .cont ol {
  padding-left: 1.5em;
}
#contents .cont ol,
#contents .cont ol li {
  list-style-type: decimal;
}
#contents .cont em {
  font-style: italic;
}
/*------------------------------ sp size ------------------------------*/
@media screen and (max-width: 768px) {
  #contents .title-lower {
    font-size: 6vw;
    padding: 3% 0;
    margin-bottom: 15px;
    background-size: 100% auto;
  }
  #contents.lower .contentswrap {
    padding: 0 5%;
  }
  #contents #pagetop {
    clear: both;
    padding: 3% 0 3%;
  }
  #contents #pagetop img {
    width: 70px;
    height: auto;
  }
  #contents .subtitle {
    font-size: 5vw;
    font-weight: normal;
    text-align: center;
    padding-bottom: 2%;
    background: url(https://syojyoin.jp/wp-content/themes/pattern3/common/images/subtitle-bd.png)
      no-repeat center bottom;
    background-size: 50px 2px;
    margin-bottom: 35px;
    line-height: 1.3;
  }
  #contents .subtitle span {
    font-size: 3vw;
  }
  #contents ul.anchor li {
    float: none;
    margin-right: 0;
    margin-bottom: 5px;
  }
  #contents ul.anchor li a {
    font-size: 4vw;
    display: block;
    border: 1px solid #909090;
    padding: 5px;
    background: url(https://syojyoin.jp/wp-content/themes/pattern3/common/images/icon-bottom.png)
      no-repeat right 7% center;
    background-size: 9px 6px;
  }
  #contents ul.anchor li a:after {
    content: "";
    margin-left: 0;
  }
  #contents ul#lower-link {
    padding-top: 30px;
    clear: both;
    overflow: hidden;
  }
  #contents ul#lower-link li {
    width: 50%;
    float: left;
    margin-bottom: 25px;
  }
  #contents ul#lower-link li figure {
    margin-bottom: 15px;
  }
  #contents ul#lower-link li p {
    font-size: 16px;
    margin-bottom: 10px;
  }
  #contents ul#lower-link li p.link {
    font-size: 14px;
    padding: 0 10px;
  }
  #contents ul#lower-link li p.link a {
    display: block;
    padding: 3px;
    border: 1px solid #909090;
    background: url(https://syojyoin.jp/wp-content/themes/pattern3/common/images/icon-btnright2.png)
      no-repeat right 15% top 15px;
    background-size: 20px 5px;
  }
  #contents ul#lower-link li p.link a:hover,
  #contents ul#lower-link li.active p.link a {
    color: #fff;
    border: 1px solid #b19e61;
    background: url(https://syojyoin.jp/wp-content/themes/pattern3/common/images/icon-btnright2.png)
      no-repeat right 15% bottom 6px #b19e61;
    background-size: 20px 5px;
  }
  #contents .cont {
    margin-bottom: 15px;
  }
  #contents .cont h3 {
    font-size: 5.5vw;
    margin-bottom: 15px;
  }
  #contents .cont h4 {
    font-size: 5vw;
    margin-bottom: 15px;
  }
  #contents .cont h5 {
    font-size: 4.5vw;
    margin-bottom: 10px;
  }
  #contents .cont h6 {
    font-size: 4vw;
    margin-bottom: 10px;
  }
  #contents .cont p,
  #contents .cont ul,
  #contents .cont blockquote,
  #contents .cont table,
  #contents .cont figure {
    margin-bottom: 5px;
  }
  #contents .cont table th,
  #contents .cont table td {
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 3px 5px;
  }
  #contents .cont img {
    margin: 0 5px 5px 0;
  }
}
@media screen and (max-width: 400px) {
  #contents ul#lower-link li {
    width: 100%;
    float: none;
    margin-bottom: 25px;
  }
}

/*---------------------------------------------------------------------------------------
	news
----------------------------------------------------------------------------------------*/

.newswrap {
  overflow: hidden;
}
/* leftcol */
.newswrap .leftcol,
.newswrap .leftcol-detail {
  float: left;
  width: 70%;
  margin-bottom: 100px;
}
.newswrap .leftcol .news-title {
  font-size: 28px;
  text-align: left;
  border-bottom: 3px solid #fff;
  margin-bottom: 30px;
}
.newswrap .leftcol article {
  clear: both;
  text-align: left;
  margin-bottom: 30px;
  overflow: hidden;
}
.newswrap .leftcol article a {
  display: block;
}
.newswrap .leftcol article figure {
  float: left;
  width: 43%;
  max-width: 300px;
  margin-right: 5%;
}
.newswrap .leftcol article figure img,
.newswrap .leftcol-detail figure img {
  width: 100%;
  height: auto;
}
.newswrap .leftcol article div,
.newswrap .leftcol div.cate {
  clear: both;
  overflow: hidden;
}
.newswrap .leftcol div.cate {
  margin-bottom: 20px;
}
.newswrap .leftcol article div ul,
.newswrap .leftcol div.cate ul {
  float: right;
}
.newswrap .leftcol article div ul li,
.newswrap .leftcol div.cate ul li {
  float: left;
  margin-left: 10px;
}
.newswrap .leftcol article div ul li span,
.newswrap .leftcol div.cate ul li span {
  color: #000;
  font-size: 12px;
  background: #fff;
  display: inline-block;
  padding: 1px 10px 0;
  margin: 0;
  border-radius: 3px;
}
.newswrap .leftcol article div p,
.newswrap .leftcol div.cate p {
  float: left;
}
.newswrap .leftcol article div .date,
.newswrap .leftcol-detail .date {
  float: right;
  margin-bottom: 5px;
}
.newswrap .leftcol article div,
.newswrap .leftcol-detail h3 {
  clear: both;
  text-align: left;
  padding-bottom: 5px;
  border-bottom: 1px dashed #fff;
  margin-bottom: 10px;
}
.newswrap .leftcol article h3 {
  font-weight: normal;
}
.newswrap .leftcol article h3 a {
  text-decoration: underline;
}
/* aside */
.newswrap aside {
  float: right;
  width: 26%;
  text-align: left;
  margin-bottom: 40px;
}
.newswrap aside dl {
  margin-bottom: 10px;
}
.newswrap aside dl dt {
  color: #000;
  line-height: 1.3;
  padding: 15px 20px;
  background: #f2f2f2;
  margin-bottom: 15px;
}
.newswrap aside dl dd ul li {
  line-height: 1.3;
  padding: 0 0 10px 30px;
  position: relative;
}
.newswrap aside dl dd ul li:before {
  content: "・";
  display: inline-block;
  position: absolute;
  left: 10px;
  top: 0;
}
.newswrap aside dl dd ul li a:hover {
  text-decoration: underline;
}
/* leftcol-detail */
.newswrap .leftcol-detail {
  float: left;
  width: 70%;
  padding-top: 40px;
  margin-bottom: 100px;
}
.newswrap .leftcol-detail article {
  text-align: left;
  margin-bottom: 60px;
}
.newswrap .leftcol-detail h3 {
  margin-bottom: 30px;
}
.newswrap .leftcol-detail figure {
  margin-bottom: 30px;
}
.newswrap .leftcol-detail .news-nav {
  clear: both;
}
.newswrap .leftcol-detail .news-nav li.prev {
  float: left;
  width: 45%;
  text-align: left;
  margin-bottom: 40px;
}
.newswrap .leftcol-detail .news-nav li.prev a:before {
  content: "<< ";
}
.newswrap .leftcol-detail .news-nav li.next {
  float: right;
  width: 45%;
  text-align: right;
  margin-bottom: 40px;
}
.newswrap .leftcol-detail .news-nav li.next a:after {
  content: " >>";
}
.newswrap .leftcol-detail .news-nav li.back a {
  clear: both;
  display: block;
  color: #000;
  font-size: 20px;
  line-height: 1.3;
  padding: 10px;
  border: 1px solid #000;
}
.newswrap .leftcol-detail .news-nav li.back a:before {
  display: inline-block;
  content: "";
  width: 14px;
  height: 22px;
  background: url(https://syojyoin.jp/wp-content/themes/pattern3/common/images/icon-arrows2.png);
  transform: scale(-1, 1);
  margin-right: 30px;
  margin-bottom: 3px;
  vertical-align: middle;
}
.newswrap .leftcol-detail .news-nav li.back a:hover {
  background: #f3ea1f;
}
/* pager */
ol.pager {
  clear: both;
  text-align: center;
}
ol.pager li {
  display: inline-block;
  width: 2em;
  font-size: 20px;
  font-weight: bold;
  margin: 0 5px 10px;
}
ol.pager li.active {
  color: #000;
  line-height: 2;
  background: #fff;
}
ol.pager li a {
  color: #000;
  display: block;
  line-height: 2;
  background: #999;
}
ol.pager li a:hover {
  opacity: 0.6;
}
ol.pager li.prev a,
ol.pager li.next a {
  color: #fff;
  background: #000;
}
/*------------------------------ sp size ------------------------------*/
@media screen and (max-width: 768px) {
  /* leftcol */
  .newswrap .leftcol {
    float: none;
    width: auto;
    padding-top: 20px;
    margin-bottom: 50px;
  }
  .newswrap .leftcol .news-title {
    font-size: 20px;
    border-bottom: 2px solid #fff;
    margin-bottom: 15px;
  }
  .newswrap .leftcol article {
    margin-bottom: 30px;
  }
  .newswrap aside {
    float: none;
    width: auto;
    padding-top: 0;
    text-align: left;
    margin-bottom: 40px;
  }
  /* leftcol-detail */
  .newswrap .leftcol-detail {
    float: none;
    width: auto;
    padding-top: 20px;
    margin-bottom: 50px;
  }
  .newswrap .leftcol-detail article {
    margin-bottom: 30px;
  }
  .newswrap .leftcol-detail .news-nav li.back a:before {
    width: 10px;
    height: 16px;
    background: url(https://syojyoin.jp/wp-content/themes/pattern3/common/images/icon-arrows2.png);
    background-size: 10px auto;
    margin-right: 10px;
  }
}
@media screen and (max-width: 400px) {
  /* leftcol */
  .newswrap .leftcol article figure {
    width: 35%;
    margin-bottom: 15px;
  }
  .newswrap .leftcol article div {
    overflow: hidden;
  }
  /* leftcol-detail */
  .newswrap .leftcol-detail .news-nav li.prev,
  .newswrap .leftcol-detail .news-nav li.next {
    float: none;
    width: auto;
    margin-bottom: 10px;
  }
  .newswrap .leftcol-detail .news-nav li.back a {
    font-size: 16px;
    padding: 5px;
  }
}

/*---------------------------------------------------------------------------------------
	contact-cont
----------------------------------------------------------------------------------------*/

#contents .contact-cont table {
  width: 100%;
  border-top: 1px solid #ccc;
  border-left: none;
  margin-bottom: 40px;
}
#contents .contact-cont table th,
#contents .contact-cont table td {
  padding: 5px 10px;
  border-bottom: 1px solid #ccc;
  border-right: none;
  vertical-align: top;
}
#contents .contact-cont table th {
  position: relative;
  width: 20%;
  padding-right: 35px;
}
#contents .contact-cont table th span {
  color: #f33;
  font-size: 85%;
  font-weight: bold;
  position: absolute;
  top: 7px;
  right: 5px;
}
#contents .contact-cont table td {
  padding-left: 20px;
}
#contents .contact-cont table td input[type="text"],
#contents .contact-cont table td input[type="email"],
#contents .contact-cont table td textarea {
  font-size: 112%;
  width: 100%;
  padding: 5px;
  box-sizing: border-box;
}
#contents .contact-cont table td textarea {
  font-size: 125%;
  height: 100px;
  vertical-align: bottom;
}
/*
#contents .contact-cont table td .bgdefault{
	background: #FDE5E5;
}
*/
#contents .contact-cont table td .bgchange {
  background: #fff;
}
#contents .contact-cont table td label {
  display: inline-block;
  margin-right: 10px;
  cursor: pointer;
}
#contents .contact-cont table td label input[type="radio"],
#contents .contact-cont table td label input[type="checkbox"] {
  vertical-align: middle;
  padding: 5px;
  margin: 5px 5px 8px 0;
}
#contents .contact-cont input[type="button"],
#contents .contact-cont button {
  font-size: 112%;
  padding: 10px 50px;
  border: none;
  border-radius: 0;
  background: #ddd;
  cursor: pointer;
}
#contents .contact-cont input[type="button"]:hover,
#contents .contact-cont button:hover {
  opacity: 0.6;
}
/*------------------------------ sp size ------------------------------*/
@media screen and (max-width: 768px) {
  #contents .contact-cont table {
    margin-bottom: 20px;
  }
  #contents .contact-cont table th,
  #contents .contact-cont table td {
    display: block;
    padding: 5px 0;
  }
  #contents .contact-cont table th {
    border-bottom: none;
    padding-bottom: 0;
    width: 100%;
  }
  #contents .contact-cont table th span {
    position: static;
    margin-left: 10px;
  }
}

/*---------------------------------------------------------------------------------------
	footer
----------------------------------------------------------------------------------------*/

footer {
  clear: both;
}
footer #fnav {
  max-width: 980px;
  margin: 0 auto;
  padding: 65px 0 60px;
  background: #000;
}
footer #fnav div {
  display: inline-block;
  max-width: 785px;
  width: 100%;
  font-size: 14px;
  text-align: left;
  line-height: 1.6;
  vertical-align: top;
  border-right: 1px solid #474747;
  overflow: hidden;
}
footer #fnav div.sns-none {
  border-right: none;
  max-width: 100%;
}
footer #fnav div ul {
  overflow: hidden;
}
footer #fnav div ul li {
  float: left;
  width: 20%;
}
footer #fnav div ul li a {
  font-weight: bold;
  display: block;
  padding: 0 5px 5px 0;
}
footer #fnav div dl {
  float: left;
  width: 25%;
}
footer #fnav div dl dt {
  font-weight: bold;
}
footer #fnav p {
  display: inline-block;
  width: 150px;
  font-size: 12px;
  vertical-align: top;
}
footer #fnav p a {
}
footer #fnav p img {
  vertical-align: middle;
  margin-left: 10px;
}
footer #copy {
  clear: both;
  color: #fff;
  font-size: 12px;
  line-height: 40px;
  background: #ef4136;
}
/*------------------------------ sp size ------------------------------*/
@media screen and (max-width: 768px) {
  footer #fnav {
    padding: 8% 0 30px;
  }
  footer #fnav div {
    display: block;
    width: auto;
    font-size: 3.5vw;
    text-align: center;
    line-height: 1.6;
    vertical-align: top;
    border-right: none;
    overflow: hidden;
  }
  footer #fnav div dl,
  footer #fnav div ul li {
    float: none;
    width: auto;
    line-height: 2.2;
  }
  footer #fnav div dl dd {
    display: none;
  }
  footer #fnav p {
    display: block;
    width: auto;
    font-size: 3.5vw;
    vertical-align: top;
    padding-top: 3%;
  }
  footer #fnav p img {
    width: 7%;
    height: auto;
    vertical-align: middle;
    margin-left: 10px;
  }
  footer #copy {
    font-size: 3vw;
    line-height: 1;
    padding: 2.5%;
  }
}
