/*
Template:ystandard
Theme Name:ystandard-child
Theme URI: https://wp-ystandard.com
Author: yosiakatsuki
Author URI: https://yosiakatsuki.net
Description:「自分色に染めた、自分だけのサイトを作る楽しさ」を感じてもらうために作った一風変わったWordPressテーマ「ystandard」の子テーマ
Version: 4.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
body {
font-size: 13px;
}
.archive__thumbnail {
    display: none !important;
}

/* 画像が消えた後のレイアウト（余白など）を調整する場合 */
.archive__thumbnail {
    display: block; /* 必要に応じて調整してください */
}
.wp-custom-header{
    display:block;
    width:100%;
    height:390px;
    z-index:1;
    margin:-5px 0 0 0;
    background:url(images/bg_index.JPG) no-repeat center center;
    background-size: cover;
}
.wp-custom-header img {
    max-width:800px;
    padding: 27px 0 0 0;
}
h3.singular-header__title.entry-title {
display: block;
  width: 100%;
  height: 140px;
  z-index: 1;
  margin: -5px 0 0 0;
  background: url(images/bg_h3_contents.png) no-repeat center center;
  border-bottom: #a7a7a7 solid 1px;
}
h3.singular-header__title.entry-title span{
display: block;
  width: 820px;
  line-height: 140px;
  height: 140px;
  overflow: hidden;
  font-size: 24px;
  text-align: left;
  margin: 0 auto;
}
h4 {
  display: block;
  width: 100%;
  font-size: 24px;
  margin: 0;
  padding: 0;
  text-align: center;
  margin: 10px 0 45px 0 !important;
}
.top40px {
  margin-top: 40px !important;
}
h4::before {
  content: url(images/bg_h4_before.png);
  margin-right: 10px;
  vertical-align: 5px;
}

h4::after {
  content: url(images/bg_h4_after.png);
  margin-left: 10px;
  vertical-align: 5px;

}
.site-content {
margin-top: 0;
}
.portlet-borderless-container {
min-height: 2.5em;
  position: relative;
}
h1.portlet-title::before {
  content: url(images/home_info_h1_before.png);
  vertical-align: 5px;

  margin-right: 10px;
}
h1.portlet-title::after {
  content: url(images/home_info_h1_after.png);
  vertical-align: 5px;
  margin-left: 10px;
}
h1.portlet-title {
background: none;
  font-size: 20px;
  text-align: center;
  text-shadow: none;
  font-weight: bold;
  margin: 50px 0 0 0;
  padding: 0;
  color: #333;
display: block ruby;
}
p.memo {
  margin-top: 20px;
  font-size: 12px;
}
.topblock {
gap: 0;
}
h5 {
  background: url(images/bullet_green_line.png) no-repeat left;
  padding-left: 15px;
  font-size: 16px;
  line-height: 30px;
}
.page-id-48 h5 {
  background: none;
border-bottom: #ff7f00 double 3px;
  padding-bottom: 5px;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  margin-top: 15px;
}
.page-id-48 h5 img{
vertical-align: -2px;
  margin-right: 10px;
}
.page-id-48 .wp-block-group p.wp-block-paragraph {
margin-top: 0;
}
.wp-block-latest-posts__list { margin: 0; padding: 0; list-style: none; }
.wp-block-latest-posts__list li { margin-bottom: 10px;  padding-bottom: 5px; display: flex; align-items: center; border-bottom: 1px solid #ddd; }
.wp-block-latest-posts__post-date { margin-right: 10px; order: 1; white-space: nowrap; width: 9.5rem; }
.wp-block-latest-posts__post-title { order: 2; white-space: nowrap; flex-grow: 0; }
.archive__title a {
background: url(images/bullet_green_line.png) no-repeat left;
  margin: 0;
  padding: 0;
    padding-left: 0px;
  padding-left: 15px;
  font-size: 18px;
}
.product h5 {
  background: url(images/bullet_green_line.png) no-repeat left;
  margin: 0;
  padding: 0;
    padding-left: 0px;
  padding-left: 15px;
  font-size: 22px;
  line-height: 70px;
  clear: both;
}
.companyprofile th,.reqruittbl th {
white-space: nowrap;
}
.reqruittbl th {
text-align: center;
}
a.fortop {
  background: url(images/bullet_fortop.png) no-repeat right 3px;
}
a.fortop {
  display: block;
  width: 100%;
  text-align: right;
  padding-right: 15px;
  font-size: 14px;
  color: #3e9c22;
  margin: 10px 0 30px 0;
}

.portlet-journal-content .journal-content-article::after {
  clear: both;
  content: "";
  display: block;
  height: 0;
}
a {
  text-decoration: none;
}
.companybusiness li {
  list-style: none;
  line-height: 180%;
  background: url(images/bullet_green_square.png) no-repeat left;
  padding-left: 20px;
}
.footer-main {
background: linear-gradient(0deg,#080808 0,#080808 35px,#979797 35px,#979797 100%);
padding-top: 0;
padding-bottom: 0;
}
.copyright {
color: #fff;
  text-align: right;
  font-size: .9em;
line-height: 35px;
}
.footer-nav__menu li a:hover {
  color:#ff7f00;
}
.information .entry-title a {
  background: url(images/bullet_green_line.png) no-repeat left;
  margin: 0;
  padding: 0;
    padding-left: 0px;
  padding-left: 15px;
  font-size: 18px;
  clear: both;
}
.single-post h1.header-title {
  background: url(images/bullet_green_line.png) no-repeat left;
  padding-left: 15px;
}
.taglib-header {
  border-bottom: 1px solid #C8C9CA;
  color: #555;
  margin-bottom: 1em;
}
.taglib-header .header-back-to a {
  float: right;
  font-weight: bold;
  padding: .2em;
  text-decoration: none;
color: #333;
}
.taglib-header h1 {
margin-top: 0;
}
.faq_topics li {
  list-style: none;
  color: #ff7f00;
  font-size: 14px;
  margin-bottom: 5px;
  font-weight: bold;
}
.faq_topics li a,.wp-block-latest-posts__list li a {
  color: #333;
  font-weight: normal;
}
.faq_topics li a:hover,.wp-block-latest-posts__list li a:hover {
  color:#ff7f00;
}
.page-id-158 p.wp-block-paragraph a {
color: #ff7f00;
}
.page-id-158 p.wp-block-paragraph a:hover {
color: #F30;
}
.wp-block-latest-posts__post-date {
width: 8rem;
  color: #439e2e;
  font-weight: bold;
font-size: 13px;
}
.site-main.information .entry-date {
color: #999;
}
.separator {
  border-color: #BFBFBF transparent #FFF;
  border-style: solid;
  border-width: 1px 0;
margin-bottom: 15px;
  margin-top: 15px;
}
.companyhistory table,.companyhistory table tr td,.companyhistory table tr th,.companyprofile table,.companyprofile table tr td,.companyprofile table tr th {
border: none;
}
.companyhistory table tr th {
background: #e0e0e0;
  width: 4em;
  text-align: center;
  font-weight: normal;
}
.companyprofile table tr th {
  text-align: left;
  width: 7.5em;
  background: #e5e5e5;
  border-bottom: #fff solid 1px;
}
.companyprofile table tr td {
background: #f7f7f7;
  border-bottom: #bfbfbf solid 1px;
}
.companyhistory table tr td {
  border-bottom: #bfbfbf solid 1px;
}
.companyhistory table tr td:nth-child(2) {
background: #f5f5f5;
  width: 9em;
  vertical-align: top;
}
.companybusiness {
  background: #f5f5f5;
}
.contact_main_tel {
font-size: 18px;
  border-right: #ccc dotted 1px;
  padding-right: 20px;
  float: left;
  width: 300px;
}
.contact_main_tel .tel {
  font-size: 1.4em;
}
.contact_main_tel .tel span {
  font-size: 1.2em;
  font-weight: bold;
  margin-left: 5px;
  color: #ff7f00;
}
.contact_sub_tel h5 {
  background: none;
  padding: 0;
  font-size: 16px;
  line-height: 30px;
  font-weight: bold;
margin-top: 0;
}
.footer-main > * {
  margin-top: 2em;
}
@media (min-width: 769px) {
.sub_nav {
  display: block;
  width: 950px;
  height: 50px;
  padding-left: 60px;
  width: 100%;
  background: #ff7f00;
  background: -prefix-linear-gradient(left top,#ff9600,#ff7f00);
  background: linear-gradient(100deg,#ff9600,#ff7f00);
}
.clearfix {
  min-height: 1px;
}
.sub_nav ul.subnavlist li {
  display: inline;
  line-height: 50px;
  margin-right: 60px;
}
.sub_nav ul.subnavlist li a {
  color: #fff;
text-decoration: none;
}
.companybusiness {
  padding: 55px 80px;
  font-size: 16px;
  width: 80%;
  margin: 0 auto 40px auto;
}
.faq_topics {
  width: 550px;
  margin: 0 auto;
}
.global-nav__menu > .menu-item {
margin-left: 0;
}
.footer-nav__menu li {
display: inline;
  background: url(images/bullet_gray.png) no-repeat left 2px;
  padding: 0 0 0 15px !important;
  margin-left: 15px;
  font-size: .9em !important;
  margin-bottom: 0 !important;
  line-height: 1.3;
}
.footer-nav__menu {
justify-content: right;
}
.portlet-body p {
font-size: 16px;
  line-height: 160%;
}
body:not(.has-sidebar) .site-content {
  overflow: unset;
}
.site-header {
  position: static;
}
.page-id-40 .entry-content,.page-id-54 .entry-content,.page-id-158 .entry-content {
  margin-top: -16px;
}
    .page .site-content .container  {
	max-width: 950px;
margin: -10px auto 0 auto;
  background: #fff;
  border-top: #a7a7a7 solid 1px;
padding: 0;
    z-index: 9999;
    }
.category .container {
margin: -10px auto 0 auto;
    z-index: 9999;
}
    .single-post .site-content .container,.page-template-informaition .site-content .container {
margin-top: -10px;
  padding: 20px 10px;
  background-color: #fff;
}
.home .site-content .container {
margin: -20px auto 0 auto;
}
.home .site-content .container .content__wrap .content__main,.home .site-content .container {
background-color: transparent !important;
}
.home .site-content {
background: linear-gradient(180deg,rgba(255,255,255,0) 0,rgba(255,255,255,0) 20px,#fff 20px,#fff 295px,#f1f1f1 295px,#f1f1f1 100%);
}
    .content__main {
	max-width: 950px;
    }
    .site-header__content {
        display: block;
    }
    .global-nav {
	clear:both;
	background:url(images/bg_nav.png) repeat-x;
	width:950px;
	height:61px;
	padding:0;
	margin:20px auto 0 0;
	z-index:99;
	border-radius:0;
    }
    .global-nav ul {
	padding: 0;
	list-style: none;
	margin: 0;
    }
    .global-nav li {
	background: none;
	color: #484848;
	width: 158px;
	height: 61px;
	line-height: 61px;
	padding: 0;
	margin: 0 -4px 0 0;
	text-align: center;
	position: relative;
	vertical-align: top;
    }
    .global-nav li.current-menu-item a {
  background: url(images/bg_nav_active.png) repeat-x;
    }
    .global-nav li a:hover {
  background:url(images/bg_nav_hover.png) no-repeat center;
    }
    .container {
	width: 950px;
    }
    .global-nav__menu>.menu-item>a {
	color: #484848;
	text-shadow: none;
	font-size: 1.5em;
	font-weight: bold;
    }
}
@media screen and (max-width: 782px) {
body {
font-size: 16px;
}
.wp-block-columns.is-layout-flex.wp-container-core-columns-is-layout-01e692a8.wp-block-columns-is-layout-flex{
padding-right: 0 !important;
    padding-left: 0 !important;
}
h3.singular-header__title.entry-title {
height: auto;
min-height: 100px;
    }
h3.singular-header__title.entry-title span {
text-align: center;
    margin: auto;
    width: auto;
    height: auto;
}
.single-post h3.singular-header__title.entry-title span {
line-height: inherit;
        padding-top: 20px;
}
h4 {
display: inline-flex;
}
h1.portlet-title {
text-align: center !important;
}
.single-post h1.header-title {
font-size: 16px;
        font-weight: normal;
        padding-top: 1%;
}
    .wp-custom-header img {
	width: 85%;
    }
.copyright {
text-align: center;
    white-space: nowrap;
    font-size: 12px;
    }
.footer-main>* {
    margin-top: 0;
}
.global-nav,.global-nav__search .search-field {
background: linear-gradient(100deg,#ff9600,#ff7f00);
}
* {
box-sizing: border-box;
}
img {
    max-width: 100%;
}
.container {
    max-width: 100%;
}
}