@charset "UTF-8";
/* reset */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, textarea, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
}
body {
  line-height: 1.4;
  background: #fff;
  overflow-x: hidden;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
  content: none;
}
a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}
del {
  text-decoration: line-through;
}
abbr[title], dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
img {
  vertical-align: top;
}
img {
  vertical-align: middle;
  border-style: none;
}
.full {
  width: 100%;
  max-width: 100%;
  height: auto;
}
em {
  font-style: normal;
}

iframe{
	max-width:100%; 
	max-hight:100%;
}

body {
  color: #000;
}
.font10 {
  font-size: 77%;
}
.font11 {
  font-size: 85%;
}
.font12 {
  font-size: 93%;
}
.font13 {
  font-size: 100%;
}
.font14 {
  font-size: 108%;
}
.font15 {
  font-size: 116%;
}
.font16 {
  font-size: 123.1%;
}
.font17 {
  font-size: 131%;
}
.font18 {
  font-size: 138.5%;
}
.font19 {
  font-size: 146.5%;
}
.font20 {
  font-size: 153.9%;
}
.font21 {
  font-size: 161.6%;
}
.font22 {
  font-size: 167%;
}
.font23 {
  font-size: 174%;
}
.font24 {
  font-size: 182%;
}
.font25 {
  font-size: 192.3%;
}
.font26 {
  font-size: 197%;
}
.font30 {
  font-size: 227.3%;
}
.mt00 {
  margin-top: 0 !important;
}
.mt01 {
  margin-top: 1px !important;
}
.mt02 {
  margin-top: 2px !important;
}
.mt03 {
  margin-top: 3px !important;
}
.mt04 {
  margin-top: 4px !important;
}
.mt05 {
  margin-top: 5px !important;
}
.mt06 {
  margin-top: 6px !important;
}
.mt07 {
  margin-top: 7px !important;
}
.mt08 {
  margin-top: 8px !important;
}
.mt09 {
  margin-top: 9px !important;
}
.mt10 {
  margin-top: 10px !important;
}
.mt15 {
  margin-top: 15px !important;
}
.mt20 {
  margin-top: 20px !important;
}
.mt25 {
  margin-top: 25px !important;
}
.mt30 {
  margin-top: 20px !important;
}
.mt35 {
  margin-top: 35px !important;
}
.mt40 {
  margin-top: 40px !important;
}
.mt45 {
  margin-top: 45px !important;
}
.mt50 {
  margin-top: 50px !important;
}
.mr00 {
  margin-right: 0 !important;
}
.mr05 {
  margin-right: 5px !important;
}
.mr10 {
  margin-right: 10px !important;
}
.mr15 {
  margin-right: 15px !important;
}
.mr20 {
  margin-right: 20px !important;
}
.mr25 {
  margin-right: 25px !important;
}
.mr30 {
  margin-right: 20px !important;
}
.mr35 {
  margin-right: 35px !important;
}
.mr40 {
  margin-right: 40px !important;
}
.mr45 {
  margin-right: 45px !important;
}
.mr50 {
  margin-right: 50px !important;
}
.mb00 {
  margin-bottom: 0 !important;
}
.mb05 {
  margin-bottom: 5px !important;
}
.mb10 {
  margin-bottom: 10px !important;
}
.mb15 {
  margin-bottom: 15px !important;
}
.mb20 {
  margin-bottom: 20px !important;
}
.mb25 {
  margin-bottom: 25px !important;
}
.mb30 {
  margin-bottom: 20px !important;
}
.mb35 {
  margin-bottom: 35px !important;
}
.mb40 {
  margin-bottom: 40px !important;
}
.mb45 {
  margin-bottom: 45px !important;
}
.mb50 {
  margin-bottom: 50px !important;
}
.ml00 {
  margin-left: 0 !important;
}
.ml05 {
  margin-left: 5px !important;
}
.ml10 {
  margin-left: 10px !important;
}
.ml15 {
  margin-left: 15px !important;
}
.ml20 {
  margin-left: 20px !important;
}
.ml25 {
  margin-left: 25px !important;
}
.ml30 {
  margin-left: 20px !important;
}
.ml35 {
  margin-left: 35px !important;
}
.ml40 {
  margin-left: 40px !important;
}
.ml45 {
  margin-left: 45px !important;
}
.ml50 {
  margin-left: 50px !important;
}
.pt00 {
  padding-top: 0 !important;
}
.pt05 {
  padding-top: 5px !important;
}
.pt10 {
  padding-top: 10px !important;
}
.pt15 {
  padding-top: 15px !important;
}
.pt20 {
  padding-top: 20px !important;
}
.pt25 {
  padding-top: 25px !important;
}
.pt30 {
  padding-top: 20px !important;
}
.pt35 {
  padding-top: 35px !important;
}
.pt40 {
  padding-top: 40px !important;
}
.pt45 {
  padding-top: 45px !important;
}
.pt50 {
  padding-top: 50px !important;
}
.pr00 {
  padding-right: 0 !important;
}
.pr05 {
  padding-right: 5px !important;
}
.pr10 {
  padding-right: 10px !important;
}
.pr15 {
  padding-right: 15px !important;
}
.pr20 {
  padding-right: 20px !important;
}
.pr25 {
  padding-right: 25px !important;
}
.pr30 {
  padding-right: 20px !important;
}
.pr35 {
  padding-right: 35px !important;
}
.pr40 {
  padding-right: 40px !important;
}
.pr45 {
  padding-right: 45px !important;
}
.pr50 {
  padding-right: 50px !important;
}
.pb00 {
  padding-bottom: 0 !important;
}
.pb01 {
  padding-bottom: 1px !important;
}
.pb02 {
  padding-bottom: 2px !important;
}
.pb02 {
  padding-bottom: 3px !important;
}
.pb04 {
  padding-bottom: 4px !important;
}
.pb05 {
  padding-bottom: 5px !important;
}
.pb06 {
  padding-bottom: 6px !important;
}
.pb07 {
  padding-bottom: 7px !important;
}
.pb08 {
  padding-bottom: 8px !important;
}
.pb09 {
  padding-bottom: 9px !important;
}
.pb10 {
  padding-bottom: 10px !important;
}
.pb15 {
  padding-bottom: 15px !important;
}
.pb20 {
  padding-bottom: 20px !important;
}
.pb25 {
  padding-bottom: 25px !important;
}
.pb30 {
  padding-bottom: 20px !important;
}
.pb35 {
  padding-bottom: 35px !important;
}
.pb40 {
  padding-bottom: 40px !important;
}
.pb45 {
  padding-bottom: 45px !important;
}
.pb50 {
  padding-bottom: 50px !important;
}
.pl00 {
  padding-left: 0 !important;
}
.pl05 {
  padding-left: 5px !important;
}
.pl10 {
  padding-left: 10px !important;
}
.pl15 {
  padding-left: 15px !important;
}
.pl20 {
  padding-left: 20px !important;
}
.pl25 {
  padding-left: 25px !important;
}
.pl30 {
  padding-left: 20px !important;
}
.pl35 {
  padding-left: 35px !important;
}
.pl40 {
  padding-left: 40px !important;
}
.pl45 {
  padding-left: 45px !important;
}
.pl50 {
  padding-left: 50px !important;
}
.wd100 {
  width: 100% !important;
}
.wd90 {
  width: 90% !important;
}
.wd80 {
  width: 80% !important;
}
.wd70 {
  width: 70% !important;
}
.wd60 {
  width: 60% !important;
}
.wd50 {
  width: 50% !important;
}
.wd40 {
  width: 40% !important;
}
.wd30 {
  width: 30% !important;
}
.wd20 {
  width: 20% !important;
}
.wd10 {
  width: 10% !important;
}
.center {
  text-align: center;
}
.right {
  text-align: right;
}
.bold {
  font-weight: bold;
}
.cl {
  clear: left;
}
.cr {
  clear: right;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
.pr {
  text-align: center;
}
.pr-last {
  margin: 20px auto;
}

@media screen and (max-width: 767px) {
  .fl {
    float: none;
  }
  .fr {
    float: none;
  }


}
/*a, a:link, a:visited {
	color: #db2f2f;
	text-decoration: underline;
}*/
a:hover, a:focus, a:active {
  color: #db2f2f;
  text-decoration: none;
}
.gray-block {
  background: #fff;
  margin: 0;
  padding: 0 0 0 0;
  text-align: center;
}
.clearfix {
  clear: both;
}
@media screen and (min-width: 768px) {
  .vsp {
    display: none;
  }

  .vsp-inline {
    display: none;
  }
  .container {
    width: 1270px;
    margin: 0 auto;
  }
  .container img {}
  .clear {
    clear: both;
  }
  .attention {
    font-size: 85%;
    color: #d76a62 !important;
  }
  table thead th {
    background: #06b3b1;
    border: solid 1px #fff;
    font-weight: normal;
    padding: 0px 10px;
    color: #fff;
    text-align: center;
    font-size: 20px;
  }
  table tbody th {
    background: #daf8f8;
    color: #000;
    border: solid 1px #fff;
    padding: 0px 20px;
    font-weight: normal;
  }
  table.horizontal tbody th {
    background: #06b3b1;
    border: solid 1px #fff;
    font-weight: normal;
    padding: 8px 0;
    color: #fff;
    text-align: center;
    font-size: 20px;
  }
  table.schedule-table tbody tr td, table tbody tr.symbol td {
    background: #daf8f8;
    border: solid 1px #fff;
    color: #06b3b1;
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    padding: 3px 0;
  }
  table.schedule-table tbody th {
    font-size: 16px;
  }
  table tbody tr td {
    background: #daf8f8;
    border: solid 1px #fff;
    color: #646464;
    text-align: center;
    font-size: 100%;
    font-weight: normal;
  }
  table tbody tr td.left {
    text-align: left;
  }
}
@media screen and (max-width: 767px) {
  .vsp {
    display: inline;
  }
  .vpc {
    display: none;
  }
  #vpc {
    display: none;
  }
  .vsp-inline {
    display: inline;
  }
  .container {
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }
  .container img {
    width: 100%;
  }
  .table-wrapper {
    width: 100%;
    overflow: auto;
  }
  table {
    width: 100%;
  }
  table thead th {
    background: #06b3b1;
    border: solid 1px #fff;
    font-weight: normal;
    padding: 8px 0;
    color: #fff;
    text-align: center;
  }
  table tbody th {
    background: #daf8f8;
    color: #000;
    border: solid 1px #fff;
    padding: 15px 10px;
    font-weight: normal;
  }
  table.horizontal tbody th {
    background: #06b3b1;
    border: solid 1px #fff;
    font-weight: normal;
    padding: 8px 0;
    color: #fff;
    text-align: center;
  }
  table.schedule-table tbody tr td, table tbody tr.symbol td {
    background: #daf8f8;
    border: solid 1px #fff;
    text-align: center;
    padding: 15px 0px;
    font-size: 26px;
    font-weight: bold;
    color: #06b3b1;
  }
  table tbody tr td {
    background: #daf8f8;
    border: solid 1px #fff;
    color: #646464;
    text-align: center;
    padding: 15px 0px;
    font-size: 100%;
    font-weight: normal;
  }
  table tbody tr td.left {
    text-align: left;
    padding: 15px 8px;
  }
}
/** common **/
body {
  font: 14px/1.6 'Lucida Grande', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
  color: #4c4c4c;
}
@media screen and (min-width: 768px) {
  body {
    background: url("../img/new_bg.png") fixed right bottom no-repeat rgba(230, 235, 241, 1.00);
    background-size: 70%;
  }

  #body {
    position: relative;
  }
}

@media screen and (max-width: 767px) {
  #body {
    background: #eee;
    overflow-x: hidden;
  }
	
}

/** main **/
@media screen and (min-width: 768px) {
  #main {
    position: relative;
    z-index: 0;
    text-align: left;
    margin: 0 auto 60px auto;
  }
  body.home #main .container {
    position: relative;
  }
}
a {
  transition: 0.2s;
  opacity: 0.8;
}

a img{
  transition: 0.2s;
  opacity: 1;
}

a:hover img {
  filter: drop-shadow(0 5px 5px rgba(0, 0, 0, .2));
  transition: 0.2s;
  opacity: 1;
}
@media screen and (max-width: 767px) {
  #main {
    padding: 0;
    margin: 0 auto;
  }
  .subvisual img {
    position: relative;
    margin-top: 20px;
  }
}

#glt-translate-trigger {
  box-shadow: none;
  padding: 10px;
  border-radius: 15px;
  top: 10px;
  background-color: #bbb;
}

#glt-translate-trigger img {
 width: 25px;
 height: auto;
}


/** contents **/
#contents {
  width: 1270px;
  margin: 20px auto;
}
#contents h3 {
  font-weight: bold;
}
#contents h3.blue {
  color: #00bebd;
  font-weight: bold;
  font-size: 131%;
  margin-bottom: 15px;
}
#contents strong {
  font-weight: bold;
}
#contents em {
  color: #db2f2f;
}
#contents p {
  margin: 0 0 10px 0;
}
#contents ul.list {
  margin: 15px 0;
  list-style-type: disc;
  list-style-position: inside;
}
#contents ul.link {
  margin: 0 0 10px 0;
}
#contents ul.link li {
  background: url(../img/icon_arrow.png) no-repeat 0 50%;
  padding-left: 20px;
}
#contents ol li {
  position: relative;
  padding-left: 1.5em;
}
#contents ol li span {
  color: #00bebd;
  position: absolute;
  left: 0;
}

@media screen and (min-width: 768px) {
  #contents {
    line-height: 1.6;
  }
}
/** .contents-section **/
@media screen and (min-width: 768px) {
  .contents-section .image {
    float: right;
    padding: 0 0 0px 50px;
    text-align: center;
    font-size: 77%;
  }
  .contents-section .image img {
    margin-bottom: 15px;
  }
  .contents-section .content {
    width: 600px;
  }
}
@media screen and (max-width: 767px) {
  #contents {
    width: 100%;
    margin: 20px auto;
    text-align: center;
  }
}


.h2s {
  font-size: 0.5rem;
  background: #fff;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}
.h2l {
  font-size: 0.8rem;
  background: #fff;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.top-rightblock {
  display: inline-block;
  background: #fff;
  padding: 0;
  margin: 20px 0;
  float: right;
  width: 940px;
  height: 100%;
  text-align: center;
  border-radius: 20px;
}
.top-rightblock-pr {
  display: inline-block;
  background: none;
  padding: 0;
  margin: 0;
  float: right;
  width: 940px;
  height: 100%;
  text-align: center;
}

.top-rightblock-pr img{
  width: 100%;
}

.top-rightblock .section {
  width: 90%;
  padding: 20px;
  text-align: left;
  margin: 0 auto;
}
.top-rightblock .single-h2 {
  text-align: center;
}
.top-rightblock h2 {
  text-align: center;
  font-size: 20px;
  margin: 20px auto;
  position: relative;
  display: inline-block;
  padding: 0 55px;
}
.top-rightblock h2:before, .top-rightblock h2:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 45px;
  height: 1px;
  background-color: black;
}
.top-rightblock h2:before {
  left: 0;
}
.top-rightblock h2:after {
  right: 0;
}
.top-rightblock h3 {
  font-size: 16px;
  padding-top: 10px;
  margin-left: 30px;
  margin-bottom: 30px;
}
.top-rightblock h3:before {
  content: ''; /*何も入れない*/
  display: inline-block;
  width: 30px; /*画像の幅*/
  height: 30px; /*画像の高さ*/
  background-image: url("../img/icon_s.png");
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  position: relative;
  left: -15px;
}

.top-rightblock h3.h3_monthly:after {
	content: ''; /*何も入れない*/
  display: inline-block;
  width: 100px; /*画像の幅*/
  height: 30px; /*画像の高さ*/
  background-image: url("../img/icon_monthly.png");
	background-repeat: no-repeat;
	background-size: contain;
  vertical-align: middle;
	position: relative;
	left: 10px;
}


.top-rightblock .inner {
  margin-bottom: 20px;
}
.top-rightblock .inner_inquiry {
  margin: 20px auto;
  width: 70%;
  text-align: left;
  line-height: 30px;
}
.top-rightblock .inner_inquiry .notice {
  font-size: 12px;
  color: #EB262A;
  position: relative;
  bottom: 15px;
}

.top-rightblock .inner_inquiry input,
.top-rightblock .inner_inquiry textarea{
	border: solid 1px #D1D1D1;
}

.top-rightblock .inner_inquiry textarea{
	height: 100px;
}

.top-rightblock label {
  font-weight: 800;
}
.top-rightblock .form_title:before {
  content: '◇';
}
.top-rightblock .wpcf7-list-item-label {
  font-weight: 200;
}
.top-rightblock .wpcf7-list-item-label:before {
  content: ' ';
}
.top-rightblock .inner_inquiry p {
  padding-bottom: 10px;
}
@media screen and (max-width: 767px) {
  
  .top-rightblock {
    width: 90%;
    float: none;
    margin: 10px auto;
	background: #fff;
		 border-radius: 20px;
  }
  .top-rightblock-pr {
    width: 100%;
    float: none;
    margin: 10px auto;
  }
  
  .top-rightblock h3.h3_04 {
    left: 0px;
    top: 0px;
  }
  .top-rightblock h3.h3_04:after {
    content: url("../img/search_icon_h3.png");
    position: relative;
    left: -120px;
  }
  .top-rightblock h3.h3_06 {
    margin-bottom: 10px;
  }
  .top-rightblock h3.h3_05 {
    margin-bottom: 10px;
  }
  div.inner_inquiry {
    width: 90%;
    min-width: 90%;
  }
}
.wpcf7-form-control {
  width: 100%;
  border: none;
}
.wpcf7-submit, .search_button {
  display: block;
  width: 200px;
  height: 50px;
  margin: 0 auto;
  background: #888;
  color: #fff;
  font-weight: 500;
  border-radius: 15px;
  border: none;
}
.wpcf7-submit:hover, .search_button:hover {
  opacity: 0.8;
  filter: drop-shadow(0 5px 5px rgba(0, 0, 0, .2));
  transition: 0.2s;
}
.top-rightblock table {
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 20px;
  width: 100%;
}
.top-rightblock table th {
  display: inline-flex;
  background: #fff;
  padding: 0;
  margin: 10px;
  width: 160px;
  min-height: 90px;
  border-color: #fff;
  overflow: hidden;
  text-align: center;
}
.top-rightblock table img, .top-rightblock table video {
  height: auto;
  max-height: 90px;
  width: auto;
  max-width: 160px;
  margin: auto;
}
.top-rightblock table p {
  text-align: center;
  color: #333;
  width: 160px;
}
.top-rightblock table a {
  text-decoration: none;
}
.top-rightblock table th a {
  display: block;
  width: 100%;
  height: 160px;
}
.top-rightblock table a:hover p {
  color: #666;
}
.top-rightblock .top-more {
  display: block;
  position: relative;
  right: 50px;
  bottom: 20px;
  float: right;
  color: #888;
  text-decoration: none;
}
.top-rightblock .back_prev {
  display: block;
  position: relative;
  float: left;
  color: #888;
  text-decoration: none;
}
.top-rightblock .top-more:hover {
  color: #bbb;
}
.top-rightblock ul {
  margin-right: 20px;
}
.top-rightblock li {
  display: inline-block;
  float: right;
  margin: auto 5px;
}
.top-rightblock li a {
  color: #555;
  text-decoration: none;
}
.top-rightblock li a:hover {
  color: #888;
}
.top-rightblock a img:hover, .top-rightblock a video:hover {
  background: #888;
  border-radius: 15px;
}
.search-inner {
  margin-top: 20px;
}
@media screen and (max-width: 767px) {
  .top-rightblock table {
    border-spacing: 0px;
    text-align: center;
  }
  .top-rightblock table th {
    margin: 2px;
    max-width: 47%;
  }
  .top-rightblock table img, .top-rightblock table video {
    height: auto;
    max-height: 90px;
    width: auto;
    max-width: 100%;
    margin: auto;
    padding: 0;
  }
  .top-rightblock table p {
    text-align: center;
    color: #333;
    width: 100%;
    max-width: 100%;
  }
  .top-rightblock .top-more {
    right: 30px;
    bottom: 0;
  }
}
/*wp-pagenavi 05*/
.wp-pagenavi {
  clear: both;
  text-align: center;
}
.wp-pagenavi a, .wp-pagenavi span {
  color: #555;
  background-color: #fff;
  padding: 8px 15px;
  margin: 0 10px;
  white-space: nowrap;
  -moz-border-radius: 15px;
  -webkit-border-radius: 15px;
  border-radius: 15px;
  -webkit-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
  text-align: center;
  text-decoration: none;
  border: none;
}
.wp-pagenavi a:hover {
  color: #333;
  background-color: #bbb;
}
.wp-pagenavi span.current {
  color: #fff;
  background-color: #888;
  font-weight: bold;
}

.blog-wrapper {
  margin-top: 30px;
  text-align: left;
  background: #fff;
  padding: 20px;
}
.blog-content {
  margin-top: 30px;
}
.blog-content p {
  width: auto;
  margin-top: 30px;
  margin-bottom: 30px;
  line-height: 20px;
}
.blog-content a {
  color: #ffb3ed;
  text-decoration: none;
  width: auto;
  margin: 20px auto;
  opacity: 1;
}
.blog-content h3 {
  position: relative;
  padding: 1rem 0.5rem;
  border-bottom: 3px solid #ffb3ed;
  color: #555;
  width: auto;
  margin: 40px auto 30px auto;
}
.blog-content h3:before, .blog-content h3:after {
  position: absolute;
  content: '';
  left: 1em;
  width: 0;
  height: 0;
  border-width: 14px 12px 0;
  border-style: solid;
}
.blog-content h3:before {
  bottom: -14px;
  border-color: #ffb3ed transparent transparent;
}
.blog-content h3:after {
  bottom: -10px;
  border-color: #fff transparent transparent;
}
.blog-content h4 {
  position: relative;
  padding: 1rem 1.5rem;
  text-align: center;
  margin: 40px auto 20px auto;
}
.blog-content h4:before, .blog-content h4:after {
  content: '';
  width: 20px;
  height: 40px;
  position: absolute;
  display: inline-block;
}
.blog-content h4:before {
  border-left: solid 3px #ffb3ed;
  border-top: solid 3px #ffb3ed;
  top: 0;
  left: 0;
}
.blog-content h4:after {
  border-right: solid 3px #ffb3ed;
  border-bottom: solid 3px #ffb3ed;
  bottom: 0;
  right: 0;
}
.blog-content ul {
  clear: both;
  display: block;
  margin: 30px;
  padding: 30px;
  border: 1px solid #ffb3ed;
}
.blog-content ul li {
  clear: both;
  display: block;
  padding: 5px;
  float: none;
}
.blog-content a img {
  display: block;
	height: auto;
	max-width: 300px;
	margin: 20px auto;
	  border: solid 1px #bbb;
}

.blog-content .mov {
	text-align: center;
}
.blog-content h5 {
  margin-top: 30px;
  color: #009BFF;
}
.blog-date {
  text-align: right;
}
@media screen and (max-width: 767px) {
  
  .wp-pagenavi a, .wp-pagenavi span {
    padding: 5px 8px;
    margin: 0 3px;
  }
	.blog-content a img,
	.top-rightblock-pr,
	.adsbygoogle{
		max-width: 100%;
	}
	
}
/** single-main **/
.single-main {
  text-align: center;
  font-weight: 100;
  max-width: 100%;
  margin: 20px auto;
}
.single-main input {
  display: none;
}
.single-main .bg-change:hover {
  background: #888;
  transition: 0.2s;
}
.single-main img, .single-main video {
  display: block;
  width: auto;
  max-width: 100%;
  margin-bottom: 20px;
  margin: 0 auto;
  z-index: 999;
}
.single-main p {
  z-index: 999;
}
.single-main .notice {
  color: #888;
}



/** single-block **/
.single-block .side .inner {
  background: #fff;
  padding: 5px 15px;
}
.single-block .side h3 {
  color: #00bebd;
  font-weight: bold;
  margin: 15px 0;
  padding: 0 0 10px 0;
  background: url(../img/line_news.png) repeat-x 0 100%;
}
.single-block .side li {
  margin: 10px 0;
  padding: 0 0 10px 0;
  background: url(../img/line_news.png) repeat-x 0 100%;
}
.single-block .side li:last-child {
  background: none;
  padding: 0;
}
.single-block .side p.link {
  text-align: center;
  padding: 10px 0;
}
#contents .single-block .side a, #contents .single-block .side a:link, #contents .single-block .side a:visited {
  color: #686256;
  text-decoration: underline;
}
#contents .single-block .side a:hover, #contents .single-block .side a:focus, #contents .single-block .side a:active {
  text-decoration: none;
}
.single-block .content .inner {
  background: #fff;
  padding: 25px;
}
.single-block .content h3.title {
  color: #00bebd;
  font-weight: bold;
  font-size: 131%;
  margin-bottom: 10px;
}
.single-block .content h3.title span {
  margin-left: 10px;
}
.single-block .content .body {
  overflow: hidden;
}
#contents .single-block .content .body p {
  margin-bottom: 1em;
}
.single-main .paging-box {
  clear: both;
  display: block;
  text-align: center;
  margin: 10px auto;
}
.single-main .paging-box a {
  font-weight: 600;
  color: #555;
  text-decoration: none;
}
.paging_prev {
  display: inline-block;
  float: left;
  padding: 10px 8px;
  background: #E0EDEF;
  border-radius: 0 10px 10px 0;
  margin: auto 10px;
  min-width: 20%;
  margin-bottom: 20px;
}
.paging_next {
  display: inline-block;
  float: right;
  padding: 10px 8px;
  background: #E0EDEF;
  text-decoration: none;
  border-radius: 10px 0 0 10px;
  margin: auto 10px;
  min-width: 20%;
  margin-bottom: 20px;
}
.prev_arrow {
  float: left;
  content: url("../img/page_prev01.png");
  position: relative;
  left: 10px;
}
.next_arrow {
  float: right;
  content: url("../img/page_next01.png");
  position: relative;
  right: 10px;
}
.paging_prev a:hover, .paging_next a:hover {
  opacity: 0.3;
  transition: 0.2s;
}
@media screen and (min-width: 768px) {
  .single-block .side {
    float: right;
    width: 250px;
  }
  .single-block .content {
    width: 670px;
    float: left;
  }
}
@media screen and (max-width: 767px) {
  .next_arrow {
    clear: both;
  }
}
.policy-main {
  text-align: left;
  font-weight: 100;
  max-width: 100%;
  margin: 20px auto;
}
.policy-main a, .inquiry-a {
  color: #888;
  text-decoration: none;
}
.policy-main a:hover, .inquiry-a:hover {
  color: #bbb;
}
.policy_h2 {
  text-align: center;
}
h3.policy_h3 {
  margin: 60px auto 20px auto;
  padding-left: 0px;
}
.policy_h4 {
  margin: 30px auto 20px auto;
}
/** .form-block **/
@media screen and (min-width: 768px) {
  .form-block {
    margin: 80px 0;
  }
  .form-block .input-block {
    position: relative;
    padding-left: 400px;
    margin-bottom: 15px;
  }
  .form-block .input-block p.caption {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    text-align: right;
    font-weight: bold;
  }
  .form-block .input-block p.note {
    font-size: 85%;
  }
  .form-block .input-block p.error, .form-block .input-block p.notice {
    color: #fe0101;
  }
  .form-block input.text-s {
    width: 50px;
  }
  .form-block input.text-m {
    width: 220px;
  }
  .form-block input.text-l {
    width: 360px;
  }
  .form-block .input-block textarea {
    border: solid 1px #999;
    width: 360px;
    height: 120px;
  }
  .form-block .button {
    text-align: center;
    margin: 20px 0 0 0;
  }
  .form-block .button .ajax-loader {
    display: block;
    margin: 5px auto;
  }
  .form-block .button input.send {
    width: 300px;
    height: 65px;
    border: none;
    background: url(../img/button_send.png) no-repeat;
    cursor: pointer;
  }
  .form-block .button input.confirm {
    width: 300px;
    height: 65px;
    border: none;
    background: url(../img/button_confirm.png) no-repeat;
    cursor: pointer;
  }
  .form-block .inner .caption-after {
    margin-right: 20px;
  }
  .form-block.thanks {
    text-align: center;
  }
  .wpcf7c-conf {
    background-color: #fff !important;
    color: black !important;
    border: solid 1px #ddd !important;
  }
  div.wpcf7-validation-errors {
    color: #fe0101;
  }
  div.wpcf7-response-output {
    border: none !important;
    text-align: center !important;
    margin: 20px 0 0 0 !important;
    padding: 0 !important;
  }
  #contents .form-block p.form-note {
    margin: 10px 0;
    padding: 0 200px;
  }
}
#pagetop {
  position: fixed;
  right: 200px;
  bottom: 200px;
  margin: 0;
  z-index: 999;
}
#pagetop img {
  width: 50px;
  height: 50px;
}
#pagetop a:hover {
  opacity: 0.7;
}
@media screen and (max-width:767px) {
  #pagetop {
    right: 30px;
    bottom: 120px;
  }
}
@media screen and (max-width: 767px) {}
#gallery {
  background-color: #ddd;
  overflow: hidden;
  width: 100%;
  height: 440px;
  vertical-align: middle;
  margin-bottom: 10px;
}
#gallery img {
  position: absolute;
  height: auto;
  max-height: 100%;
  width: auto;
  max-width: 100%;
  margin: auto;
  vertical-align: middle;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
#thumbs {
  display: flex;
  overflow: hidden;
  height: 100px;
  width: auto;
  padding: 5px auto;
  vertical-align: middle;
}
#thumbs img {
  position: absolute;
  height: auto;
  max-height: 90%;
  width: auto;
  max-width: 90%;
  margin: auto;
  vertical-align: middle;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
#gallery-slide1, #gallery-slide2, #gallery-slide3 {
  background-color: #fff;
  position: relative;
}
.shiyourei {
  z-index: 1000;
  color: #fff;
  padding: 10px;
  background: rgba(88, 88, 88, 0.00);
  border-radius: 15px;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  filter: drop-shadow(0px 8px 7px rgba(0, 0, 0, 0.7));
}
#thumbs-slide1, #thumbs-slide2, #thumbs-slide3 {
  background-color: #a5a5a5;
}
#thumbs .swiper-slide {
  opacity: 0.6;
}
@media screen and (max-width: 767px) {
  #gallery {
    height: 300px;
  }
}
ins.adsbygoogle {
  max-width: 100%;
  background: transparent !important;
}

	
.telop_01 {
  text-align: center;
margin: 20px auto;
  padding: 20px;
  background: #888;
  color: #fff;
  max-width: 1200px;
  width: 90%;
  border-radius: 25px;
}
.telop_01 a {
  color: #A0F4FF;
}
.ribbon16-wrapper {
  /* display: block;*/
  position: relative;
  margin: 15px auto;
  /*  padding: 0px 0;*/
  /*  width: 300px;*/
  /*  box-sizing: border-box;*/
}
.ribbon16 {
  display: inline-block;
  position: absolute;
  top: -5px;
  left: 10px;
  margin: 0;
  padding: 5px 0 3px;
  z-index: 2;
  width: 40px;
  text-align: center;
  color: #fff;
  font-size: 13px;
  background: linear-gradient(180deg, rgba(247, 93, 139, 1), rgba(251, 167, 96, 1));
  border-radius: 2px 0 0 0;
  line-height: 14px;
}
.ribbon16:before {
  position: absolute;
  content: '';
  top: 0;
  left: -4px;
  border: none;
  border-bottom: solid 6px #AB2B63;
  border-left: solid 5px transparent;
}
.ribbon16:after {
  content: '';
  position: absolute;
  left: 0;
  top: 100%;
  height: 0;
  width: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 10px solid rgba(251, 167, 96, 1);
}
.ribbon1 {
  display: inline-block;
  position: absolute;
  top: -5px;
  left: 10px;
  margin: 0;
  padding: 8px 0 3px;
  z-index: 2;
  width: 40px;
  text-align: center;
  color: #fff;
  font-size: 13px;
  background: linear-gradient(0deg, rgba(115, 227, 248, 1), rgba(150, 167, 241, 1));
  border-radius: 2px 0 0 0;
  line-height: 14px;
}
.ribbon1:before {
  position: absolute;
  content: '';
  top: 0;
  left: -4px;
  border: none;
  border-bottom: solid 6px rgba(51, 76, 188, 1);
  border-left: solid 5px transparent;
}
.ribbon1:after {
  content: '';
  position: absolute;
  left: 0;
  top: 100%;
  height: 0;
  width: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 10px solid rgba(115, 227, 248, 1);
}
#zettaivpc {
  display: inline-flex;
}
#zettaivsp {
  display: none;
}
@media screen and (max-width: 767px) {
  #zettaivpc {
    display: none;
  }
  #zettaivsp {
    display: inline-flex;
  }
  .ribbon16:before, .ribbon1:before {
    content: none;
  }
}
	

.ggl-r {
  border: solid #bbb 1px;
  margin-top: 20px;
}
@media screen and (max-width: 767px) {
  .ggl-r, .adsbygoogle {
    width: 90%;
    margin: auto;
  }
}

 /* ポップアップのスタイル */
        .popup {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 400px;
            padding: 40px;
            background: rgba(0, 0, 0, 0.8);
            color: #fff;
            border-radius: 50px;
            box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.8);
            z-index: 100;
            text-align: center;
			font-weight: 300;
        }
        .popup .popup_img {
            width: 160px;
            border-radius: 100px;
        }
        .popup .popup_big_img {
            width: 300px;
        }
        .popup h2 {
            margin: 20px auto;
            font-size: 20px;
        }
        .popup p {
            font-size: 14px;
            line-height: 2;
			margin: 16px auto;
        }
.popup p a{
	opacity: 1;
}
.popup .notice{
	color: #DB7475;
	font-size: 12px;
}
        .popup .close {
            position: absolute;
            top: 30px;
            right: 30px;
            font-size: 40px;
			color: #fff;
            cursor: pointer;
            background: none;
            border: none;
        }
.popup li{
	display: inline-block;
	width: 50px;
	height: auto;
	margin: 0px 15px 15px 15px;
}

.popup li img{
	max-width: 100%;
}


        /* 背景のオーバーレイ */
        .overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 99;
        }



@media screen and (max-width: 767px) {
   
    /* ポップアップのスタイル */
    .popup {
        width: 80%;
        max-width: 300px;
        padding: 30px;
        border-radius: 30px;
        font-size: 14px;
    }

    .popup .popup_img {
        width: 120px;
        border-radius: 100px;
    }

    .popup h2 {
        font-size: 18px;
    }

    .popup p {
        font-size: 14px;
        line-height: 1.8;
    }

    .popup .close {
        top: 20px;
        right: 20px;
        font-size: 30px;
    }

    .popup li {
        width: 40px;
        margin: 10px;
    }

    /* 背景のオーバーレイ */
    .overlay {
        background: rgba(0, 0, 0, 0.4);
    }
}

.a8h{
  position: relative;
  top: 20px;
}

.a8{
  position: relative;
  top: 10px;
}

.a8h a,
.a8 a{
  opacity: 1;
}

.random img{
  margin: 20px auto;
}

@media screen and (max-width: 768px) {

  .vpc{
    margin: 0;
    height: 0;
  }

.random img{
  margin-bottom: -10px;
}

}

@media screen and (max-width: 768px) {
  .wp-pagenavi a.page:nth-child(5),
  .wp-pagenavi a.page:nth-child(6) {
    display: none;
  }
}


.overlay-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  padding: 3rem;
  background-color: rgba(0,0,0,0.4); /* ちょっと暗くして文字読みやすく */
  border-radius: 12px;
  max-width: 80%;
  margin: 0 auto;
}

.no-scroll {
  overflow: hidden;
  height: 100vh;
}


.codoc-entries{
word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* 共通ページ上書きcss */

.factory-subpage {
  padding: 40px 0 80px;
}

.factory-subpage__contents {
  width: min(1100px, calc(100% - 32px)) !important;
  margin: 0 auto !important;
}

.factory-subpage .top-rightblock,
.factory-subpage .top-rightblock-pr,
.factory-subpage .top-leftblock,
.factory-subpage .side-wrapper {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.factory-subpage .side-wrapper,
.factory-subpage #menu,
.factory-subpage #header .search_box {
  display: none !important;
}

.factory-subpage .top-rightblock {
  background: rgba(255,255,255,0.92);
  border-radius: 24px;
  padding: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.factory-subpage .top-rightblock .section {
  width: auto;
  padding: 40px 32px;
}

.factory-subpage .single-h2 h2,
.factory-subpage .top-rightblock h2 {
  font-size: 28px;
  padding: 0;
}

.factory-subpage .top-rightblock h2:before,
.factory-subpage .top-rightblock h2:after {
  display: none;
}

/* ======================================
   Factory sub header / footer
====================================== */

body.factory-subpage-body {
  background:
    linear-gradient(180deg, #f4f7f5 0%, #edf3ef 100%);
  color: #1f2b28;
}

.factory-sub-header__top {
  position: relative;
  z-index: 100;
}

.factory-sub-header {
  position: relative;
  color: #fff;
  background: #243631;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  height: 200px;
}

.factory-sub-header__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 9), rgba(18, 28, 25, 0.05)),
    url("/wp-content/themes/theme/img/hf_bg.webp") center 18% / cover no-repeat;
  transform: scale(1.04);
  filter: saturate(0.9);
}

.factory-sub-header__inner {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 36px;
}

.factory-sub-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.factory-sub-logo {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  color: #444;
  text-decoration: none;
}

.factory-sub-logo__main {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.factory-sub-logo__sub {
  font-size: 12px;
  letter-spacing: 0.14em;
  opacity: 0.78;
}

.factory-sub-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color:#444;
}

.factory-sub-nav a {
  color:#444;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.05em;
  opacity: 0.92;
}

.factory-sub-nav a:hover {
  opacity: 1;
}

.factory-sub-menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  padding: 10px;
  cursor: pointer;
  background:rgba(243, 244, 246, 0.849);
  color:#444;
}

.factory-sub-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: #444;
  margin: 5px 0;
}

.factory-sub-header__hero {
  padding-top: 46px;
  padding-bottom: 6px;
}

.factory-sub-header__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #9fe4c3;
}

.factory-sub-header__title {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
  font-weight: 700;
}

.factory-sub-header__lead {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
}

.factory-subpage {
  position: relative;
  z-index: 1;
  padding: 32px 0 0;
}

.factory-subpage .top-rightblock {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(116, 145, 132, 0.18);
  box-shadow: 0 18px 40px rgba(31, 46, 41, 0.08);
}

.factory-subpage .single-h2 h2,
.factory-subpage .top-rightblock h2 {
  color: #243631;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.factory-subpage .blog-content,
.factory-subpage .inner_inquiry {
  color: #26322f;
}

.factory-sub-footer {
  background:#f3f4f6;
  color:#444;
  padding: 28px 0 34px;
  border-top: 1px solid rgba(0,0,0,.12);
}

.factory-sub-footer__inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.factory-sub-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 14px;
}

.factory-sub-footer__nav a {
  color:#444;
  text-decoration: none;
  font-size: 14px;
}

.factory-sub-footer__copy {
  margin: 0;
  font-size: 12px;
  opacity: 0.75;
}

@media (max-width: 860px) {
  
  .factory-sub-menu-btn {
    display: inline-block;
  }

  .factory-sub-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(280px, 90vw);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background:rgba(243, 244, 246, 0.849);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.22);
  }

  .factory-sub-nav.is-open {
    display: flex;
  }

  .factory-sub-nav a {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .factory-sub-nav a:last-child {
    border-bottom: none;
  }

  .factory-sub-header__hero {
    padding-top: 34px;
  }

  .factory-sub-header__inner {
    padding-bottom: 28px;
  }

  .factory-sub-footer {
    margin-top: 30px;
  }

  .factory-subpage {
    padding-top: 24px;
  }

  #contents.factory-subpage__contents {
    padding-top: 30px;
  }

  .factory-subpage .top-rightblock .section {
    padding: 28px 20px;
  }
  
}

/* =========================
   Factory Sub レスポンシブ修正
   いちばん下に追記
========================= */

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body.factory-subpage-body {
  min-width: 0 !important;
}

#main.factory-subpage {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 24px !important;
  padding: 0;
}

#contents.factory-subpage__contents,
.factory-subpage__contents,
#contents {
  width: min(1100px, calc(100% - 32px)) !important;
  max-width: 100% !important;
  margin: 20px auto 0 !important;
  box-sizing: border-box;
}

.factory-subpage {
  padding: 24px 0 32px !important;
}

.factory-subpage .top-rightblock,
.factory-subpage .top-rightblock-pr,
.factory-subpage .top-leftblock,
.factory-subpage .side-wrapper,
.factory-subpage .single-main,
.factory-subpage .section,
.factory-subpage .inner,
 {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box;
}

.factory-subpage img,
.factory-subpage video,
.factory-subpage iframe,
.factory-subpage table,
.factory-subpage textarea,
.factory-subpage input,
.factory-subpage select {
  max-width: 100%;
  box-sizing: border-box;
}

.factory-subpage table {
  display: block;
  overflow-x: auto;
}

.factory-sub-footer {
  margin-top: 16px !important;
  padding: 20px 0 24px !important;
}

.factory-sub-footer__inner {
  width: min(1100px, calc(100% - 32px)) !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

@media screen and (max-width: 767px) {
  #contents.factory-subpage__contents,
  .factory-subpage__contents,
  #contents {
    width: calc(100% - 24px) !important;
    margin: 16px auto 0 !important;
  }

  .factory-subpage {
    padding: 16px 0 24px !important;
  }

  .factory-subpage .top-rightblock .section,
  .factory-subpage .single-main .section,
  .factory-subpage .policy-main,
  .factory-subpage .inner,
  .factory-subpage .inner_inquiry {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .factory-sub-footer {
    margin-top: 12px !important;
    padding: 18px 0 20px !important;
  }

  .factory-sub-footer__nav {
    gap: 8px 14px;
  }
}