@charset "utf-8";

.fa-envelope:before{content:"\f0e0"}
.fa-phone-volume:before{content:"\f2a0"}

/* For modern browsers */

.cf:before,
.cf:after {
  content: "";
  display: table;
}

.cf:after {
  clear: both;
}

::selection {
  background: #666;
  color: white;
}

/* For IE 6/7 (trigger hasLayout) */

.cf {
  zoom: 1;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px,1px,1px,1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  overflow: hidden;
  padding: 0;
  position: absolute;
  height: 1px;
  width: 1px;
  word-wrap: normal!important;
}
.screen-reader-text:focus {
  background-color: #eee;
  border-radius: 2px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  color: #666;
  display: block;
  font-size: 0.875rem;
  font-weight: bold;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  clip: auto!important;
  -webkit-clip-path: none;
  clip-path: none;
  top: 5px;
  height: auto;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#main[tabindex="-1"]:focus {
  outline: 0;
}

/* tags */
html, body {
/*  font: 100% "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Osaka", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", Arial, Helvetica, sans-serif; */
  font: 100% "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", Arial, Helvetica, sans-serif;
  font-size: 1.4vw;
  -webkit-text-size-adjust: 100%;
  font-display: swap;
}
@media screen and (max-width: 945px) {
  html, body {
    font-size: 2.2vw;
  }
}
@media screen and (max-width: 680px) {
  html, body {
    font-size: 3.2vw;
  }
}
@media screen and (max-width: 480px) {
  html, body {
    font-size: 3.6vw;
  }
}
body {
  margin: 0px;
  padding: 0px;
  color: #000;
}

a {
  color: #000;
  text-decoration: none;
  word-break: break-all;
}
p a {
  text-decoration: underline;
}
a:hover {
  color: #e00;
  text-decoration: none;
}
a:hover p {
  color: #000;
  text-decoration: none;
}

a[href^="http"]::after,
a[href^="//"]::after {
  margin: 0 0 0 3px;
  font-family: "Font Awesome 5 Free", sans-serif;
  content: "\f35d";
  font-style: normal;
  font-weight: 900;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}
a.noext::after,
a[href*="rectus"]::after {
  margin: inherit;
  font-family: inherit;
  display: none;
  font-weight: inherit;
}
.c picture {
  display: block;
}
img {
  border: none;
  margin: 0px;
  padding: 0px;
  vertical-align: bottom;
  max-width: 100%;
  height: auto;
}

h1,h2,h3,h4,h5,h6,p,ul,ol,dl,dt,dd,div,img {
  margin: 0px;
  padding: 0px;
  list-style: none;
  font-weight: normal;
}
ol {
  list-style-type: decimal;
}
dl {
  margin: 6px 4px;
}
dt {
  font-weight: bold;
  margin: 4px;
}
dd {
  margin: 4px 0 4px 1rem;
}
code {
  padding: 0px 10px;
  display: block;
  font-family: Consolas;
}
pre {
  margin: 30px 0;
}
@media screen and (max-width: 945px) {
  body {
/*    font-size: 0.9rem; */
  }
  a:hover {
    color: inherit;
  }

}
blockquote {
  background: beige;
  padding: 0px 14px;
}
a.disabled {
  pointer-events: none;
  display: inline-block;
}
.breadcrumb a.disabled {
  text-decoration: none;
}
.c {
  text-align: center;
}
.fc {
  display: flex;
  justify-content: center;
}
.r {
  text-align: right;
}
.l {
  text-align: left;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
.ma {
  margin: 0 auto;
}
.ma05 {
  margin: 0;
}
.b {
  font-weight: bold;
}
.fs24px {
  font-size: 1.5rem;
}
/* common */
.w40p {
  width: 40%;
}
.w70p {
  width: 70%;
}
.w418 {
  width: 418px;
}
.w560 {
  width: 560px;
}
.w640 {
  width: 640px;
}
.w338 {
  width: 338px;
}
.w800 {
  width: 800px;
}
@media screen and (max-width: 790px) {
  .w800, .w640, .w560, w338, .w70p, .w40p {
    width: 98%;
  }
}
a.tool {
  display: block;
  font-size: 1.25rem;
  background-color: #eee;
  padding: 1em;
}
#main {
  padding-top: 1px;
  margin-top: -1px;
}
.inner1 {
  max-width: 1200px;
  margin: 0 auto;
}

.inner2 {
  max-width: 1060px;
  margin: 0 auto;
}

.inner3 {
  max-width: 874px;
  margin: 0 auto;
}
.inner4 {
  max-width: 640px;
  margin: 0 auto;
}
.marker1 {
  background: linear-gradient(transparent 30%, #ffabab 100%);
}

.marker2 {
  background: linear-gradient(transparent 30%, #ffed53 100%);
}
.parentcolumn {
  overflow: hidden;
}

.floatleft240 {
  float: left;
  max-width: 27%;
  min-width: 10%;
}
.resizeimage a img {
  width: 100%;
}
.marginleft256 {
  margin-left: 33%;
}
@media screen and (max-width: 1240px) {
  .inner1 {
    margin: 0 20px;
  }
}

@media screen and (max-width: 1100px) {
  .inner2 {
    margin: 0 20px;
  }
}

@media screen and (max-width: 1050px) {
  .inner3 {
    margin: 0 36px;
  }
}
@media screen and (max-width: 790px) {
  .inner3 {
    margin: 0 16px;
  }
}
@media screen and (max-width: 945px) {
  .floatleft240 {
    max-width: 96%;
    float: initial;
  }
  .marginleft256 {
    margin-left: auto;
    width: 96%;
  }
}
.red {
  color: red;
}
.redafter::after {
  color: red;
}
/* new */
.new::after {
  content: "new";　/* 文字 */
  font-size: 70%; /* 大きさ */
  font-weight: bold; /* 太字 */
  display: inline-block;
  position: relative; /* 位置 */
  top: -12px;
}
.blinkfadeout::after {
  opacity: 0; /* 見えない状態 */
  animation: flash 0.3s 15 linear;
}
@keyframes flash {
  50% { /* 動作の中心 */
    opacity: 1; /* 見える状態 */
  }
}
/* title */
.title {
  background: #ededed url(/images/home4back2.jpg.webp) no-repeat left top;
  height: 160px;
  margin-top: 130px;
  text-align: center;
}
.title h1 {
  line-height: 160px;
  height: 160px;
  font-weight: bold;
  /* font-size: 30px; */
  font-size: 2.4vw;
}
@media screen and (max-width: 928px) {
  .title {
    width: 100%;
    margin-top: 60px;
    display: table;
  }
}
@media screen and (max-width: 680px) {
  .title h1 {
    font-size: 5vw;
    line-height: 1.2;
    vertical-align: middle;
    display: table-cell;
    text-align: left;
    padding: 0 18px;
  }
}
@media screen and (max-width: 928px) and (max-height: 600px) {
  .title {
    background: #ededed url(/images/home4back2.jpg.webp) no-repeat left -80px top;
    background-size: 280px auto;
    height: 100px;
    position: relative;
  }
  .title h1 {
    line-height: 24px;
    height: 30px;
    font-size: 1.2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 90%;
  }
}

/* history */
.history {
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 12px 0;
}
@media screen and (max-width: 928px) and (max-height: 600px) {
  .history {
    font-size: 0.84rem;
  }
}
@media screen and (max-width: 480px) {
  .history {
    font-size: 0.8rem;
  }
}
.history ~ div.r {
  margin: 16px 0 10px;
}
/* breadcrumb */
.history ol.breadcrumb {
  padding: 0;
  margin: 0;
  list-style: none;
}
ol.breadcrumb li {
  display: inline-block;
  list-style: none;
}
ol.breadcrumb li a span,
ol.breadcrumb li span {
  padding: 2px 6px;
}
ol.breadcrumb li a span {
  font-size: 1rem;
}

ol.breadcrumb li:after {
  content: '>';
}
ol.breadcrumb li:last-child:after {
  content: none;
}

/* contents */

.contents1 {
  margin-top: 50px;
  margin-bottom: 60px;
}
.contents1 .c {
  margin: 30px auto;
}
.contents2 {
  background: #ededed url(/images/home2back2.jpg.webp) no-repeat right -200px top;
  padding: 60px 0px;
}
.contents1 h2,
.contents2 h2 {
  text-align: center;
  font-weight: bold;
  font-size: 1.25rem;
  line-height: 1.2;
  margin: 50px 0px 40px;
  padding: 0px;
}

.contents2 h2 {
  margin-top: 0px;
}

.contents1 h3 {
  font-weight: bold;
  line-height: 1.2;
  font-size: 1.2rem;
}
.contents1 h3::before {
  content: "";
  display: block;
  padding-top: 24px;
  border-top: 1px solid #000;
  margin-left: -30px;
}
.contents1 h3::after {
  content: "";
  display: block;
  padding-bottom: 24px;
  border-bottom: 1px solid #000;
  margin-left: -30px;
}

.contents1 h4 {
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1.2;
  display: inline-flex;
  align-items: center; /* 垂直中心 */
}
.contents1 h4::before {
  content: "";
  border-top: 1px solid;
  width: 4em;
  margin-right: 16px;
  margin-top: 40px;
  margin-bottom: 40px;
}
.contents1 h5 {
  font-weight: bold;
  font-size: 1.05rem;
  margin: 10px 0px 30px;
  padding: 6px 20px;
}
.contents1 h5::before {
  content: "";
  display: block;
}
.contents1 h6 {
  line-height: 2;
  font-weight: bold;
  padding: 24px 20px;
}

.contents1 a {
  text-decoration: underline;
}
.blogcard > a {
  text-decoration: none;
}
.contents1 p {
  line-height: 2.4;
  margin-top: 20px;
  margin-bottom: 30px;
}
.contents1 p.p1 {
  text-align: center;
  line-height: 2;
}

.contents1 ol,
.contents1 ul {
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 0 30px;
}

.contents1 ul li {
  line-height: 1.4;
  padding: 8px 8px 8px 25px;
  margin: 4px;
  background: url(/images/point1.png) no-repeat left 1rem;
}
.contents1 ol li {
  line-height: 1.4;
  padding-left: 8px;
  margin: 4px 0px;
}
.contents1 .history ol li {
  margin: 0;
}

/* 検索結果の記事一覧に連番で番号を振る */
.listRank {
  list-style: none;
  margin: 10px 10px 10px 200px;
}
.contents1 ol.listRank,
.contents1 ul.listRank {
  padding: 0 0 0 30px;
}

.listRank li {
  padding: 0.5rem 0.3rem;
  display: flex;
  clear: both;
  transition: all 0.3s 0s ease;
}
.listRank li:hover {
  background-color: #CCC;
}
.listRank li:before {
  counter-increment: number;
  content: counter(number)  ". ";
}
.listRank li .excerpt {
  background-color: #EEE;
  padding: 10px;
  margin-right: 10px;
  word-break: break-all;
}
.listRank .thumb {
  float: left;
  margin-right: 30px;
  margin-left: -230px;
  width: 200px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.listRank .summary {
  width: 100%;
  margin-left: 10px;
}
.listRank .summary a.url {
  color: #1a0dab;
}
.thumb img {
  width: auto;
  height: 100%;
  max-height: 150px;
  object-fit: contain;
  transition: all 0.6s 0.1s ease;
}
.thumb img:hover {
  transform: scale(1.2);
  opacity: 0.9;
}
@media screen and (max-width: 928px) {
  .thumb img {
    max-height: 200px;
    object-fit: contain;
    transition: all 0.6s 0.1s ease;
  }
  .listRank {
    margin: 10px;
  }
  .contents1 ol.listRank, .contents1 ul.listRank {
    padding: 4px;
  }
  .contents1 ol li {
    padding: 4px;
  }
  .listRank li {
    display: inline-block;
    padding: 0.3rem;
  }
  .listRank .summary {
    width: 96%;
    margin: 4px auto;
    
  }
  .listRank .thumb {
    display: inline-block;
    float: inherit;
    margin: 0;
    width: 100%;
    height: inherit;
    text-align: center;
  }
  .listRank li .excerpt {
    margin: 0;
  }
}
@media screen and (max-width: 928px) {
  .contents1 {
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .contents2 {
    background: #ededed url(/images/home2back2.jpg.webp) no-repeat right -150px top;
    background-size: 380px auto;
    padding: 30px 0px;
  }
  .contents1 h2,
  .contents2 h2 {
    font-size: 1.25rem;
    line-height: 1.5;
    margin: 30px 0px;
  }
  .contents1 h3 {
    padding: 12px 10px;
    line-height: 1.5;
    margin: 40px 0px 30px;
    font-size: 1.2rem;
  }

  .contents1 h4 {
    font-size: 1rem;
    line-height: 1.5;
  }
  .contents1 h4::before {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .contents1 h5 {
    font-size: 1rem;
    line-height: 1.5;
    padding: 0 10px;
  }
  .contents1 h6 {
    font-size: 0.9rem;
    line-height: 1.8;
  }
  .contents1 p {
    line-height: 1.8;
/*    padding-bottom: 16px; */
  }
  .contents1 ul {
    margin-bottom: 30px;
    padding: 10px 4px;
  }
  .contents1 ul.companylist {
    margin-bottom: 20px;
    padding-left: 0px;
  }

  .contents1 ul li {
    line-height: 1.4;
    padding: 8px 8px 8px 16px;
    margin: 4px;
    background: url(/images/point1.png) no-repeat left;
    background-size: auto 2px;
  }

  .listRank li:before {
    counter-increment: number;
    content: counter(number)  ". ";
    margin-left: 0;
  }
}

/* table1 */
.table1 {
  width: 100%;
  border-collapse: collapse;
}

.table1 th,
.table1 td {
  padding: 18px 30px;
  font-size: 1rem;
  line-height: 2;
  vertical-align: top;
}
.table1 tr:nth-child(odd) th,
.table1 tr:nth-child(odd) td {
  background: #fff;
}
.table1 th {
  width: 24%;
  font-weight: bold;
  text-align: left;
}

@media screen and (max-width: 928px) {
  .table1 th,
  .table1 td {
    padding: 20px;
    line-height: 1.8;
    vertical-align: middle;
    display: block;
  }
  .table1 tr:nth-child(odd) th,
  .table1 tr:nth-child(odd) td {
    background: transparent;
  }
  .table1 th,
  .table1 tr:nth-child(odd) th {
    width: auto;
    text-align: center;
    background: #fff;
    padding: 5px 20px;
  }
}

.comprow {
  border-collapse: collapse;
}
.comprow th {
  background-color: #FDD;
}
.comprow td, .comprow th {
  border: 1px solid #666;
  padding: 16px;
}

/* box */
.box {
  padding-left: 20px;
}
.rightbox, .leftbox {
  display: inline-block;
  vertical-align: middle;
}
.rightbox {
  width: 62%;
  padding: 0 30px;
}
.leftbox {
  width: 26%;
  text-align: right;
  margin: auto 0 auto auto;
}
.leftbox img {
  width: 100%;
}
@media screen and (max-width: 790px) {
  .box {
    padding: 0 10px;
  }
  .leftbox {
    margin: 0 auto;
    padding: 0 20px;
    width: 70%;
  }
  .leftbox img {
    text-align: center;
  }
  .rightbox {
    width: 90%;
    padding: 0 20px;
  }
}

.borderbox {
  padding: 0 30px;
  border: 3px solid #C00;
}

/* table3 */

.table3box {
  border: 1px solid #000;
  box-sizing: border-box;
  width: 73%;
  margin: 70px auto 0px;
  padding: 50px 70px;
}

.table3 {
  width: 100%;
  border-collapse: collapse;
}

.table3 th {
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  color: #fff;
  background: #b12a2a;
  padding: 5px;
  border-left: 20px solid #fff;
}

.table3 td {
  padding: 15px 20px;
  font-size: 1rem;
  line-height: 1.8;
  border-left: 20px solid #fff;
  text-align: center;
}

.table3 tr th:nth-child(1),
.table3 tr td:nth-child(1) {
  width: 30%;
  border-left: none;
}

.table3 tr:nth-child(odd) td {
  background: #f6e8e8;
}

@media screen and (max-width: 928px) {
  .table3box {
    width: auto;
    margin: 30px auto 0px;
    padding: 20px;
  }
  .table3 th {
    font-size: 0.84rem;
    border-left: 2px solid #fff;
  }

  .table3 td {
    padding: 10px;
    font-size: 0.84rem;
    line-height: 1.6;
    border-left: 2px solid #fff;
  }
}

/* home2 */
#home2 {
  background: #ededed url(/images/home2back2.jpg.webp) no-repeat right top;
  padding: 60px 0px 40px;
}

#home2 h2,
#home4 h2,
#contactbox h2 {
  font-weight: bold;
  text-align: center;
  margin-bottom: 50px;
}

#home2 h2 img,
#home4 h2 img,
#contactbox h2 img {
  border-bottom: 1px solid #000;
  padding-bottom: 20px;
}

#home2 li {
  display: block;
  background: #fff url(/images/home2back1.png) no-repeat left bottom;
  float: left;
  width: 45%;
  margin: 0px 16px 60px;
  box-sizing: border-box;
  padding: 25px 40px 40px;
}

#home2 li:nth-child(even) {
  float: right;
}

#home2 li:nth-child(3) {
  clear: both;
}

#home2 li img {
  display: block;
  margin: 0px auto 15px;
}

#home2 li div.stitle {
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
  font-size: 1.25rem;
  line-height: 1.2;
}

#home2 li p {
  line-height: 2;
}

.imglist li img {
  width: 300px;
  height: 200px;
}

/* @media screen and (min-width: 928px) and (min-height: 600px) { */
@media screen and (max-width: 1080px) {
  #home2 {
    padding: 30px 0px 5px;
    background: #ededed url(/images/home2back2.jpg) no-repeat right -300px top;
    background-size: 500px auto;
  }

  #home2 h2,
  #home4 h2,
  #contactbox h2 {
    text-align: center;
    margin-bottom: 30px;
  }
  #home2 h2 img,
  #home4 h2 img,
  #contactbox h2 img {
    width: auto;
    height: 18px;
  }
  #home2 li,
  #home2 li:nth-child(even) {
    float: none;
    width: auto;
    margin: 0px 0px 25px;
    padding: 20px;
  }
  #home2 li img {
    width: auto;
    height: 80px;
  }
  #home2 .imglist li img {
    height: 200px;
  }
  /*
    #home2 li h3 {
        margin-bottom: 15px;
        font-size: 1rem;
        line-height: 1.5;
    }
   */
  #home2 li p.h3 {
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.5;
  }

  #home2 li p {
    line-height: 1.8;
  }
}
@media screen and (max-width: 1050px) {
  #home2 .imglist li,
  #home2 .imglist li:nth-child(even) {
    float: none;
    width: auto;
    margin: 0px 0px 25px;
    padding: 20px;
  }
}

/* home4 */
#home4,
#contactbox {
  background: #ededed url(/images/home4back2.jpg.webp) no-repeat left top;
  padding: 60px 0px 40px;
}
#contactbox p.p1 {
  line-height: 2;
}

#home4 p {
  line-height: 2;
  margin-bottom: 40px;
  text-align: center;
}

#home4 ul {
  max-width: 820px;
  margin: 0px auto 40px;
}

#home4 li {
  width: 47%;
  box-sizing: border-box;
  float: left;
  height: 130px;
  text-align: center;
}

#home4 li:first-child {
  border: 1px solid #000;
  padding-top: 55px;
}

#home4 li:first-child i {
  font-size: 1.75rem;
  vertical-align: middle;
  margin: -4px 5px 0px 0px;
}

#home4 li:first-child img {
  vertical-align: middle;
}

#home4 li:first-child p {
  font-size: 0.9rem;
  margin: 8px 0px 0px;
}

#home4 li:last-child {
  float: right;
}

#home4 li:last-child i {
  margin-right: 8px;
}

#home4 li:last-child a {
  display: block;
  background: #fff url(/images/home4back1.png) no-repeat left top;
  height: 130px;
  line-height: 130px;
  font-size: 1.2rem;
  font-weight: bold;
}

@media screen and (min-width: 945px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}

@media screen and (max-width: 928px) {
  #home4,
  #contactbox {
    padding: 30px 0px 5px;
    background: #ededed url(/images/home4back2.jpg) no-repeat left -190px top;
    background-size: 400px auto;
  }
  #home4 p {
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: left;
  }

  #home4 ul {
    margin: 0px auto 20px;
  }
  #home4 li,
  #home4 li:last-child {
    width: auto;
    float: none;
    height: 67px;
  }
  #home4 li:first-child {
    padding-top: 20px;
    margin-bottom: 20px;
  }
  #home4 li:first-child i {
    font-size: 1.32rem;
    vertical-align: middle;
    margin: -4px 5px 0px 0px;
  }
  #home4 li:first-child a:hover i {
    color: #000;
  }

  #home4 li:first-child img {
    vertical-align: middle;
    width: auto;
    height: 20px;
  }

  #home4 li:first-child p {
    font-size: 0.8rem;
    text-align: center;
  }
  #home4 li:last-child i {
    margin-right: 5px;
  }

  #home4 li:last-child a {
    background: #fff url(/images/home4back1.png) no-repeat left top;
    background-size: 50px auto;
    height: 67px;
    line-height: 67px;
    font-size: 1rem;
  }
}

/* work */
.contents1 ul.companylist li {
  vertical-align: top;
  background: #fff;
  background-image: none;
  display: inline-block;
  width: 90%;
  padding: 10px;
  margin: 15px;
  border: 1px solid #FFF;
}
.contents1 ul.companylist li a {
  text-decoration: none;
}
.contents1 ul.companylist li:hover {
  background-color: #EEE;
  border: 1px solid #CCC;
}
.companyimg {
  vertical-align: top;
  display: inline-block;
  width: 34%;
}
.companyintro {
  vertical-align: middle;
  display: inline-block;
  width: 60%;
  padding: 10px;
}
@media screen and (max-width: 928px) {
  .companyimg,
  .companyintro {
    width: 90%;
  }
  contents1 ul.companylist {
    width: 100%;
  }
}

/* footernavi */

#footernavi {
  margin: 30px 0px;
}

#footernavi li {
  line-height: 1.6;
  font-size: 0.9rem;
}

#footernavi > ul > li {
  float: left;
  box-sizing: border-box;
  border-left: 1px solid #000;
  padding: 20px 20px 0px 25px;
  background: url(/images/line2.png) no-repeat left top;
}

#footernavi > ul > li:nth-child(1) {
  width: 20%;
}

#footernavi > ul > li:nth-child(2) {
  width: 22%;
}

#footernavi > ul > li:nth-child(3) {
  width: 22%;
}

#footernavi > ul > li:nth-child(4) {
  width: 22%;
}

#footernavi > ul > li:nth-child(5) {
  width: 14%;
}

#footernavi li ul {
  list-style: disc outside;
  margin: 0px 0px 0px 18px;
}

#footernavi li li {
  margin-top: 10px;
}

#footernavi div {
  margin-bottom: 10px;
}

@media screen and (max-width: 928px) {
  #footernavi {
    display: none;
  }
}

/* footer */
#footer {
  background: #000;
  padding: 40px 0px;
  text-align: center;
}

#footer p {
  color: #fff;
  font-size: 0.8rem;
  line-height: 1.2;
}

#pageknowhowbook {
  position: fixed;
  z-index: 100;
  bottom: 76px;
  font-weight: bold;
  font-size: 1.2rem;
  right: 10px;
  padding: 14px 12px;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-lr;
  background-color: #FF9933;
  border-radius: 24px;
  opacity: 0.7;
}
#closebtn {
  font-weight: bold;
  cursor: pointer;
  cursor: hand;
  display: block;
  position: absolute;
  top: 6px;
  right: 6px;
}
#closebtn span {
  display: block;
  width: 22px;
  height: 22px;
  background-color: #333;
}
#closebtn span span {
  display: block;
  overflow: hidden;
  width: 1px;
  height: 1px;
}
#closebtn span span::before,
#closebtn span::after {
  position: absolute;
  left: 2px;
  content:"";
  width: 18px;
  height: 2px;
  background-color: #FFF;
  transition: .2s;
}
#closebtn span span::before {
  top:10px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}
#closebtn span::after {
  bottom:10px;
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}
#popup-closebtn {
  position: fixed;
}
#popup-closebtn:checked ~ #pagedownload2,
#popup-closebtn:checked ~ #pagedownload,
#popup-closebtn:checked {
  display: none;
}
#pagedownload, #pagedownload2 {
  position: fixed;
  z-index: 100;
  bottom: 76px;
  font-weight: bold;
  font-size: 1rem;
  right: 10px;
  padding: 4px 6px;
/*  height: 170px; */
  background-color: #FF9933;
  border-radius: 10px;
  opacity: 0.8;
  text-align: center;
}
#pagedownload div {
  margin: 2px;
}
#popup {
  width: 200px;
}
#pagecontact {
  position: fixed;
  bottom: 70px;
  right: 10px;
  width: 52px;
  height: 52px;
}
#pagedownload2 a, #pagedownload a, #pageknowhowbook a, #pagecontact a {
  color: white;
  opacity: 1;
  text-decoration: none;
/*  transition: 1.5s; */
}
#knowhowbook a {
  color: greenyellow;
}
#pagedownload2:hover, #pagedownload:hover, #pageknowhowbook:hover, #pagecontact:hover,
#pagedownload2 a:hover, #pagedownload a:hover, #pageknowhowbook a:hover, #pagecontact a:hover {
  opacity: 1;
  transition: 1.5s;
}

#pagetop {
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 52px;
  height: 52px;
}

#pagetop a img {
  opacity: 1;
  transition: 1.5s;
}

#pagetop a:hover img {
  opacity: 0.5;
  transition: 1.5s;
}

@media screen and (max-width: 928px) {
  #footer {
    padding: 30px 0px;
  }
  #footer p {
    font-size: 0.7rem;
  }
  #pagecontact,
  #pagetop {
    width: 40px;
    height: 40px;
    opacity: 0.4;
  }
  #pagecontact a img,
  #pagetop a img {
    width: 40px;
    height: 40px;
  }
  #pageknowhowbook {
    display: none !important;
  }
}

/* special */
span.anchor{
  display: block;
  padding-top: 40px;
  margin-top: -90px;
}
h2.anchor {
  display: block;
  padding-top: 110px;
  margin-top: -85px;
}
h3.anchor {
  padding: 70px 0 10px 30px ;
  margin-top: -60px;
  margin-bottom: 10px;
}
h4.anchor {
  padding-top: 58px;
  margin-top: -65px;
}
@media screen and (max-width: 928px) {
  h4.anchor {
    margin-top: -80px;
  }
}
h5.anchor {
  display: block;
  padding-top: 81px;
  margin-top: -107px;
}
@media screen and (max-width: 928px) {
  h5.anchor {
    margin-top: -85px;
  }
}
h5.anchor::before {
  margin-bottom: 20px;
}
h6.anchor {
  display: block;
  padding-top: 90px;
  margin-top: -70px;
}
.bookreview {
  background-color: #EEEEEE;
  padding: 20px 30px;
}
.bookreview a {
  text-decoration: none;
}
.sample .swiper {
  display: block;
  border: none;
  margin: 0;
  box-sizing: border-box;
  height: 260px;
  width: 1px;
  min-width: 100%;
}

#topnews {
  position: absolute;
  font-weight: bold;
  top: 16px;
  right: 16px;
  z-index: 10;
}
#topnews a {
  color: #F00;
}
#topnews a:hover {
  color: #C77;
}
.fixed #topnews {
  display: none;
}
@media screen and (max-width: 928px) and (max-height: 600px) {
  #topnews {
    top: 20px;
    right: 76px;
  }
}
@media screen and (max-width: 780px) {
  #topnews {
    display: none;
  }
}
.logo {
  vertical-align: middle;
}
.floatlogo {
  float: left;
  max-width: 13%;
  min-width: 5%;
}
.floatlogo p {
  margin-top: 40px
}
.marginlogo {
  margin-left: 15%;
}
#toc_content,
#toc_container {
  margin-top: 1em;
}

.borderblack {
  border: black solid 1px;
}
.sampledesign {
  text-align: center;
  padding: 20px;
  border: solid 1px black;
}
.pad40px {
  padding: 40px;
}
/* タグクラウド */
.tagcloud {
  padding: 10px 20px;
  background: #f4ffff;
}
.tagcloud a {
  padding: 4px;
  margin: 4px 0;
  word-break: unset;
  display: inline-block;
}
/* TOC+ */
.toc {
  width: auto;
  display: table;
  margin: 20px 0;
  padding: 0px;
  color: #333;
  word-break: break-all;
  word-wrap: break-word;
  border: #ccc solid 1px;
  border-radius: 3px;
  background-color: #fafafa;
}
.toc .toc-title {
  margin: 0;
  padding: 0;
  text-align: center;
  font-weight: bold;
}
.toc .toc-toggle {
  font-weight: normal;
  font-size: 90%;
}
.toc ul, .toc ul li {
  background: 0 0;
  list-style-type: none;
  list-style: none;
  margin: 0;
  padding: 0;
}
.toc .toc-list {
  margin: 0;
  padding: 0;
}
.toc ul ul {
  margin-left: 0.6rem;
}
.toc a {
  text-decoration: none;
  text-shadow: none;
  padding: 14px;
  font-size: 1rem;
  line-height: 1.3;
}
.toc ul li {
  margin: 18px;
}
.rectusenq_bt_send button {
  background: #b12a2a;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  padding: 22px 0px;
  text-align: center;
  width: 320px;
  font-weight: bold;
  display: inline-block;
  cursor: pointer;
}

#searchform button {
  background: #8B4623;
  color: #fff;
  padding: 3px 6px;
  display: inline-block;
  cursor: pointer;
  border: none;
}
#searchform input {
  width: 140px;
  padding: 4px;
}
.nav-links {
  padding: 4px;
  text-align: center;
}
.nav-links span,
.nav-links a {
  padding: 6px 10px;
  background: #a6f9b070;
  margin: 4px;
  text-decoration: none;
}
.nav-links a:hover {
  background: #ffbec16b;
}
.nav-links span.current {
  background: #84cb8dd6;
}
.FAQPage {
  border: black 1px dotted;
  padding: 6px;
  margin: 8px 0;
}
.FAQPage .Q:before {
  content: "Q.";
}
.FAQPage .A:before {
  content: "A.";
  color: red;
}
.FAQPage .Q:before, .FAQPage .A:before {
  font-size: 1.25rem;
  padding: 4px 6px;
  margin-right: 6px;
  margin-left: -34px;
}
.FAQPage .A, .FAQPage .Q {
  padding: 4px 2px;
  margin-left: 34px;
}
.FAQPage .Q {
  background-color: #FEE;
}
.the_tag {
  margin: 30px 0px;
}
.nodeco a {
  text-decoration: none;
}
@page {
  size: A4;
  margin: 10mm 14mm 10mm 14mm;
}
@media screen {
  .print {
    display: none;
  }
}
@media print {
  #main {
    padding: 10px 0 2px 0;
  }
  .menu-tel {
    padding: 3px 8px;
    font-size: 14px;
  }
  #pagecontact, #pagetop, #contactbox, #footernavi, #searchform, #Smallchat, .history, .toc, .inquiry, .tagcloud, .noprint {
    display: none;
  }
  .contents {
    margin: 0 6px;
  }
  .contents1 {
    margin-top: 40px;
  }
  .contents1 a {
    text-decoration: none;
  }
  .contents1 h2 {
    line-height: 1.2;
  }
  .contents1 ul {
    margin: 16px 4px 8px 4px;
    padding: 0;
  }
  .contents1 p {
    margin: 16px 4px 12px;
  }
  .contents1 .c {
    margin: 10px auto;
  }
  .title {
    height: 130px;
  }
  .title h1 {
    margin-top: 20px;
    line-height: 130px;
    height: 130px;
    font-size: 25px;
  }
  h2.anchor {
    padding-top: 0;
    margin-top: 0;
  }
  h3 {
    margin-left: 20px;
  }
  h3.anchor {
    margin-top: 0;
    padding: 0 20px
  }
  .contents1 h3::before {
    margin-left: -10px;
  }
  .contents1 h3::after {
    margin-left: -10px;
  }
 #footer {
    background: #FFF;
    padding: 10px 0px;
  }
  #footer p {
    color: #000;
  }
  .pagebreak {
    break-after: page;
  }
}
.the_tag a {
  position: relative;
  display: inline-block;
  padding: 4px 6px 4px 24px;
  margin: 4px;
  color: #333;
  background: #BEF;
  text-decoration: none;
}
.the_tag a:hover {
  background: #9CF;
}
.the_tag a:before {
  position: absolute;
  margin: 0 0 0 30px;
  top: calc(50% - 5px);
  left: -22px;
  width: 10px;
  height: 10px;
  content: '';
  border-radius: 50%;
  background: #FFF;
}
