
#woman_rec {
	display: flex;
	align-items: center;
	padding: 0 4%;
	height: 100%;
}

#woman_rec div:first-of-type {
	width: 40%;
	height: 100%;
}

#woman_rec div:nth-of-type(2) {
	width: 60%;
	background: #fff;
	border-radius: 25px;
	padding: 20px;
}

#woman_rec img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/*梅澤記述ここから*/

.owner#page p {
	line-height: 2.5em;
}

.rpoImage {
	width: 60%;
}

.nic-office {
    display: flex;
    justify-content: space-around; /* 画像の間に均等に余白を設定 */
}
.nic-office img {
    width: 24%; /* 画像が4つ並ぶように設定 */
    height: auto;
		margin-top: 1em;
		margin-bottom: 2em;
}

.virtical-image {
	width: 30%;
}

a.external_black:after{
    background-color: black;
    content: "";
    display: inline-flex;
    height: 10px;
    margin-left: 4px;
    -webkit-mask-image: url(https://scruminc.jp/wp-content/uploads/2024/05/external-1.png);
    mask-image: url(https://scruminc.jp/wp-content/uploads/2024/05/external-1.png);
    -webkit-mask-size: cover;
    mask-size: cover;
    width: 10px;
}

img{
	height: auto;
}

/** RSMページリライト対応**/
.rsmImage {
	width: 60%;
}

.iframe-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#rsm-contact-button {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    background-color: #d32f2f;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    text-align: center;
    z-index: 99999;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    font-size: 20px;
    line-height: 1.2;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}

#rsm-contact-button:hover {
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
    background-color: #ff4757;
}

@media screen and (max-width: 768px) {
    #rsm-contact-button {
        white-space: pre-wrap; /* 改行を有効に */
        padding: 15px 40px;
        font-size: 20px; /* 文字サイズ維持 */
        line-height: 1.3; /* 行間調整 */
    }
	
		.mkj li{
		margin-left: 30px;
	}
}

@media screen and (max-width: 480px) {
    #rsm-contact-button {
        white-space: pre-wrap; /* 改行を有効に */
        padding: 10px 30px;
        font-size: 18px; /* モバイルでも見やすい文字サイズ */
        line-height: 1.2; /* 行間調整 */
    }
	
	.mkj li{
		margin-left: 30px;
	}
}

/** 事例紹介ボタンの位置を均等化 **/
.casestudy-item, .service-item{
	display: flex;
  flex-direction: column;
}

.casestudy-button-wrapper {
	margin-top: auto;
}

/** 関連ブログ記事の紹介で使用するbox **/
.highlight-box {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 1em auto;
	padding: 14px 8px;
    border: 2px solid #eee;
    text-decoration: none;
    transition: .5s;
    width: 60%;
    min-width: 270px;
}

.highlight-box:before {
	border-top:2px solid #c6d4c6;
	border-left:2px solid #c6d4c6;
	content: '';
	display: block;
	position: absolute;
	top: -2px;
	left: -2px;
	width: 20px;
	height: 20px;
	z-index: 1;
}

.highlight-box:hover{
  background-color:rgba(214, 210, 210,.1);
  transform: translateY(-4px);
  box-shadow: 0px 6px 6px 0px rgba(0, 0, 0, .1);
  color: black;
  text-decoration: none;
}

/*梅澤記述ここまで*/

@media screen and (min-width: 769px) and (max-width: 1000px) {
	
	#woman_rec div:first-of-type {
		width: 60%;
	}

	#woman_rec div:nth-of-type(2) {
		width: 40%;
	}
}

@media screen and (max-width: 768px) {
	#woman_rec {
		flex-direction: column;
	}
	
	#woman_rec div:first-of-type {
		width: 100%;
	}

	#woman_rec div:nth-of-type(2) {
		width: 100%;
	}

/*梅澤記述ここから*/
	.rpoImage, .rsmImage {
		width: min(90%, 500px);
	}
	
	.nic-office {
		flex-wrap: wrap; /* 画像を折り返す */
	}

	.nic-office img {
		width: 45%; /* 2つ並べる */
		margin-bottom: 20px;
  }
	
	.virtical-image {
		width: 100%;
	}
	
/*梅澤記述ここまで*/

}

/*=======
 記事ページ 
==========*/

.img_panasonic {
	max-width: 100%;
}

.article_pana_sec {
	margin-bottom: 80px;
}

img#img_13_pana {
	width: 130px;
}

#img_13_pana_ui {
	width: 40%;
	margin-bottom: 0;
	font-size: 12px;
}


#article_annotation_scrum {
	font-size: 12px;
	display: block;
	color: #8d9295;
	margin-top: 40px;
}



/*=========
 ロゴ部分 
==========*/

#article_logo_txt_area {
	margin-top: 30px;
}

#article_logo_txt_area div {
	width: 20%;
}

#article_logo_txt_area p:nth-of-type(2) {
	margin-top: 30px;
}

#article_logo_txt_area div figure {
	margin: -50px 0 0 0;
}

#article_logo_txt_area div figure figcaption {
	font-size: 12px;
}


@media screen and (max-width: 992px) {
	
	#article_logo_txt_area div {
		width: 100%;
		margin: 15px 0;
	}

	#article_annotation_scrum {
		margin-top: 20px;
	}

	#article_logo_txt_area div figure {
		margin:0;
	}

	#Wumpatskun_logo_01_pana {
		width: 30%;
	}
	
	#Wumpatskun_logo {
		text-align:center;
	}

	#article_logo_txt_area {
		margin-top: 0px;
	}
	
	.article_pana_sec {
		margin-bottom: 50px;
	}
	
	.sp_margin_50 {
		margin-top: 50px;
	}
	
	.sp_margin_em {
		margin-bottom: 1em;
	}
	
	.sp_margin_em_p {
		margin-top: 1em;
	}
	
	#img_13_pana_ui {
		width: 100%;
	}
}

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



/* ======
 一覧ページ
=========*/
.main_txt_bg {
	background: url("https://scruminc.jp/wp-content/uploads/2023/09/bg_main-text_area.jpg");
}

.main-text_style {
	padding-top: 1em;
	padding-bottom: 1em;
	text-align: center;
	font-size: 16px;
	line-height: 1.6;
}

@media only screen and (min-width: 993px) {
	.main-text_style {
		padding-top: 80px;
		padding-bottom: 80px;
		font-size: 24px;
		line-height: 1.6;
		text-align: center;
		margin-bottom: 80px;
	}
}


