@charset "utf-8";

/*
Theme Name: habakiri-wps
Theme URI: https://apract.co.jp/
Author: aPRact, Inc
Author URI: https://apract.co.jp/
Version: 1.0.0
License: GNU General Public License
Template: habakiri
*/
.single .sub-page-contents {
    background-color: #fff; /* 背景色を白に設定 */
    padding-top: calc(2vw + 100px);
}

.container-fluid {
    background-color: #fff; /* コンテナの背景色を白に設定 */
}
.header--transparency .global-nav .menu {
    margin-right: 20px;
}
/*スマホメニュー幅*/
/*
.off-canvas-nav-right.off-canvas-nav-open .responsive-nav-contents, .off-canvas-nav-right.off-canvas-nav-open .off-canvas-nav {
    transform: translate(-220px, 0);
    -ms-transform: translate(-220px, 0);
    -moz-transform: translate(-220px, 0);
    -webkit-transform: translate(-220px, 0);
}
.off-canvas-nav-right .off-canvas-nav {
    right: -220px;
}
.off-canvas-nav {

    max-width: 220px;
}
*/
#header{
	z-index:9999;
	background: #fff !important;
}
#header .linkbtn {
	    margin-right: 0;
	font-family: Helvetica Neue,Helvetica,Arial,sans-serif;
	padding: 21px 0;
}
@media (max-width: 991px) {
	.menucontact{
	display:none !important;	
	}
}
@media (min-width: 992px) {
	.padr{
	padding-right:0;
}
}

/* PHP8対応: アニメーションをPHP8対応版に修正 */
.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
    -webkit-animation-duration: 1s;
    -webkit-animation-fill-mode: both;
}

.animated.infinite {
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

.animated.delay-1s {
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
}

.animated.delay-2s {
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
}

.animated.delay-3s {
    -webkit-animation-delay: 3s;
    animation-delay: 3s;
}

.animated.delay-4s {
    -webkit-animation-delay: 4s;
    animation-delay: 4s;
}

.animated.delay-5s {
    -webkit-animation-delay: 5s;
    animation-delay: 5s;
}

/* PHP8対応: テキストアニメーション用CSS */
.text-move {
    display: inline-block;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.text.active .text-move {
    opacity: 1;
}
/* Safari 6.1+ (10.0 is the latest version of Safari at this time) */
@media (max-width: 991px) and (min-color-index:0) and (-webkit-min-device-pixel-ratio:0) {
    @media {
        .header__content {
            display: block;
        }
        .header__content .header__col {
            width: 100%;
        }
    }
}
@media (max-width: 991px) { @-moz-document url-prefix() {
    .header__content {
        display: table;
    }
    .header__content .header__col {
        width: inherit;
    }
    }

    @supports (-ms-ime-align:auto) {
        .header__content {
            display: table;
        }
        .header__content .header__col {
            width: inherit;
        }
    }
}
.text-weight{
	font-weight:bold;
}
.privacy-text{
    display: inline-block;
}

.fixed-under{
	padding-bottom: 40px;
}
.foot-logo {
    max-width: 200px;
    margin-bottom:10px
}

@media only screen and (max-width:767px) {
  .foot-logo {
    max-width: 150px;
  }
}

.global-nav {
  z-index: 9999;
}
.footer {
    z-index: 3;
    position: relative;
}
.footer:before {
    content: "";
    display: inline-block;
    width: 10%;
    height: 30%;
    background-image: url(/../../uploads/2020/04/rhe55y.svg);
    position: absolute;
    top: 0;
    left: 0;
}
.footer:after {
content: "";
    display: inline-block;
    width: 23%;
	min-width: 300px;
    height: 100%;
    background-image: url(/../../uploads/2020/05/v56u76.svg);
    position: absolute;
    top: 0;
    right: 9%;
	    z-index: -1;
}
.footer-widget-area {
  font-size: 14px;
}

.vCard, .categories {
  display: none;
}

.page #main {
  margin-bottom: 0;
  margin-top: 40px;
}

@media (max-width: 767px) {
    .page #main {
        margin-bottom: 0;
        margin-top: 20px;
    }
}

/*ヘッダーメニュー*/
@media (min-width: 768px) {
.header--fixed {
	box-shadow: 0px 0px 6px 3px rgba(0, 0, 0, 0.2);
	    background-color: #fff !important;
  position: fixed;
	    width: 96vw;
    margin: 0 auto;
    top: 1.5vw;
    z-index: 99;
     transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.header--fixed--is_scrolled{
	    width: 100%;
    top: 0;
    left: 0;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
}

p img {
  margin-bottom: -11.5px;
}

.page-header__title {
  color: #333;
	width: 42vw;
}

@media (max-width: 767px) {
  .page-header__title {
    font-size: 20px;
	      
  }
.header--fixed {
	animation-name:none !important;
}
}

.inquiries, .phone-content {
  display: none;
	float: right !important;
}

.phone-number {
  text-align: right;
  font-weight: bold;
  font-size: 25px;
  line-height: initial;
  margin: 0;
  font-family: 'arial';
}

.phone-number:before {
  content: "\f095";
  font-family: FontAwesome;
  color: #333;
  left: 10px;
  line-height: 0.7;
  font-size: 25px;
  padding-right: 10px;
}

.reception {
  text-align: right;
  line-height: initial;
  font-size: 12px;
  margin: 0;
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
}

.site-branding-head {
  margin-left: 0;
  margin-right: 0;
}

@media (min-width: 992px) {
  .site-branding-head {
    display: table;
    width: 100%;
  }
  .site-branding-col {
    display: table-cell;
    float: none;
    vertical-align: middle;
  }
  .inquiries {
    text-align: center;
    margin: 5px 0;
    width: 30%;
  }
}


/*ヘッダーメニュー*/


/*基本*/

body {
  font-size: 16px;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}

.inquiriesbtn {
  border: none;
  border-radius: 6px;
  font-size: 18px;
}

.head-img {
  width: 100vw;
}

.sub-head-img{
	 width: 58vw;
	display: block;
	margin:0 0 0 auto;
}
@media only screen and (max-width:767px) {
.sub-head-img {
    width: 70vw;
    display: block;
    margin: 0 0 0 auto;
    min-height: 220px;
    object-fit: cover;
    object-position: left;
}
}

.head_slide_logo {
  opacity: 0.9;
  margin: auto;
  max-width: 700px;
  width: 100%;
}

.responsive-nav li ul {
  width: max-content;
  min-width: 200px;
}

.mincho {
  font-family: 游明朝, YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", HG明朝E, "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.h2, h2 {
  font-size: 30px;
}
.h4, h4{
	font-size: 20px;
}
@media (max-width: 991px) {
.h4, h4{
	font-size: 15px;
}	
}

@media only screen and (max-width:767px) {
  .h1, h1 {
    font-size: 24px;
  }
  .h2, h2 {
    font-size: 20px;
  }
  .h3, h3 {
    font-size: 18px;
  }
	.h4, h4{
	font-size: 18px;
}
}

.site-branding__logo {
  width: 200px;

  max-width: initial;
  height: auto;
}

.header--fixed--is_scrolled .site-branding__logo {
  width: 200px;
  height: auto;
  max-width: initial;
}

@media only screen and (max-width:767px) {
  body {
    font-size: 14px;
  }
  .site-branding__logo {
    width: 140px;
  }
  .header--fixed--is_scrolled .site-branding__logo {
    width: 140px;
  }
}

.site-branding {
  padding: 10px 0;
}

.copyright {
  background-color: #032667;
  color: #ffffff;
  font-size: 12px;
  text-align: center;
	z-index: -2;
    position: relative;
}

@media screen and (min-width: 768px) {
  .row-eq-height .row {
    display: -webkit-box;
    display: -moz-box;
    display: box;
    display: -webkit-flex;
    display: flex;
  }
  .nopc {
    display: none !important;
  }
  .text-pc-center {
    text-align: center;
  }
}

@media only screen and (max-width:767px) {
  .nosp {
    display: none !important;
  }
}

.whatsnew h3 {
  font-family: 游明朝, YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", HG明朝E, "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.entry-content_img {
  margin-bottom: 20px;
}

.entry-content_img img {
  display: block;
  margin: 0 auto;
}


/*基本ここまで*/


/*次の記事*/

#prev_next {
  width: 100%;
  margin: 40px 0 24px;
  padding: 0;
  display: table;
}

#prev_next #prev, #prev_next #next {
  width: 50%;
  padding: 20px 10px 10px;
  border-top: #ccc 1px solid;
  border-bottom: #ccc 1px solid;
  display: table-cell;
  position: relative;
  text-decoration: none;
}

#prev_next #prev p, #prev_next #next p {
  font-size: 90%;
  line-height: 1.5;
}

#prev_next #prev:hover, #prev_next #next:hover {
  background-color: rgba(238, 238, 238, 0.7);
}

#prev_next #prev {
  border-right: #ccc 1px solid;
}

#prev_next #prev_title, #prev_next #next_title {
  font-size: 90%;
  top: -1em;
  position: absolute;
  border: 1px #ccc solid;
  background: #fff;
  text-align: center;
  padding: 3px;
  color: #666;
}

#prev_next #next_title {
  right: 10px;
}

#prev_next #prev img, #prev_next #next img {
  margin: 0 auto;
}

#prev_next #prev_no, #prev_next #next_no {
  width: 50%;
  height: 140px;
  padding: 0 10px;
  display: table-cell;
}

#prev_next #prev_no {
  border-right: #ccc 1px solid;
}

#prev_next_home {
  margin: 0 auto;
  background-color: #337ab7;
  border: solid 9px #fff;
  width: 100px;
  height: 100px;
  -moz-border-radius: 100px;
  -webkit-border-radius: 100px;
  border-radius: 100px;
  box-shadow: 0 0 0 3px #337ab7;
  -webkit-box-shadow: 0 0 0 3px #337ab7;
  -moz-box-shadow: 0 0 0 3px #337ab7;
  text-align: center;
}

#prev_next_home:hover {
  background-color: #2c689c;
}

#prev_next_home i {
  color: #FFF;
  margin: 10px auto;
  font-size: 60px;
}

@media only screen and (min-width: 780px) {
  #prev_next #prev, #prev_next #prev::before, #prev_next #prev::after, #prev_next #next, #prev_next #next::before, #prev_next #next::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .3s;
    transition: all .3s;
  }
  #prev_next #prev_title, #prev_next #next_title {
    padding: 3px 10px;
  }
  #prev_next #next_title {
    right: 10px;
  }
  #prev_next #prev img {
    float: left;
    margin-right: 10px
  }
  #prev_next #next img {
    float: right;
    margin-left: 10px;
  }
}


/*次の記事ここまで*/


/*flexメニュー*/

.top-flex-box {
  display: -webkit-box;
  display: -moz-box;
  display: box;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
}

.top-flex-inner {
  height: auto;
  background-color: #f3f0f0e6;
  margin: 15px 0;
  padding: 15px 10px;
}

.top-flex-inner-text {
  padding: 10px;
}

.top-flex-inner-text h3 {
  margin-bottom: 30px;
}

.top-flex-box .linkbtn {
  max-width: 200px;
  padding: 8px 0;
}

.business-flex-inner {
  height: auto;
  margin: 10px 0;
}
.business-flex-inner h3{
	position:relative;
	margin:10px 0 20px 0;
	font-weight: bold;
	padding-left: 50px;
}
.business-flex-inner p{
	margin:0;
}
.b01:after,.b02:after,.b03:after,.b04:after,.b05:after,.b06:after,.b07:after,.b08:after,.b09:after,.b10:after,.b11:after,.b12:after{
content: "";
    display: inline-block;
    top: 50%;
    left: 0;
    height: 40px;
    width: 40px;
    position: absolute;
    background-size: contain;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}
.b01:after{
	background-image: url(/../../wp-content/uploads/2025/06/01-.png);
}
.b02:after{
	background-image: url(/../../wp-content/uploads/2025/06/02-.png);
}
.b03:after{
	background-image: url(/../../wp-content/uploads/2025/06/03-.png);
}
.b04:after{
	background-image: url(/../../wp-content/uploads/2025/06/04-.png);
}
.b05:after{
	background-image: url(/../../wp-content/uploads/2025/06/05.png);
}
.b06:after{
	background-image: url(/../../wp-content/uploads/2025/06/06.png);
}
.b07:after{
	background-image: url(/../../wp-content/uploads/2025/06/07.png);
}
.b08:after{
	background-image: url(/../../wp-content/uploads/2025/06/08.png);
}
.b09:after{
	background-image: url(/../../wp-content/uploads/2025/06/09.png);
}
.b10:after{
	background-image: url(/../../wp-content/uploads/2025/06/10.png);
}
.b11:after{
	background-image: url(/../../wp-content/uploads/2025/06/11.png);
}
.b12:after{
	background-image: url(/../../wp-content/uploads/2025/06/12.png);
}

.lp-flex-inner {
  height: auto;
  background-color: #fff;
  margin: 15px 0;
  padding: 15px 10px;
}

.lp-flex-inner h4{
margin: 0 0 10px;
	text-align:center;
	font-weight:bold;
	line-height: 1.5;
}
.lp-flex-inner h4 span{
color:#C10000;
}
.baf-flex-inner {
  height: auto;
  background-color: #fff;
	box-shadow:3px 3px 3px #ccc;
  margin: 15px 0;
  padding: 20px;
}

.baf-flex-inner img{
  margin-bottom: 15px;

}
.tigai-flex-inner {
  height: auto;
  background-color: #fff;
  margin: 15px 0;
	    border-radius: 15px;
}
.tigai-flex-inner h4{
	text-align:center;
	font-weight:bold;
padding:20px 20px 15px;
  margin: 0;
}
.tigai-flex-inner p{
padding:15px 15px 20px;
  margin: 0;
}

.sns-flex-inner{
text-align: center;
    height: auto;
    background-color: #fff;
    margin: 10px auto;

    text-decoration: none;
    width: 85%;
    padding: 10px 0;
}
.sns-flex-inner:hover{
	text-decoration:none;
}

@media screen and (min-width: 768px) {
  .top-flex-inner {
    width: 48%;
    margin: 60px 1%;
    padding: 50px;
  }
  .business-flex-inner {
    width: 48%;
    margin: 1%;
  }
	  .baf-flex-inner {
    width: 48%;
    margin: 1%;
  }
	.tigai-flex-inner {
    width: 31.3333%;
    margin: 1%;
}
.business-flex-inner h3{
	padding-left: 60px;
	margin:0 0 25px 0;
}
.b01:after,.b02:after,.b03:after,.b04:after,.b05:after,.b06:after,.b07:after,.b08:after,.b09:after,.b10:after,.b11:after,.b12:after{
    height: 50px;
    width: 50px;
}
  .top-flex-inner-text {
    padding: 0 20px 20px 20px;
  }
	
	  .lp-flex-inner {
    width: 31%;
    margin:  1%;
    padding: 20px;
  }
	.sns-flex-inner{
    width: 31.3333%;
    margin:  1%;

}
}


/*flexメニューここまで*/


/*コンタクトフォーム*/
.privacy-link{
    display: inline-block;
}

.cform th {
  font-size: 14px;
  width: 22%;
  border-bottom: solid 1px #d6d6d6;
  padding: 15px 0 15px 15px;
}

.cform td {
  font-size: 14px;
  line-height: 150%;
  border-bottom: solid 1px #d6d6d6;
  padding: 15px 5px;
}

.cform {
  width: 100%;
  margin: auto;
}

.cform [type=submit] {
  display: inline-block;
  font-size: 20px;
  padding: 10px 30px;
  text-decoration: none;
  background: #ff8f00;
  color: #FFF;
  border-bottom: solid 4px #B17C00;
  border-radius: 3px;
}

.cform option, .cform textarea, .cform input[type=text], .cform input[type=email], .cform input[type=search], .cform input[type=url] {
  width: 100%;
}

.cform a {
    margin-left: 20px;
    display: inline-block;
}

.mw_wp_form_preview .form_inner_sample {
  display: none;
}

.form_inner_pref input[type=text] {
  max-width: 130px;
}

.form_inner_name input[type=text] {
  margin: 5px;
  max-width: 100px;
}

.form_inner_zip input[type=tel] {
  margin: 5px;
  max-width: 115px;
}

.form_inner_mail input[type=email], .form_inner_mail input[type=text] {
  max-width: 500px;
}

.required-srt {
  display:inline-block;
  font-size: 8pt;
  padding: 5px;
  background: #ce0000;
  color: #fff;
  border-radius: 3px;
  margin-left: 10px;
  vertical-align: middle;
}

@media only screen and (max-width:767px) {
  .cform th, .cform td {
    width: 100%;
    display: block;
    border-top: none;
  }
  .form_inner_name input[type=text] {
    max-width: 100%;
  }
.form_inner_name {
    display: block;
}
}

.submit-btn input {
  background: #ccc;
  width: 100%;
  max-width: 550px;
  min-width: 220px;
  margin: 30px auto;
  display: block;
  border: 1px #ccc solid;
  text-align: center;
  padding: 5px;
  color: #000;
  transition: all 0.4s ease;
}

.submit-btn input:hover {
  background: #b7b7b7;
}


/*コンタクトフォームここまで*/


/*会社概要テーブル*/

.tbcompany th {
  width: 20%;
  border-bottom: solid 1px #707070;
  font-weight: normal;
  padding: 15px 0 15px 10px;
}

.tbcompany td {
  line-height: 150%;
  border-bottom: solid 1px #707070;
  padding: 15px 25px;
}

.tbcompany tr:last-child th, .tbcompany tr:last-child td {
  border-bottom: none;
}

.tbcompany {
  width: 100%;
	max-width: 800px;
    margin: auto;
}

@media only screen and (max-width:767px) {
  .tbcompany th, .tbcompany td {
    width: 100%;
    display: block;
  }
}


/*会社概要テーブルここまで*/


/*ボタン*/

.linkbtn {
  max-width: 300px;
  padding: 15px 0;
  background: #032667;
  color: #fff;
  margin: auto;
  display: block;
  text-decoration: none;
  text-align: center;
	font-family: 游明朝, YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", HG明朝E, "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	position:relative;
}
.linkbtn:before{
    content: "";
    display: inline-block;
    width: 30px;
    height: 40px;
    background-image: url(/wp-content/uploads/2020/04/rhe55y.svg);
    position: absolute;
    top: 0;
    left: 0;
}
.linkbtn:hover {
  background: #003088;
  color: #fff;
  text-decoration: none;
}

.service-linkbtn{
    display: block;
    width: 100%;
    max-width: 300px;
    padding: 15px 0;
    color: #032667;
	background: #fff;
    border: solid 1px #032667;
    text-decoration: none;
    text-align: center;
    margin: auto;	
}
.service-linkbtn:hover {
  background: #032667;
  color: #fff;
  text-decoration: none;
}

.contact-linkbtn{
	  max-width: 300px;
  padding: 15px 0;
	margin-top: 20px;
  background: #003FB4;
  color: #fff;
	border:solid 2px #003FB4;
  display: block;
  text-decoration: none;
  text-align: center;
}
.contact-linkbtn:hover {
  background: #032667;
	border:solid 2px #fff;
  color: #fff;
  text-decoration: none;
}

.bs_btn{
  display: inline-block;
  width: 100%;
  text-decoration: none;
  outline: none;
	padding: 10px 20px;
}
.bs_btn::before,
.bs_btn::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
}
.bs_btn,
.bs_btn::before,
.bs_btn::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.bs_btn {
  position: relative;
  z-index: 0;
	font-size:14px;
  background-color: #fff;
  border: 1px solid #032667;
  color: #032667;
  overflow: hidden;
	    text-align: center;
	    max-width: 350px;
}
.bs_btn:hover {
  color: #fff;
	  text-decoration: none;
}
.bs_btn::after {
  top: -100%;
  left: -100%;
  width: 100%;
  height: 100%;
}
.bs_btn:hover::after {
  top: 0;
  left: 0;
  background-color: #032667;
}
.c-button__arrow:before {
position: absolute;
    content: ' ';
    width: 50%;
    top: 48%;
    right: -70px;
    height: 1px;
    background: #032667;
	transition: 0.3s ease-in-out;
}
.c-button_box{
	    display: inline-block;
	position:relative;
	    max-width: 350px;
    width: 100%;
}
.c-button__arrow{
	    overflow: initial;
}
.c-button_box:hover .c-button__arrow:before {
    right: -90px;
transition: 0.3s ease-in-out;
}

.bs_btn_en{
	font-size:20px;
}

.mitsumori_linkbtn{
    display: block;
    width: 100%;
    max-width: 400px;
    padding: 15px 0;
    color: #fff;
	background: #ffa43e;
    border: solid 1px #ffa43e;
    text-decoration: none;
    text-align: center;
    margin: auto;	
	font-weight:bold;
}
.mitsumori_linkbtn:hover{
    color: #ffa43e;
	background: #fff;
    border: solid 1px #ffa43e;
    text-decoration: none;

}
@media only screen and (max-width:767px) {
	.bs_btn_en{
	font-size:18px;
}
.contact-linkbtn {
    margin: auto;
}	
}
/*ボタンここまで*/

@media screen and (min-width: 768px) {
  .va-middle .row {
    display: -webkit-box;
    display: -moz-box;
    display: box;
    display: -webkit-flex;
    display: flex;
    align-items: center;
  }
}


/*採用*/

.flow {
  width: 100%;
  background-color: #fff;
  color: #333;
  padding:20px;
  border: 1px solid #dcdcdc;
  margin-bottom: 5rem;
  position: relative;
  display: inline-block !important;
}

.flow p, .flow-last p {
  margin: 5px 0 5px;
}
.flow h3, .flow-last h3 {
 font-weight:bold;
	padding-bottom: 25px;
    border-bottom: solid 2px #032667;
    margin: 0 0 20px;
	padding-left: 77px;
}

.flow:after {
  content: "\f107";
  font-family: 'FontAwesome';
  color: #032667;
  position: absolute;
  bottom: -80px;
  text-align: center;
  left: 0;
  font-size: 66px;
  right: 0;
}

.flow-last {
  width: 100%;
  background-color: #fff;
  color: #333;
  padding:20px;
  border: 1px solid #dcdcdc;
  position: relative;
  display: inline-block !important;
}

.f_first,.f_second,.f_third,.f_forth,.f_fifth,.f_sixth{
	position:relative;
}
.f_first:before{
content: "";
    display: inline-block;
    width: 70px;
    height: 70px;
    background-image: url(/wp-content/uploads/2020/05/7e5885b09bb9cc1d946e913e43be273b.png);
    position: absolute;
	  background-size: contain;
  vertical-align: middle;
    top: -18px;
    left: 0;
}
.f_second:before{
content: "";
    display: inline-block;
    width: 70px;
    height: 70px;
    background-image: url(/wp-content/uploads/2020/05/12e6ef202bfe4ea402a2ff1c828a7df4.png);
    position: absolute;
	  background-size: contain;
  vertical-align: middle;
    top: -18px;
    left: 0;
}
.f_third:before{
content: "";
    display: inline-block;
    width: 70px;
    height: 70px;
    background-image: url(/wp-content/uploads/2020/05/1bb0714c29bd048af0ff120c7b57736f.png);
    position: absolute;
	  background-size: contain;
  vertical-align: middle;
    top: -18px;
    left: 0;
}
.f_forth:before{
content: "";
    display: inline-block;
    width: 70px;
    height: 70px;
    background-image: url(/wp-content/uploads/2020/05/2188d1fbb00959cd93a6b53897538016.png);
    position: absolute;
	  background-size: contain;
  vertical-align: middle;
    top: -18px;
    left: 0;
}
.f_fifth:before{
content: "";
    display: inline-block;
    width: 70px;
    height: 70px;
    background-image: url(/wp-content/uploads/2020/05/36bae29384d78d0dc2f40cc1ec38d5e5.png);
    position: absolute;
	  background-size: contain;
  vertical-align: middle;
    top: -18px;
    left: 0;
}
.f_sixth:before{
content: "";
    display: inline-block;
    width: 70px;
    height: 70px;
    background-image: url(/wp-content/uploads/2020/05/e262e001a8f782dacdb7d2bded03748a.png);
    position: absolute;
	  background-size: contain;
  vertical-align: middle;
    top: -18px;
    left: 0;
}
@media only screen and (max-width:767px) {
.f_first:before,.f_second:before,.f_third:before,.f_forth:before,.f_fifth:before,.f_sixth:before{
width: 55px;
    height: 55px;
}
	.flow h3, .flow-last h3 {
	padding-bottom: 20px;
    border-bottom: solid 2px #032667;
    margin: 25px 0 20px;
	padding-left: 65px;
}
}


/*採用ここまで*/


/*Q&A*/

.qanda th {
  border-bottom: solid 1px #333;
  padding: 10px 0 10px 45px;
}

.qanda th:before {
  content: 'Q';
  font-size: 40px;
  font-family: 'Yu Gothic UI';
  font-weight: bold;
  position: absolute;
  top: -5px;
  left: 0;
  line-height: initial;
}

.qanda td {
  line-height: 150%;
  padding: 20px 0 10px 45px;
}

.qanda td:before {
    content: 'A';
    font-size: 40px;
    font-family: 'Yu Gothic UI';
	color:#DB0000;
    font-weight: bold;
    position: absolute;
    top: 5px;
    left: 0;
    line-height: initial;
}

.qanda {
  font-size: 16px;
  width: 100%;
}

.qanda th, .qanda td {
  width: 100%;
  display: block;
  position: relative;
}

.qanda tr {
  display: block;
  margin-bottom: 30px;
}

.qanda p {
  margin: 0;
}

.qaindent {
  margin-left: 30px;
  margin-bottom: 10px;
}


/*Q&Aここまで*/

.su-title {
  border-bottom: solid 1px #333;
  padding-bottom: 10px;
}

.pagetop {
  display: none;
  position: fixed;
  bottom: 10px;
  right: 15px;
  z-index: 8000;
}

.pagetop a {
  display: block;
  background-color: #737373;
  text-align: center;
  color: #fff;
  font-size: 12px;
  text-decoration: none;
  padding: 10px 15px;
  filter: alpha(opacity=90);
  -moz-opacity: 0.9;
  opacity: 0.9;
}

.pagetop a:hover {
  text-decoration: none;
  color: #fff;
  filter: alpha(opacity=50);
  -moz-opacity: 0.5;
  opacity: 0.5;
}



/*問い合わせ*/

.all-borderline {
  border: 1px solid #989898;
  padding: 10px;
	background-color:#fff;
}

.contact-tel:before {
  position: absolute;
  content: "\f095";
  font-family: FontAwesome;
  color: #333;
  left: 10px;
  line-height: 0.7;
  font-size: 46px;
}

.contact-tel {
  border-bottom: solid 3px #333;
  padding: 0 0 15px 40px;
}

.cform-tel-numb {
  padding: 0 18px;
  font-size: 18px;
  line-height: 1em;
  margin: 25px 15px;
}

.contact-mail:before {
  position: absolute;
  content: "\f0e0";
  font-family: FontAwesome;
  color: #333333;
  left: 10px;
  line-height: 0.7;
  font-size: 40px;
}

.contact-mail {
  border-bottom: solid 3px #333;
  padding: 0 0 15px 40px;
}

.contact_comp {
  border-style: solid;
  border-color: #aaaaaa;
  background-color: #fafafa;
  padding: 20px 0;
  margin-bottom: 20px;
}

.page-header--has_background-image {
  padding-top: 110px;
  padding-bottom: 110px;
}

.sp_tel {
  margin: 10px auto;
  display: block;
}

@media screen and (min-width: 768px) {
  .cform-tel-numb {
    font-size: 28px;
  }
  .mailform {
    padding: 30px 55px;
    box-shadow: 0 3px 10px #e6e6e6;
    background-color: #ffffff;
  }
}


/*問い合わせここまで*/


/*フッターコンタクト*/

#footerFloatingMenu {
  width: 100%;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 1000;
  text-align: center;
  background: #fff;
}

.under_btntext {
  color: #fff;
  font-size: 14px;
}

.under-form {
  padding: 0;
}

.under-form a{
  text-decoration:none;
}

.under-form .btn {
  border-radius: 0;
}

.under-form img {
  width: 20px;
}

.under-form p {
  margin: 0;
  padding: 0;
  font-size: 12px;
  color: #fff;
}

@media (min-width: 992px) {
  #footerFloatingMenu {
    display: none;
  }
}



/*フッターコンタクトここまで*/


/*グリッドデザイン*/

.grid_link {
  display: block;
  cursor: pointer;
}

.entries--archive a, .entries--related-posts a {
  color: #333;
  text-decoration: none;
  height: 100%;
}

.entries--archive a:hover, .entries--related-posts a:hover {
  color: #333;
}

.entries--archive, .entries--related-posts {
  display: flex;
  flex-wrap: wrap;
}

.entries--archive h2, .entries--related-posts h2 {
     font-size: 18px;
    font-weight: bold;
    margin: 5px 13px 0;
}

.entries .article p{
 margin: 5px 13px 0;
	    font-size: 14px;
}

.entries .article {
  width: 23%;
  margin: 1%;
  padding-bottom: 0;
  border: none;
}

.entries .entry--has_media__link {
  float: left;
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  margin-right: 1em;
}

.entries .entry--has_media__media {
  width: 100%;
}

.entry--has_media {
  background-color: #fff;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, .25);
  padding-bottom: 25px;
  height: 100%;
	border-radius: 6px;
}

.entry--has_media__inner img {
  max-width: 100%;
  max-height: 250px;
  object-fit: cover;
  transition: 0.2s;
	border-radius: 6px 6px 0 0;
}

.entry--has_media__inner img:hover {
  opacity: 0.8;
  filter: alpha(opacity=80);
  -ms-filter: "alpha(opacity=80)";
}

.entries .entry--has_media__body {
  overflow: initial;
}

.entry-meta_items {
  font-size: 12px;
  margin: 10px 13px 0;
}

.entry-meta_items:before {
  content: '\f017';
  font-family: FontAwesome;
  padding-right: 4px;
  font-weight: normal;
}

@media screen and (max-width: 767px) {
	.entries--archive h2, .entries--related-posts h2 {
     font-size: 14px;
}

  .entries .article {
    width: 47%;
    margin: 1.5%;
  }
}


/*グリッドデザインここまで*/


/*記事下ウィジェット*/

.kizi_under {
  margin: 60px 0 0;
}

/*兄弟*/
@media only screen and (min-width: 768px) {
	    .bros-col-4 .row .col-sm-4{
        left: 66.66667%;
    }
    .bros-col-4 .row .col-sm-8{
        right: 33.33333%;
    }
    .bros-col-6 .row .col-sm-6:first-child {
        left: 50%;
    }
    .bros-col-6 .row .col-sm-6:last-child {
        right: 50%;
    }
    .bros-col-7 .row .col-sm-7 {
        right: 41.66667%;
    }
    .bros-col-7 .row .col-sm-5 {
        left: 58.33333%;
    }
    .bros-col-8 .row .col-sm-8 {
        left: 33.33333%;
    }
    .bros-col-8 .row .col-sm-4 {
        right: 66.66667%;
    }
	
}

/*スマホメニュー*/

.off-canvas-nav--dark {
background-color: #032667;
border-top: 1px solid #032667;
border-bottom: 1px solid #032667;
}
.off-canvas-nav--dark a:hover {
background-color: #032667;
}
.off-canvas-nav--dark > ul, .off-canvas-nav--dark > * > ul {
border-bottom: none;
}
.off-canvas-nav--dark li {
border-top: none;
border-bottom: 1px solid #eaeaea;
}
.off-canvas-nav--dark a {
color: #fff;
}
.off-canvas-nav--dark .current-menu-item > a, .off-canvas-nav--dark .current_page_ancestor > a, .off-canvas-nav--dark .current-page-ancestor > a, .off-canvas-nav--dark .current_page_item > a, .off-canvas-nav--dark .current_page_parent > a {
background-color: #032667;
color: #fff;
}
.off-canvas-nav--dark ul ul {
border-top: 1px solid #eaeaea;
border-left: 1px solid #eaeaea;
}
.off-canvas-nav--dark ul ul li {
border-left: none;
}
.global-nav {
z-index: 9999;
}


.delay1{
	animation-delay: 0.4s;
}
.delay2{
	animation-delay: 0.6s;
}
.delay3{
	animation-delay: 0.8s;
}
.delay4{
	animation-delay: 1s;
}
/***/
.headcontent{
	position:relative;
	    height: 78vh;
	max-height: 600px;
	    z-index: 3;
}

.slash-head-img{
position: relative;
    height: 100%;
	    z-index: 2;
    width: 100%;	
}
.headcontent_sl{
	position: absolute;
    right: -1px;
    top: 0;
	width: 65%;	
	height: 101%;
}
.head-inner{
    color: #000;
    position: absolute;
    z-index: 10;
    top: 55%;
    text-align: center;
    left: 25%;
    width: 74%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}
.head-inner h2{
    font-size: 3.5vw;
    text-align: left;
    display: inline-block;
}

.head-inner p{
font-size: 1.7vw;
    line-height: 1.2;
    text-align: left;
    display: inline-block;
}

@media (min-width: 768px) {
.head-inner h2 span{
	padding-left: 3em;
}
}
@media (max-width: 767px) {
	.headcontent {
    height:40vh;
		    margin-top: 40px;
}
	.head-inner {
top: 55%;
    left: 13%;
		    width: 86%;
}
.headcontent_sl {
    width: 66%;
}
.head-inner h2{
	font-size: 5.5vw;
}
.head-inner p{
font-size: 2.2vw;
}	
}
@media screen and (max-width:479px) {
	.head-inner h2{
	font-size: 6vw;
}
.head-inner p{
font-size: 4vw;
}
}
.fade-img {
  position: relative;
}
.fade-img img {
  position: absolute;
  height: 78vh;
  object-fit: cover;
  opacity: 0; /* PHP8対応: 初期状態で非表示 */
  transition: opacity 0.3s ease-in-out;
}

.fade-img img:first-child {
  opacity: 0.8; /* PHP8対応: 最初の画像のみ表示 */
}
.top-catch-box {
	position: relative;
    display: flex;
    align-items: center;
    position: relative;
    margin-left: 9%;
}
.top-catch-box:before{
top: 50%;
left: 0;
transform: translateY(-50%) translateX(-100%);
-webkit-transform: translateY(-50%) translateX(-100%);
background-color: #000;
content: "";
height: 2px;
width: 10%;
position: absolute;
}
.top-catch {
    color: #000;
    text-align: center;
    margin: 0;
    font-weight: bold;
	padding-left: 10px;
}
.top-catch-sub {
    color: #032667;
    font-weight: bold;
    font-size: 16px;
    margin: 0;
    margin-left: 10px;
}

.fade-img img{

	max-height: 600px;
	}

@media screen and (max-width: 767px) {
	.top-catch-sub {
		  font-size: 12px;
	    margin-left: 5px;
}
	.fade-img img {
	height: 40vh;
object-position:top;
}
}

@media screen and (min-width:768px) and ( max-width:1024px) {
.headcontent{
	    height: 70vh;
	max-height: 500px;
}

.fade-img img{
height: 70vh;
	max-height: 500px;
	}
}

.bg1 {
  background: url(/../../wp-content/uploads/2025/07/business01.png);
  height: 480px;
  background-position: center;
  background-size: cover;
}
.bg2 {
  background: url(/../../wp-content/uploads/2025/07/business02-1.png);
  height: 480px;
  background-position: center;
  background-size: cover;
}
.bg3 {
  background: url(/../../wp-content/uploads/2025/07/business03.png);
  height: 480px;
  background-position: center;
  background-size: cover;
}
.bg4 {
  background: url(/../../wp-content/uploads/2025/07/business04.png);
  height: 480px;
  background-position: center;
  background-size: cover;
}
@media (min-width: 992px) {
		  .bg1, .bg2, .bg3, .bg4,.bg5 {
  height: 480px;
  }
}
@media (min-width: 1200px) {
	  .bg1, .bg2, .bg3, .bg4,.bg5 {
  height: 32vw;
  }
}
@media (max-width: 767px) {
  .bg1, .bg2, .bg3, .bg4,.bg5 {
    height: 67vw;
  }
}
.boxInner {
  opacity: 0;
  overflow: hidden;
}

.isPlay {
  animation-name: play;
  animation-duration: .5s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(.8, 0, .5, 1);
  position: relative;
  opacity: 1 !important;
}

.isPlay:before {
  animation-name: maskOut;
  animation-duration: .5s;
  animation-delay: .5s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(.8, 0, .5, 1);
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background-color: rgba(35, 45, 101, 0.7);
}

@keyframes play {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes maskOut {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(101%);
  }
}

.boxInner_right {
  opacity: 0;
  overflow: hidden;
}

.isPlay_right {
  animation-name: play_r;
  animation-duration: .5s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(.8, 0, .5, 1);
  position: relative;
  opacity: 1 !important;
}

.isPlay_right:before {
  animation-name: maskOut_r;
  animation-duration: .5s;
  animation-delay: .5s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(.8, 0, .5, 1);
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background-color: rgba(35, 45, 101, 0.7);
}

@keyframes play_r {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes maskOut_r {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.service_border{
	background-color:#fff;
	box-shadow:3px 3px 6px #adadad;
}
.service_border h3{
	font-weight:bold;
	    margin: 0 0 20px 0;
}
.service_border h4{
	font-weight:bold;
	color:#032667;
	    margin: 0 0 6px 0;
}

@media only screen and (min-width: 768px) {
  .bros-col-6 .row .col-sm-6:first-child {
    left: 50%;
  }
  .bros-col-6 .row .col-sm-6:last-child {
    right: 50%;
  }
  .bros-col-7 .row .col-sm-7 {
    left: 41.66667%;
  }
  .bros-col-7 .row .col-sm-5 {
    right: 58.33333%;
  }
  .bros-col-8 .row .col-sm-8 {
    left: 33.33333%;
  }
  .bros-col-8 .row .col-sm-4 {
    right: 66.66667%;
  }
}
.white:before{
background-color: #fff !important;
}
.white h2{
	color:#fff !important;
}
.white p{
	color:#fff !important;
}
.top_index{
	z-index: 3;
    position: relative;
}
.cwbg{
	    z-index: 0;
    position: relative;
}
.cw-overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
	    opacity: .3;
}
.getPostContent{
	font-weight:bold;
	color:#032667;
	    margin: 5px 13px 0;
}

.contact_box{
position: relative;
    background-color: #032667;
    padding: 40px 40px 40px 8%;
    margin: auto;
}
.contact_back{
	position: relative;
}
.contact_back:after{
	content: url(/wp-content/uploads/2020/05/sv4y4.png);
	  display: inline-block;
position:absolute;
	top: 0;
	    right: 50%;
	    transform: translateX(104%);
    -webkit-transform: translateX(104%);
    -ms-transform: translateX(104%);
}
.contact_box h3{
	color:#fff;
	font-weight:bold;
	margin: 0 0 20px;
}
.contact_box h4{
	color:#fff;
	font-weight:bold;
	margin: 0 0 20px;
}
.contact_box p{
	color:#fff;
	margin: 0 0 30px;
}
.contact_box:before{
    content: "";
    display: inline-block;
    width: 10%;
    height: 30%;
    background-image: url(/wp-content/uploads/2020/04/rhe55y.svg);
    position: absolute;
    top: 0;
    left: 0;

}

.contact_box_inner{
     width: 55%;
    max-width: 520px;
}

.parent{
	position:relative;
	    z-index: 0;
}

.ptop{
    display: block;
    text-align: center;
    background-color: #DDDDDD;
    font-size: 27px;
    color: #032667;
    text-decoration: none;
    padding: 10px 0;
}
.ptop:hover{
    background-color: #C7C5C5;
    color: #032667;
    text-decoration: none;
}

@media (max-width: 991px) {
.contact_box {
    margin: auto 20px;
    width: 100%;

}	
	.contact_back:after {
    transform: translateX(93%);
    -webkit-transform: translateX(93%);
    -ms-transform: translateX(93%);
}
}
@media (max-width: 767px) {
		.js-parallax {
		background-size: 120vh !important;
		background-attachment: scroll !important;
	}
	.cwbg:after{
    content: '';
    background-color: rgba(0, 0, 0, 0.2);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
	}
.contact_back:after {
display:none;
}	
	.contact_box {
    padding: 40px 20px 40px 20px;
		margin:0;
}
	.contact_box:before{
	height: 13%;	
	}
	.contact_box_inner {
    width: 100%;
    max-width: inherit;
}
}
@media (max-width: 479px) {
		.js-parallax {
		background-size: 134vh !important;
	}
}
.message{
background-color: #fff;
    box-shadow: 3px 3px 6px #ccc;
    max-width: 900px;
    width: 80%;
    margin: -10% auto 0;
    z-index: 4;
    position: relative;
    padding: 40px 20px;
}
@media (max-width: 479px) {
.message{
    padding: 40px 20px;
}
}
.sub-title{
	text-align:center;
	font-weight: bold;
}
.sub-title h2,.sub-title h3{
	margin:0;
	font-weight: bold;
}
.blue_border{
	background-color: #032667;
	color:#fff;
	position:relative;
	padding: 40px 0;
}
.blue_border h2{
margin:0;
	
    line-height: 1.5;
}
.blue_border p{
margin:0 ;
}
.blue_border:before{
    content: "";
    display: inline-block;
    width: 80px;
    height: 80px;
    background-image: url(/wp-content/uploads/2020/04/rhe55y.svg);
    position: absolute;
    top: 0;
    left: 0;

}
@media (max-width: 479px) {
.blue_border:before{
    width: 70px;
    height: 70px;

}
}
.kuniaki {
	display:inline-block;
	width:100%;
	max-width:550px;
}
.kuniaki{
  transition-duration: 0.5s;
}

.kuniaki:hover{
  box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
  transform: translateY(-5px);
  transition-duration: 0.5s;
}
.habakiri-slider__item-content {
    top: calc(50% + 30px);
}
.lp_link {
	display:inline-block;
	width:100%;
	max-width:600px;
	position: relative;
    transition-duration: 0.3s;
    transition-property: transform;
    transform: translateZ(0);
}

.lp_link:hover {
text-decoration: none;
transform: translateY(-6px);
animation-name: hover;
animation-duration: 1.5s;
animation-delay: 0.3s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
text-decoration: none;
}
.lp_link:before {
pointer-events: none;
position: absolute;
z-index: -1;
content: '';
top: 110%;
left: 5%;
height: 10px;
width: 90%;
opacity: 0;
background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 80%);
/* W3C */
transition-duration: 0.3s;
transition-property: transform opacity;
}

.lp_link:hover:before{
opacity: .4;
transform: translateY(6px);
animation-name: hover-shadow;
animation-duration: 1.5s;
animation-delay: .3s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}


.lptitle h1{
	color:#fff;
	font-weight:bold;
	line-height: 1.5;
}
.lptitle span{
	color:#FFA43E;
}
.lp_linkbtn{
    max-width: 400px;
    padding: 15px 0;
    color: #fff;
    border: solid 2px #fff;
    border-radius: 20px;
    margin: auto;
    font-weight: bold;
    display: block;
    text-decoration: none;
    text-align: center;
}
.lp_linkbtn:hover{
    text-decoration: none;
	background-color:#FFA43E;
	color:#fff;
}

.lp_linkbtn_last{
    max-width: 400px;
    padding: 15px 0;
    color: #fff;
    border: solid 2px #fff;
    border-radius: 20px;
    margin: auto;
    font-weight: bold;
    display: block;
    text-decoration: none;
    text-align: center;
}
.lp_linkbtn_last:hover{
	    color: #032667;
    text-decoration: none;
	background-color:#fff;
}
.nayami{
position:relative;
}
.nayami h2{
	text-align:center;
	font-weight: bold;
	color:#C10000;
}
.nayami:after {
    content: "\f0d7";
    font-family: 'FontAwesome';
    color: #C10000;
    position: absolute;
    bottom: -80px;
    text-align: center;
    left: 0;
    font-size: 60px;
    right: 0;
}
.kuhuu h2{
		text-align:center;
	font-weight: bold;
	color:#C10000;
}
.lp_title h2{
	font-weight:bold !important;
}
.saidaika{
	background-color:#fff;
	padding:40px;
}
.saidaika h3{
padding-bottom: 10px;
    border-bottom: solid 2px #000;
margin: 0 0 20px;
}
.baf{
	text-align:center;
	color:#032667;
	font-weight:bold;
}
.lp-phone-content {
    text-align: center;
    font-weight: bold;
    line-height: initial;
    margin: 0;
}
.lp-phone-number {
    text-align: center;
    font-weight: bold;
    font-size: 25px;
    line-height: initial;
    margin: 0;
    font-family: 'arial';
}
.lp-phone-number:before {
    content: "\f095";
    font-family: FontAwesome;
    color: #fff;
    left: 10px;
    line-height: 0.7;
    font-size: 25px;
    padding-right: 10px;
}
@media (max-width: 767px) {
	.nayami:after {
    font-size: 40px;
bottom: -50px;
}
	.saidaika{
	background-color:#fff;
	padding:20px 15px;
}
}
.property-flex-inner,.seihin-flex-inner{
    width: 24%;
    margin: 0 0.5% 10px;

}
.property-flex-inner img {
	cursor:pointer;

}

.property-content-inner{
    border: solid 1px #e4e2e2;
    font-size: 16px;
	padding: 40px;
    margin-top: 20px;
	margin-bottom: 10px;
}
@media (max-width: 767px) {
.property-flex-inner{
width: 23%;
    margin: 0 1% 10px;

}	
	.seihin-flex-inner{
    width: 48%;
    margin: 0 1% 10px;
		
	}
}
.case_box{
	margin-top:10px;
}
.case_catchphrase{
	    width: 77%;
	font-weight:bold;
}
.case_syamei{
	font-weight:bold;
	color:#032667;
	  display: inline-block;
	border-bottom:solid 2px #032667;
}
.case_haikei{
	background: url(/wp-content/uploads/2020/05/34ys6dfh.svg);
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 65vw 650px;
}
.product_haikei{
	background: url(/wp-content/uploads/2020/05/34ys6dfh.svg);
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 65vw 540px;
}
.spec{
	background-color:#032667;
	color:#fff;
	font-weight:bold;
	padding: 20px 0px 20px 20px;
	margin: 0px 0 30px;
}
.seihin_bikou{
	border-top:solid 2px #707070;
	    margin-top: 30px;
    padding-top: 20px;
	    margin-bottom: 40px;
}
@media (max-width: 1199px) {
	.case_haikei{
    background-size: 65vw 564px;
}
		.product_haikei{
    background-size: 65vw 460px;
}
}
@media (max-width: 991px) {
		.case_haikei{
    background-size: 65vw 470px;
}
			.product_haikei{
    background-size: 65vw 370px;
}
}
@media (max-width: 767px) {
	.case_catchphrase{
	    width: 61%;
	font-weight:bold;
}
			.case_haikei{
    background-size:55vw 127vw;
}
			.product_haikei{
    background-size: 55vw 55vw;
}
}
@media screen and (max-width:479px) {
			.case_haikei{
    background-size: 55vw 150vw;
}	
			.product_haikei{
    background-size: 55vw 65vw;
}
}
.case_setsumei{
margin:40px 0;	
}
.seihin_product_description{
margin:40px 0;	
}
.mainImage img{
	border:solid 3px #e3e3e3;
}
.property-flex-inner img{
	border:solid 2px #e3e3e3;
}
.seihin_box{
	margin:0 0 40px;	
}

.tbproperty th{
    border: solid 1px #929292;
    background-color: #ECECEC;
    font-weight: normal;
    padding: 10px 0 10px 10px;
	width: 22%;
}
.tbproperty td{
    line-height: 150%;
    border: solid 1px #929292;
    padding: 10px 25px;
	background: #fff;
	    width: 28%;
}

.tbproperty{
    width: 100%;
margin-bottom: 0;
	}
@media (max-width: 767px) {
	.tbproperty{
    width: 100%;
	}
.tbproperty th,.tbproperty td{
    width: 100%;
    display: block;
}
	.tbproperty td:last-child{
    border-bottom:solid 1px #929292;
}
	.tbproperty th,.tbproperty td{
    border-bottom:none;
}
}
.category-product h4{
	margin-top:30px;
}
.seihin_img img{
max-width: 950px;	
	    width: 100%;
}
.inlinebox{
display: inline-block;	
	text-align: left;
}
@media (max-width: 767px) {
.getPostContent{
	font-size:12px;
}
}
@media (min-width: 992px) {
#menu-item-1303{
	display:none;
}
}

@media screen and (min-width:480px) {
	.xsbr{
		display:none;
	}

}
@media (max-width: 479px) {
	.head-inner{
		text-align:left;
	}
}
.subname p{
	margin:0;
}
.subname h4{
	margin:0;
	font-size: 20px;
}
@media (max-width: 767px) {
.subname h4{
	font-size: 18px;
}
}
.snsbox{
	margin:auto;
	    max-width: 900px;
    width: 80%;
}
.linecolor{
background:#00B900;
	border:solid 2px #00B900;
	color:#fff;
	font-weight:bold;
}
.linecolor:hover{
background:#F7F7F7;
	border-color:#00B900;
	color:#00B900;
	font-weight:bold;
}
.fbcolor{
background:#3C5A99;
	border:solid 2px #3C5A99;
		color:#fff;
	font-weight:bold;
}
.fbcolor:hover{
background:#F7F7F7;
	border-color:#3C5A99;
		color:#3C5A99;
	font-weight:bold;
}
.whcolor{
	background:#04D568;
	border:solid 2px #04D568;
		color:#fff;
	font-weight:bold;
}
.whcolor:hover{
background:#F7F7F7;
	border-color:#04D568;
		color:#04D568;
	font-weight:bold;
}


/* TOPページのファーストビュー部記事お知らせブロック */
.news-block {
    position: relative; /* 相対位置指定に変更 */
    width: 80%; /* コンテナの幅（ビューポートの80%） */
    max-width: 920px; /* 最大幅 */
    margin: -50px auto 30px auto; /* 上に負のマージン、下に正のマージン */
    padding: 15px 20px; /* パディングを少し増やす */
    background-color: #fff; /* 完全に不透明な白背景 */
    border-radius: 10px; /* 角の丸み */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* 影を追加 */
    display: flex; /* フレックスボックス */
    align-items: center; /* 中央揃え */
    justify-content: space-between; /* 内容を均等に配置 */
    z-index: 100; /* 他の要素より上に */
}
@media only screen and (min-width:1025px) {
.news-block {
    margin: -120px auto 40px auto; /* マージンをリセット */
    transform: translateY(-0px); /* 上に80px移動 */
  }
  
  /* 新着情報ブロックの下に白い背景を配置 
  .news-block::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    height: 40px;
    background-color: #f7f7f7;
    z-index: 99;
    margin-left: calc(-50vw + 50%);
  }*/
}
@media only screen and (max-width:1024px) {
.news-block {
    margin: 0 auto -80px auto; /* マージンをリセット */
    transform: translateY(-110px); /* 上に80px移動 */
  }
  
  /* 新着情報ブロックの下に白い背景を配置 */
  .news-block::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    height: 50px;
    background-color: #f7f7f7;
    z-index: 99;
    margin-top: 30px;
    margin-left: calc(-50vw + 50%);
  }
}
@media only screen and (max-width:767px) {
.news-block {
    width: 90%; /* スマホでは幅を広げる */
    margin: 0 auto -60px auto; /* マージンをリセット */
    transform: translateY(-80px); /* 上に40px移動 */
    padding: 12px 15px; /* スマホ用のパディング調整 */
  }
  
  /* 新着情報ブロックの下に白い背景を配置 */
  .news-block::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    height: 0px;
    background-color: #f7f7f7;
    z-index: 99;
    margin-left: calc(-50vw + 50%);
  }
}

@media only screen and (max-width:479px) {
.news-block {
    width: 95%; /* より小さい画面では幅をさらに広げる */
    margin: 0 auto -90px auto; /* マージンをリセット */
    transform: translateY(-80px); /* 上に30px移動 */
    padding: 10px 12px; /* より小さい画面用のパディング調整 */
  }
  
  /* 新着情報ブロックの下に白い背景を配置 */
  .news-block::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    height: 20px;
    background-color: #f7f7f7;
    z-index: 99;
    margin-left: calc(-50vw + 50%);
  }
  
  .news-content {
    justify-content: flex-start; /* 左寄せに変更して、テキストが切れないようにする */
    align-items: flex-start; /* 左寄せ */
    gap: 2px; /* 間隔を狭める */
  }
  
  .news-title {
    text-align: left; /* 左寄せを維持 */
    margin-top: 2px; /* マージンを調整 */
    overflow-x: auto; /* 横スクロールを有効にする */
    white-space: nowrap; /* 改行を防ぐ */
    min-width: 70%; /* flexアイテムの最小幅を設定 */
    scrollbar-width: none; /* Firefox用：スクロールバーを非表示 */
    -ms-overflow-style: none; /* IE/Edge用：スクロールバーを非表示 */
  }
  
  /* Webkit系ブラウザ（Chrome、Safari）用：スクロールバーを非表示 */
  .news-title::-webkit-scrollbar {
    display: none;
  }
}

.news-content{
    display: flex;
    align-items: center; /* 子要素を垂直方向に中央揃えにする */
    justify-content: flex-start; /* 左寄せに変更して、テキストが切れないようにする */
    width: 100%; /* コンテンツの幅を最大にする */
    gap: 8px; /* 要素間の間隔を設定 */
    flex-wrap: wrap; /* 必要に応じて折り返し */
}
.news-label, .news-date, .news-title {
    display: inline-flex; /* フレックスアイテムとして扱い、より細かい配置制御を可能にする */
    align-items: center; /* 各要素を垂直方向に中央揃えに */
    white-space: nowrap; /* 改行を防ぐ */
    flex-shrink: 0; /* 要素が縮まないようにする */
}
.news-label {
    font-size: 12px; /* ラベルのフォントサイズ */
    color: #666; /* ラベルの色（薄いグレー） */
    font-weight: bold; /* 太字 */
    margin-right: 5px; /* 日付との間隔 */
	margin-top: 12px;
}
.news-date {
    font-size: 12px; /* 日付のフォントサイズ */
    color: #666; /* 日付の色（薄いグレー） */
    margin: 0 10px; /* 日付の左右のマージンを調整して位置を適切に設定 */
}

.news-title {
    font-size: 12px; /* タイトルのフォントサイズ */
    color: #333; /* タイトルの色（濃いグレー） */
    font-weight: bold; /* 太字 */
    flex: 1 1 0; /* flex-grow: 1, flex-shrink: 1, flex-basis: 0 */
    text-align: left; /* 左寄せに変更 */
    margin-top: 6px;
    overflow-x: auto; /* 横スクロールを有効にする */
    white-space: nowrap; /* 改行を防ぐ */
    min-width: 70%; /* flexアイテムの最小幅を設定 */
    scrollbar-width: none; /* Firefox用：スクロールバーを非表示 */
    -ms-overflow-style: none; /* IE/Edge用：スクロールバーを非表示 */
}

/* Webkit系ブラウザ（Chrome、Safari）用：スクロールバーを非表示 */
.news-title::-webkit-scrollbar {
    display: none;
}
/* TOPページのファーストビュー部記事お知らせブロック　ここまで */

/* list-serviceカテゴリ専用レイアウト - より具体的なセレクタ */
.entries--archive .article.list-service-item {
    margin-bottom: 30px !important;
    border-bottom: 1px solid #eee !important;
    padding-bottom: 30px !important;
    width: 100% !important;
    float: none !important;
}

.entries--archive .article.list-service-item:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
}

.entries--archive .list-service-link {
    display: block !important;
    text-decoration: none !important;
    color: inherit !important;
    transition: opacity 0.3s ease !important;
    width: 100% !important;
}

.entries--archive .list-service-link:hover {
    opacity: 0.8 !important;
    text-decoration: none !important;
    color: inherit !important;
}

.entries--archive .entry.list-service-entry {
    display: flex !important;
    align-items: stretch !important;
    min-height: 200px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.entries--archive .entry--has_media__inner.list-service-inner {
    display: flex !important;
    width: 100% !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.entries--archive .list-service-thumbnail {
    flex: 0 0 240px !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    height: 135px !important;
    margin: 0 !important;
    padding: 0 !important;
    /* 16:9のアスペクト比を固定 */
    aspect-ratio: 16 / 9 !important;
}

.entries--archive .list-service-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
    margin: 0 !important;
    padding: 0 !important;
}

.entries--archive .list-service-link:hover .list-service-thumbnail img {
    transform: scale(1.05) !important;
}

.entries--archive .entry--has_media__body.list-service-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 200px !important;
}

.entries--archive .list-service-title {
    font-size: 1.4em !important;
    font-weight: bold !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    color: #333 !important;
    /* タイトルを上部1/3の中央に配置 */
    height: 33.33% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.entries--archive .list-service-excerpt {
    font-size: 0.95em !important;
    line-height: 1.6 !important;
    color: #666 !important;
    margin: 0 !important;
    /* 概要を下部2/3の中央に配置 */
    height: 66.67% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
    .entries--archive .entry.list-service-entry {
        min-height: auto !important;
    }
    
    .entries--archive .entry--has_media__inner.list-service-inner {
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    .entries--archive .list-service-thumbnail {
        flex: 0 0 auto !important;
        height: 135px !important;
        width: 240px !important;
        /* 16:9のアスペクト比を固定 */
        aspect-ratio: 16 / 9 !important;
    }
    
    .entries--archive .entry--has_media__body.list-service-content {
        height: auto !important;
        min-height: 120px !important;
    }
    
    .entries--archive .list-service-title {
        font-size: 1.2em !important;
        margin-bottom: 10px !important;
        height: auto !important;
        display: block !important;
    }
    
    .entries--archive .list-service-excerpt {
        font-size: 0.9em !important;
        height: auto !important;
        display: block !important;
    }
}

/* 画像とテキストのレスポンシブレイアウト改善 */
.content-with-image {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin: 30px 0;
}

.content-with-image .image-container {
    flex: 0 0 400px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.content-with-image .image-container img {
    width: 100%;
    height: 225px; /* 16:9の比率 */
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.content-with-image .image-container:hover img {
    transform: scale(1.05);
}

.content-with-image .text-content {
    flex: 1;
    min-width: 0; /* テキストの折り返しを防ぐ */
}

.content-with-image .text-content h3 {
    margin: 0 0 15px 0;
    font-size: 1.4em;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
}

.content-with-image .text-content p {
    margin: 0;
    font-size: 1em;
    line-height: 1.6;
    color: #666;
}

/* タブレット対応 */
@media screen and (max-width: 991px) {
    .content-with-image {
        gap: 20px;
    }
    
    .content-with-image .image-container {
        flex: 0 0 300px;
    }
    
    .content-with-image .image-container img {
        height: 169px; /* 16:9の比率を維持 */
    }
    
    .content-with-image .text-content h3 {
        font-size: 1.2em;
    }
}

/* スマートフォン対応 */
@media screen and (max-width: 767px) {
    .content-with-image {
        flex-direction: column;
        gap: 15px;
    }
    
    .content-with-image .image-container {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .content-with-image .image-container img {
        height: 225px; /* 16:9の比率を維持 */
        width: 100%;
    }
    
    .content-with-image .text-content {
        text-align: center;
    }
    
    .content-with-image .text-content h3 {
        font-size: 1.1em;
        margin-bottom: 10px;
    }
    
    .content-with-image .text-content p {
        font-size: 0.95em;
    }
}

/* 小さいスマートフォン対応 */
@media screen and (max-width: 479px) {
    .content-with-image .image-container {
        max-width: 100%;
    }
    
    .content-with-image .image-container img {
        height: 200px; /* 少し小さくして見やすく */
    }
    
    .content-with-image .text-content h3 {
        font-size: 1em;
    }
    
    .content-with-image .text-content p {
        font-size: 0.9em;
    }
}

/* 既存の画像レイアウト改善 */
.entry--has_media__inner img {
    max-width: 100%;
    max-height: 250px;
    object-fit: cover;
    object-position: center;
    transition: 0.2s;
    border-radius: 6px 6px 0 0;
    aspect-ratio: 16 / 9; /* 16:9の比率を追加 */
}

/* グリッドレイアウトの改善 */
.entries .entry--has_media__media {
    width: 100%;
    aspect-ratio: 16 / 9; /* 16:9の比率を追加 */
    overflow: hidden;
}

.entries .entry--has_media__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* レスポンシブ対応の改善 */
@media screen and (max-width: 767px) {
    .entries .article {
        width: 100% !important; /* スマホでは1列表示 */
        margin: 0 0 20px 0 !important;
    }
    
    .entries .entry--has_media__media {
        aspect-ratio: 16 / 9; /* 比率を維持 */
    }
}

/* 画像とテキストのレスポンシブレイアウト改善 - 空間最適化版 */
.content-with-image {
    display: flex;
    align-items: stretch; /* 上下をピッタリ合わせる */
    gap: 0; /* 画像とテキストの間隔を0に */
    margin: 30px 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* はみ出しを防ぐ */
    height: 300px; /* 固定高さ */
}

.content-with-image .image-container {
    flex: 0 0 400px;
    position: relative;
    overflow: hidden;
    margin: 0; /* 左側の空間を0に */
    height: 100%; /* 親要素の高さに合わせる */
}

.content-with-image .image-container img {
    width: 100%;
    height: 100%; /* 親要素の高さに合わせる */
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.content-with-image .image-container:hover img {
    transform: scale(1.05);
}

.content-with-image .text-content {
    flex: 1;
    min-width: 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 上下中央配置 */
    height: 100%; /* 親要素の高さに合わせる */
}

.content-with-image .text-content h3 {
    margin: 0 0 15px 0;
    font-size: 1.4em;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
}

.content-with-image .text-content p {
    margin: 0;
    font-size: 1em;
    line-height: 1.6;
    color: #666;
    /* 文字数制限と省略表示 */
    display: -webkit-box;
    -webkit-line-clamp: 4; /* 4行まで表示 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 6.4em; /* line-height * 行数 */
}

/* タブレット対応 */
@media screen and (max-width: 991px) {
    .content-with-image {
        height: 250px; /* 少し小さく */
    }
    
    .content-with-image .image-container {
        flex: 0 0 300px;
    }
    
    .content-with-image .text-content {
        padding: 25px;
    }
    
    .content-with-image .text-content h3 {
        font-size: 1.2em;
    }
    
    .content-with-image .text-content p {
        -webkit-line-clamp: 3; /* 3行まで */
        max-height: 4.8em;
    }
}

/* スマートフォン対応 - 新しいレイアウト */
@media screen and (max-width: 767px) {
    .content-with-image {
        flex-direction: column;
        height: auto;
        min-height: 400px;
    }
    
    .content-with-image .image-container {
        flex: 0 0 auto;
        width: 100%;
        height: 200px;
        margin: 0;
    }
    
    .content-with-image .image-container img {
        width: 100%;
        height: 100%;
    }
    
    .content-with-image .text-content {
        padding: 20px;
        height: auto;
        min-height: 200px;
    }
    
    .content-with-image .text-content h3 {
        font-size: 1.1em;
        margin-bottom: 10px;
        text-align: center;
    }
    
    .content-with-image .text-content p {
        font-size: 0.95em;
        text-align: center;
        -webkit-line-clamp: 5; /* 5行まで */
        max-height: 7.6em;
    }
}

/* 小さいスマートフォン対応 */
@media screen and (max-width: 479px) {
    .content-with-image {
        min-height: 350px;
    }
    
    .content-with-image .image-container {
        height: 180px;
    }
    
    .content-with-image .text-content {
        padding: 15px;
        min-height: 170px;
    }
    
    .content-with-image .text-content h3 {
        font-size: 1em;
    }
    
    .content-with-image .text-content p {
        font-size: 0.9em;
        -webkit-line-clamp: 4; /* 4行まで */
        max-height: 6.1em;
    }
}

/* 既存のlist-serviceレイアウト改善 */
.entries--archive .entry.list-service-entry {
    display: flex !important;
    align-items: stretch !important;
    min-height: 200px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.entries--archive .entry--has_media__inner.list-service-inner {
    display: flex !important;
    width: 100% !important;
    gap: 0 !important; /* 間隔を0に */
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
}

.entries--archive .list-service-thumbnail {
    flex: 0 0 240px !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 0 !important; /* 角丸を削除 */
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    aspect-ratio: 16 / 9 !important;
}

.entries--archive .list-service-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.3s ease !important;
    margin: 0 !important;
    padding: 0 !important;
}

.entries--archive .entry--has_media__body.list-service-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 20px !important;
    margin: 0 !important;
    height: 100% !important;
}

.entries--archive .list-service-title {
    font-size: 1.4em !important;
    font-weight: bold !important;
    margin: 0 0 15px 0 !important;
    line-height: 1.4 !important;
    color: #333 !important;
}

.entries--archive .list-service-excerpt {
    font-size: 0.95em !important;
    line-height: 1.6 !important;
    color: #666 !important;
    margin: 0 !important;
    /* 文字数制限と省略表示 */
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important; /* 3行まで */
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-height: 4.8em !important; /* line-height * 行数 */
}

/* レスポンシブ対応 - list-service */
@media screen and (max-width: 767px) {
    .entries--archive .entry.list-service-entry {
        min-height: auto !important;
        flex-direction: column !important;
    }
    
    .entries--archive .entry--has_media__inner.list-service-inner {
        flex-direction: column !important;
        gap: 0 !important;
    }
    
    .entries--archive .list-service-thumbnail {
        flex: 0 0 auto !important;
        height: 135px !important;
        width: 100% !important;
        border-radius: 8px 8px 0 0 !important;
    }
    
    .entries--archive .entry--has_media__body.list-service-content {
        height: auto !important;
        min-height: 120px !important;
        padding: 15px !important;
    }
    
    .entries--archive .list-service-title {
        font-size: 1.2em !important;
        margin-bottom: 10px !important;
        text-align: center !important;
    }
    
    .entries--archive .list-service-excerpt {
        font-size: 0.9em !important;
        text-align: center !important;
        -webkit-line-clamp: 4 !important; /* 4行まで */
        max-height: 6.4em !important;
    }
}

/* 既存の画像レイアウト改善 */
.entry--has_media__inner img {
    max-width: 100%;
    max-height: 250px;
    object-fit: cover;
    object-position: center;
    transition: 0.2s;
    border-radius: 6px 6px 0 0;
    aspect-ratio: 16 / 9;
}

/* グリッドレイアウトの改善 */
.entries .entry--has_media__media {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.entries .entry--has_media__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* レスポンシブ対応の改善 */
@media screen and (max-width: 767px) {
    .entries .article {
        width: 100% !important;
        margin: 0 0 20px 0 !important;
    }
    
    .entries .entry--has_media__media {
        aspect-ratio: 16 / 9;
    }
}

/* SP表示用の新しいレイアウト - タイトルを画像の右に配置 */
@media screen and (max-width: 767px) {
    .content-with-image {
        flex-direction: column;
        height: auto;
        min-height: auto;
    }
    
    .content-with-image .image-container {
        flex: 0 0 auto;
        width: 100%;
        height: 200px;
        margin: 0;
    }
    
    .content-with-image .image-container img {
        width: 100%;
        height: 100%;
    }
    
    .content-with-image .text-content {
        padding: 20px;
        height: auto;
        min-height: auto;
    }
    
    .content-with-image .text-content h3 {
        font-size: 1.1em;
        margin-bottom: 10px;
        text-align: center;
    }
    
    .content-with-image .text-content p {
        font-size: 0.95em;
        text-align: center;
        -webkit-line-clamp: 5;
        max-height: 7.6em;
    }
    
    /* SP用の新しいレイアウト */
    .content-with-image.sp-layout {
        flex-direction: row;
        height: auto;
        min-height: 200px;
        align-items: flex-start;
    }
    
    .content-with-image.sp-layout .image-container {
        flex: 0 0 120px;
        height: 120px;
        border-radius: 8px;
        margin-right: 15px;
        aspect-ratio: 1 / 1; /* 1:1の比率を明示 */
    }
    
    .content-with-image.sp-layout .text-content {
        flex: 1;
        padding: 0;
        height: auto;
        min-height: auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .content-with-image.sp-layout .text-content h3 {
        font-size: 1.1em;
        margin-bottom: 8px;
        text-align: left;
        line-height: 1.3;
        /* タイトルも文字数制限 */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: 2.6em;
    }
    
    .content-with-image.sp-layout .text-content p {
        font-size: 0.9em;
        text-align: left;
        -webkit-line-clamp: 3;
        max-height: 4.2em;
        margin-top: auto; /* 概要を下に配置 */
    }
}

/* list-serviceのSPレイアウト改善 */
@media screen and (max-width: 767px) {
    .entries--archive .entry.list-service-entry {
        min-height: auto !important;
        flex-direction: row !important; /* 横並びに変更 */
        align-items: flex-start !important;
        padding: 15px !important;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .entries--archive .entry--has_media__inner.list-service-inner {
        flex-direction: row !important;
        gap: 15px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        height: auto !important;
    }
    
    .entries--archive .list-service-thumbnail {
        flex: 0 0 100px !important;
        height: 100px !important;
        width: 100px !important;
        border-radius: 8px !important;
        margin: 0 !important;
        aspect-ratio: 1 / 1 !important; /* 1:1の比率を明示 */
    }
    
    .entries--archive .entry--has_media__body.list-service-content {
        flex: 1 !important;
        height: auto !important;
        min-height: auto !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
    }
    
    .entries--archive .list-service-title {
        font-size: 1.1em !important;
        margin-bottom: 8px !important;
        text-align: left !important;
        line-height: 1.3 !important;
        /* タイトルも文字数制限 */
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-height: 2.6em !important;
    }
    
    .entries--archive .list-service-excerpt {
        font-size: 0.85em !important;
        text-align: left !important;
        -webkit-line-clamp: 3 !important;
        max-height: 4.2em !important;
        margin-top: auto !important; /* 概要を下に配置 */
    }
}

/* 小さいスマートフォン対応 */
@media screen and (max-width: 479px) {
    .content-with-image.sp-layout .image-container {
        flex: 0 0 100px;
        height: 100px;
        aspect-ratio: 1 / 1; /* 1:1の比率を明示 */
    }
    
    .content-with-image.sp-layout .text-content h3 {
        font-size: 1em;
        -webkit-line-clamp: 2;
        max-height: 2.4em;
    }
    
    .content-with-image.sp-layout .text-content p {
        font-size: 0.85em;
        -webkit-line-clamp: 3;
        max-height: 3.9em;
    }
    
    .entries--archive .list-service-thumbnail {
        flex: 0 0 80px !important;
        height: 80px !important;
        width: 80px !important;
        aspect-ratio: 1 / 1 !important; /* 1:1の比率を明示 */
    }
    
    .entries--archive .list-service-title {
        font-size: 1em !important;
        -webkit-line-clamp: 2 !important;
        max-height: 2.4em !important;
    }
    
    .entries--archive .list-service-excerpt {
        font-size: 0.8em !important;
        -webkit-line-clamp: 3 !important;
        max-height: 3.9em !important;
    }
}

/* 動画用スタイル */
.video-container {
    margin: 40px 0;
    padding: 20px 0;
}

.video-container .video-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.video-container iframe {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 767px) {
    .video-container {
        margin: 20px 0;
        padding: 10px 0;
    }
    
    .video-container .video-title {
        font-size: 1.2em;
        margin-bottom: 15px;
    }
}