@charset "utf-8";
/*------------------------------------------------------------
	汎用スタイル
------------------------------------------------------------*/
/* 81-LYX */
/* clearfix */	
.clearfix:after {content: "";display: block;clear: both;}
/* flex */	
.flex,.flexA,.flexB,.flexC {display: flex;flex-wrap: wrap;}
.flexA {justify-content: space-around;}
.flexB {justify-content: space-between;}
.flexC {justify-content: center;}
.roboto {
	font-weight: 400;
}
/*------------------------------------------------------------
	comPhotoBox
------------------------------------------------------------*/

#main .comPhotoBox {
	margin-top: 7rem;
    padding: 5rem 0 0rem;
    z-index: 2;
	/* background: #fff url(../img/common/bg01.png) repeat left top / 2.8rem; */
}
.comPhotoBox {
	position: relative;
	z-index: 2;
}
.comPhotoBox .title {
	margin-bottom: 1.8rem;
	text-align: center;
	font-size: 1.8rem;
	font-weight: 500;
	letter-spacing: 0.05em;
}
.comPhotoBox .photoList {
	margin-top: -2rem;
}
.comPhotoBox .photoList li {
	margin: 2rem 2.45% 0 0;
	width: 31.7%;
}
.comPhotoBox .photoList li:nth-child(3n) {
	margin-right: 0;
}
.comPhotoBox .photoList a {
	padding: 1.9rem 1.9rem 1.8rem;
	display: block;
	height: 100%;
	position: relative;
	background-color: #fff;
	border: 1px solid #E5E5E5;
}
.comPhotoBox .photoList a::after {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	content: "";
	border: 1px solid #E5E5E5;
	transition: .2s;
}
/* 追加 */
.comPhotoBox .photoList a::after{
	border-top: 0.5rem solid #009877;
}
.comPhotoBox .photoList .li01 a::after{
	border-top: 0.5rem solid #44B400;
}
.comPhotoBox .photoList .li02 a::after{
	border-top: 0.5rem solid #FF5115;
}
/* /追加 */

.comPhotoBox .photoList .img {
	margin: 0 auto;
	width: 18.3rem;
	text-align: center;
}
.comPhotoBox .photoList .li01 .img {
	width: 25.1rem;
}
.comPhotoBox .photoList .li02 .img {
	width: 21.6rem;
}
.comPhotoBox .photoList .txt {
	margin-bottom: 0.7rem;
	text-align: center;
	font-size: 1.4rem;
	font-weight: 400;
	letter-spacing: 0.05em;
}
.comPhotoBox .photoList .link {
	margin: 0 auto;
	width: 3.6rem;
	height: 3.6rem;
	border-radius: 50%;
	transition: .2s;
	background: transparent url(../img/common/icon01.png) no-repeat center center / 1.5rem;
}
/* 追加 */
.comPhotoBox .photoList .comPhotoBox_block{
	position: relative;
}
.comPhotoBox .photoList .comPhotoBox_block .link_absolute{
	position: absolute;
	right: 0%;
	top: 4px;
}

/* /追加 */
.comPhotoBox01 {
	padding: 8.2rem 0 7.9rem;
}
.comPhotoBox01 .title {
	margin-bottom: 2.3rem;
	font-size: 2rem;
}
@media all and (min-width: 768px) {
	.comPhotoBox .photoList a:hover::after {
		border: 0.8rem solid #009877;
	}
	/* .comPhotoBox .photoList a:hover .link {
		background-color: #009877;
		background-image: url(../img/common/icon02.png);
	}  */
	.comPhotoBox .photoList .li01 a:hover::after {
		border-color: #44B400;
	}
	/* .comPhotoBox .photoList .li01 a:hover .link {
		background-color: #44B400;
	} */
	.comPhotoBox .photoList .li02 a:hover::after {
		border-color: #FF5115;
	}
	/* .comPhotoBox .photoList .li02 a:hover .link {
		background-color: #FF5115;
	} */
}
@media all and (max-width: 767px) {
	.comPhotoBox .title {
		margin-bottom: 1.3rem;
		font-size: 1.6rem;
	}
	.comPhotoBox .photoList {
		display: block;
	}
	.comPhotoBox .photoList {
		margin-top: 0;
	}
	.comPhotoBox .photoList li {
		margin: 0 auto 1.8rem;
		width: auto;
	}
	.comPhotoBox .photoList li:last-child {
		margin-bottom: 0;
	}
	.comPhotoBox .photoList a {
		padding: 2.7rem 2rem 2.7rem;
	}
	.comPhotoBox .photoList .photo img {
		width: 100%;
	}
	.comPhotoBox .photoList .txt {
		margin-bottom: 0.7rem;
		font-size: 1.4rem;
		font-weight: 400;
		letter-spacing: 0.05em;
	}
	.comPhotoBox .photoList .link {
		margin: 0 auto;
		width: 3.6rem;
		height: 3.6rem;
		background: transparent url(../img/common/icon01.png) no-repeat center center / 1.5rem;
	}
	.comPhotoBox01 {
		padding: 7.7rem 0 12.2rem;
	}
	.comPhotoBox01 .title {
		margin-bottom: 1.5rem;
		font-size: 1.6rem;
	}
}
/*------------------------------------------------------------
	comBgBox
------------------------------------------------------------*/
.comBgBox {
	position: relative;
}
.visualBottomTxt.comBgBox::before {
	position: absolute;
	z-index: 1;
	height: 46rem;
	top: 0;
	left: 0;
	right: 0;
	content: "";
	background-color: #F5F3F0;
	clip-path: polygon(0 0, 0 97%, 100% 0);
	pointer-events: none;
}
/* .comBgBox:not(.comPhotoBox)::before {
	position: absolute;
	z-index: 1;
	height: 46rem;
	top: 0;
	left: 0;
	right: 0;
	content: "";
	background-color: #F5F3F0;
	clip-path: polygon(0 0, 0 97%, 100% 0);
	pointer-events: none;
} */
/* .comBgBox::after {
	position: absolute;
	z-index: 1;
	height: 55rem;
	bottom: 0;
	left: 0;
	right: 0;
	content: "";
	background-color: #F5F3F0;
	clip-path: polygon(0 4%, 0 100%, 100% 100%);
	pointer-events: none;

	opacity: 0.3;
} */
.comPhotoBox.comBgBox::after {
	position: absolute;
	z-index: 1;
	height: 55rem;
	bottom: 0;
	left: 0;
	right: 0;
	content: "";
	background-color: #F5F3F0;
	clip-path: polygon(0 4%, 0 100%, 100% 100%);
	pointer-events: none;
	z-index: -1;
}
@media all and (max-width: 767px) {
	.comBgBox:not(.comPhotoBox)::before {
		height: 8rem !important;
		clip-path: polygon(0 0, 0 97%, 100% 0) !important;
	}
	/* .comBgBox::after {
		height: 10.5rem;
		clip-path: polygon(0 31%, 0 100%, 100% 100%);
	} */
	.comPhotoBox.comBgBox::after {
		height: 10.5rem;
		clip-path: polygon(0 31%, 0 100%, 100% 100%);
	}
}
/*------------------------------------------------------------
	headline01
------------------------------------------------------------*/
.headLine01 {
	margin-bottom: 65px;
	text-align: center;
	font-size: 5.6rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	line-height: 1.32;
	text-align: left;
}
.headLine01 .num {
	margin: 2.7rem 0 3.2rem;
	display: block;
}
.headLine01 .en {
	margin-top: 1.3rem;
	display: block;
	font-size: 2rem;
	color: #CC0000;
	letter-spacing: 0.05em;
}
@media all and (max-width: 767px) {
	.headLine01 {
		margin-bottom: 2.9rem;
		text-align: center;
		font-size: 3.8rem;
		line-height: 1.5;
	}
	.headLine01 .num {
		margin: 2.7rem 0 2.9rem;
	}
	.headLine01 .en {
		margin-top: 1rem;
		font-size: 1.6rem;
	}
}
/*------------------------------------------------------------
	content
------------------------------------------------------------*/
.content {
	margin: 0 auto;
	padding: 0 2.1rem;
	max-width: 108.2rem;
}
/*------------------------------------------------------------
	fD
------------------------------------------------------------*/
.fD {
	opacity: 0;
	transform: translate(0,-2rem);
	-webkit-transition: all 1.5s;
	transition: all 1.5s;
}
.fD.on {
	opacity: 1;
	transform: translate(0,0);
}
/*------------------------------------------------------------
	open
------------------------------------------------------------*/
.open {
	opacity: 0;
	-webkit-transition: all 1.5s;
	transition: all 1.5s;
	transform: scale(0.8);
	-webkit-transform: scale(0.8);
}
.open.on {
	opacity: 1;
	transform: scale(1);
	-webkit-transform: scale(1);
}

/*------------------------------------------------------------
	RecommendTxt
------------------------------------------------------------*/
.RecommendTxt {
	text-align: left;
	margin-bottom: 70px;
}
.RecommendTxt p {
	line-height: 2;
    text-align: justify;
    letter-spacing: 0.05em;
	font-size: 1.6rem;
}
@media screen and (max-width: 767px) {
.RecommendTxt{
	margin-bottom: 0px;
}

}
/*------------------------------------------------------------
	scenario-section
------------------------------------------------------------*/
.scenario-section {
	padding-block: 0px 160px;
}
@media screen and (max-width: 767px) {
.scenario-section {
	padding-bottom: 0px;
	margin-top: 40px;
}
}

.scenario-container {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: flex-start;
}

.scenario-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* 画像エリアと赤いラベル */
.image-area {
  position: relative;
  line-height: 0;
border-top: 8px solid #CC0000;
}
@media screen and (max-width: 767px) {
.image-area{
	margin-bottom: -10px;
}
}

.main-img {
  width: 100%;
  height: auto;
position: relative;
top: -16px;
  /* 画像下の隙間を埋める */
}

.scene-label {
position: relative;
padding: 3px 15px;
top: 0px;
line-height: 1;
  left: 0;
  background: #CC0000;
  color: #fff;
  font-weight: bold;
  font-size: 1.6rem;
  font-weight: 400;
  z-index: 1;
}
.scene-label::before{
	position: absolute;
	content: "";
	width: 0;
	height: 0;
	border-left: 11px solid transparent;
	border-right: 11px solid transparent;
	border-top: 11px solid #CC0000;
	right: -22px;
}
.scene-label::after{
	position: absolute;
	content: "";
	width: 0;
	height: 0;
  border-left: 11px solid #CC0000;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  right: -11px;
}
@media screen and (max-width: 1115px) and (min-width:769px){
.scene-label::before{
	top: 3px;
}
.scene-label::after{
	top: 3px;
}
}
/* テキストエリアとアイコンの重ね合わせ */
.text-area {
  position: relative;
  padding-top: 5px;
}
@media screen and (max-width: 767px) {
.text-area {
  padding-top: 10px;
}
}
.icon-wrapper {
    position: absolute;
    top: -50px;
    right: 15px;
    width: 70px;
    height: 70px;
    background: #fff;
    border: 2px solid #CC0000;
    border-radius: 50%;
    overflow: hidden;
  z-index: 2;
}

.person-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scenario-title {
font-size: 18px;
    font-weight: 400;
    margin-bottom: 20px;
}

/* 吹き出しのデザイン */
.speech-bubble {
  position: relative;
  background: #fff;
  border: 1.5px solid #CC0000;
  border-radius: 12px;
  padding: 20px;
  font-size: 16px;
  line-height: 1.6;
}
@media screen and (max-width: 767px) {
.speech-bubble{
	font-size: 14px;
	line-height: 2;
}

}
/* 吹き出しのツノ（アイコンの下あたりから出す） */
.speech-bubble::before {
  content: "";
  position: absolute;
    top: -30px;
    right: 58px;
    border-style: solid;
    border-width: 0px 0px 30px 25px;
    border-color: transparent transparent #CC0000 transparent;
}

.speech-bubble::after {
  content: "";
  position: absolute;
    top: -26px;
    right: 60px;
    border-style: solid;
    border-width: 0px 0px 26px 21px;
    border-color: transparent transparent #fff transparent;
}

@media screen and (min-width: 768px) {
.scenario-card.card-2 {
	top: 80px;
}
.scenario-card.card-3 {
	top: 160px;
}
}
@media screen and (max-width: 767px) {
  .scenario-container {
    flex-direction: column;
    gap: 40px;
    align-items: stretch;
  }

  .scenario-card {
    width: 100%;
  }

  /* 階段状の配置：1つめ左、2つめ中央、3つめ右 */
  .card-1 { align-self: flex-start; }
  .card-2 { align-self: center; }
  .card-3 { align-self: flex-end; }

  /* スマホでは少し全体をコンパクトに */
  .icon-wrapper { width: 70px; height: 70px; top: -50px; }
}

/*------------------------------------------------------------
	微修正
------------------------------------------------------------*/
/* メインビジュアル下テキスト */
.visualBottomTxt{
	background: #fff url(../img/common/bg01.png) repeat left top / 2.8rem;
	z-index: 2;
    display: block;
    position: relative;
    padding-bottom: 80px;
	margin-top: 0rem;
    padding-top: 4rem;
}
/* 中部テキスト */
@media screen and (min-width: 768px) {
.notVisualBottomTxt{
	background: #fff url(../img/common/bg01.png) repeat left top / 2.8rem;
}
}
@media screen and (max-width: 767px) {
.notVisualBottomTxt.comPhotoBox.comBgBox::after{
	bottom: 100%;
}
}
/* 最下部外部リンク */
#main .externalLink.comPhotoBox{
	margin-bottom: 105px;
}
.externalLink.comPhotoBox01 .title{
	margin-bottom: 8.2rem;
}
@media screen and (max-width: 767px) {
	#main .externalLink.comPhotoBox{
		padding-top: 0;
		margin-top: 55px;
		margin-bottom: 125px;
	}
	.externalLink.comPhotoBox01 .title{
		margin-bottom: 40px;
	}
}
/* SpringJAPANロゴサイズ調整 */
.comPhotoBox .photoList li.li01 .img img{
	max-height: 77px;
    width: auto;
}
