/* ==========================================================
*
*  第二階層用CSS
*
========================================================== */

@charset "UTF-8";

/******************************************
*
Title Aria
*
******************************************/
#titleBox__photo{
	overflow:hidden;
	width:100%;
	height:300px;
}

#titleBox__photo > .safeFrame{
    position:relative;
    overflow:hidden;
    width: 100%;
    height:100%;
    max-width:1300px;
    margin:0 auto;
}

#titleBox__photo h1 {
    position: absolute;
	overflow: hidden;
    top: 50%;
    left: 0;
    width: 100%;
    height: 78px;
    transform: translateY(-50%);
    z-index: 2;
}

#titleBox__photo h1 span{
    display: inline-block;
    height: 100%;
    color: #012169;
	font-size: 3.6rem;
    line-height: 78px;
    background-color: rgba(255,255,255,0.9);
    border-bottom: 3px solid #EA7600;
    padding: 0 30px;
}

#titleBox__photo .titleBox__img{
    position: absolute;
    top: 0;
    right: 0;
    width:78%;
    height:300px;
    background-repeat:no-repeat;
    background-size:cover;
    z-index: 1;
}

#tl_product .titleBox__img{
    background-image:url('../../images/product/titlebg_pc.jpg');
    background-position:50% 50%;
} 
#tl_guidance .titleBox__img{
    background-image:url('../../guidance/images/top/titlebg_pc.jpg');
    background-position:50% 0;
} 
#tl_kaigo .titleBox__img{
    background-image:url('../../kaigo/images/titlebg_pc.jpg');
    background-position:50% 50%;
} 
#tl_blog .titleBox__img{
    background-image:url('../../blog/images/titlebg_pc.jpg');
    background-position:50% 50%;
} 
#tl_strength .titleBox__img{
    background-image:url('../../strength/images/titlebg_pc.jpg');
    background-position:50% 50%;
} 

#titleBox__photo.bkPict{
    height:300px;
    background-repeat:no-repeat;
    background-position:50% 50%;
    /*background-size: contain;*/
    background-size:cover;
    line-height:100%;
}

#titleBox__photo.bkPict h1{
    text-align:left;
    margin-left:0;
}

#titleBox__photo.bkPict h1:after {
    margin: 1.0em 0 0;
}


/* for Sp --------------------*/
@media screen and (max-width: 767px) {

#titleBox__photo{
	overflow:hidden;
	width:100%;
	height:224px;
}

#titleBox__photo > .safeFrame{
    max-width: none;
}

#titleBox__photo h1 {
    display: inline-block;
    top: unset;
    bottom: 0;
    left: 50%;
    width: 350px;
    height: 48px;
    padding: 0;
    transform: translate(-50%, 0);
}

#titleBox__photo h1 span{
    width: 100%;
	font-size: 2.3rem;
    line-height: 48px;
    border-bottom: 2px solid #EA7600;
    text-align: center;
}

#titleBox__photo .titleBox__img{
    position: absolute;
    top: 0;
    right: 0;
    width:100%;
    height:200px;
    background-repeat:no-repeat;
    background-size:cover;
    z-index: 1;
}

#tl_product .titleBox__img{
    background-image:url('../images/product/titlebg_sp.jpg');
    background-position:50% 50%;
} 
#tl_guidance .titleBox__img{
    background-image:url('../guidance/images/top/titlebg_sp.jpg');
    background-position:50% 0;
} 
#tl_kaigo .titleBox__img{
    background-image:url('../kaigo/images/titlebg_sp.jpg');
    background-position:50% 50%;
} 
#tl_blog .titleBox__img{
    background-image:url('../blog/images/titlebg_sp.jpg');
    background-position:50% 50%;
} 
#tl_strength .titleBox__img{
    background-image:url('../strength/images/titlebg_sp.jpg');
    background-position:50% 50%;
} 

#titleBox__photo.bkPict{
    height:300px;
    background-repeat:no-repeat;
    background-position:50% 50%;
    /*background-size: contain;*/
    background-size:cover;
    line-height:100%;
}

#titleBox__photo.bkPict h1{
    text-align:left;
    margin-left:0;
}

#titleBox__photo.bkPict h1:after {
    margin: 1.0em 0 0;
}
    
}


/******************************************
*
leadtxt Aria
*
******************************************/
h2.secTtl {
    color: #012169;
    font-size: 3.0rem;
    font-weight: 700;
    line-height: 1.5em;
    text-align: center;
    margin-bottom: 25px;
}

p.topTxt {
    color: #000;
    font-size: 1.8rem;
    line-height: 1.8em;
    text-align: center;
    margin-bottom: 30px;
}


/* for Sp --------------------*/
@media screen and (max-width: 767px) {

h2.secTtl {
    font-size: 2.0rem;
    line-height: 1.5em;
    margin-bottom: 15px;
}

p.topTxt {
    font-size: 1.4rem;
    line-height: 1.6em;
    margin-bottom: 20px;
}
    
}


/******************************************
*
innerlink
*
******************************************/

ul.sec-layer__innerlinklist {
    display: flex;
    display: -webkit-flex;
    width: 1150px;
    margin: 0 auto 35px auto;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    justify-content: center;
    align-items: center;
}

ul.sec-layer__innerlinklist li {
    width: 360px;
    margin: 0 30px 30px 0;
}

ul.sec-layer__innerlinklist li:nth-child(3n) {
    margin: 0 0 30px 0;
}

ul.sec-layer__innerlinklist li:last-child {
    margin: 0 0 30px 0;
}

ul.sec-layer__innerlinklist a {
    display: block;
    position: relative;
    width: 100%;
    height: 92px;
}

ul.sec-layer__innerlinklist .imgbox {
    position: absolute;
    top: 0;
    left: 0;
    width: 92px;
    height: 92px;
    background-color: #F5F5F5;
    border-radius: 50%;
    padding: 3px;
    overflow: hidden;
    z-index: 2;
}

ul.sec-layer__innerlinklist .imgbox img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}

ul.sec-layer__innerlinklist p.txtbox {
    position: absolute;
    top: 50%;
    right: 0;
    width: calc(100% - 70px);
    height: 70px;
    font-size: 2.0rem;
    font-weight: 700;
    line-height: 1.25em;
    background: linear-gradient(#FAFAFA, #E6E6E6);
    border-radius: 0 10px 0 0;
    border-bottom: 3px solid #EA7600;
    overflow: hidden;
    transform: translateY(-50%);
    z-index: 1;
}

ul.sec-layer__innerlinklist p.txtbox span {
    position: absolute;
    top: 50%;
    left: 30px;
    width: 100%;
    transform: translateY(-50%);
}


/* for Sp --------------------*/
@media screen and (max-width: 767px) {

ul.sec-layer__innerlinklist {
    display: flex;
    display: -webkit-flex;
    width: 100%;
    margin: 0 auto 10px auto;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

ul.sec-layer__innerlinklist li {
    width: 48.5%;
    margin: 0 0 3% 0;
}
    
ul.sec-layer__innerlinklist li:nth-child(3n) {
    margin: 0 0 3% 0;
}
    
ul.sec-layer__innerlinklist li:last-child {
    margin: 0 0 3% 0;
}

#product ul.sec-layer__innerlinklist li:last-child, #kaigo ul.sec-layer__innerlinklist li:last-child, #blog ul.sec-layer__innerlinklist li:last-child {
    margin: 0 auto 3% auto;
}

ul.sec-layer__innerlinklist a {
    display: block;
    position: static;
    width: 100%;
    height: 46px;
}

ul.sec-layer__innerlinklist .imgbox { display: none; }
ul.sec-layer__innerlinklist .imgbox img { display: none; }

ul.sec-layer__innerlinklist p.txtbox {
    position: relative;
    top: inherit;
    right: inherit;
    width: 100%;
    height: 100%;
    font-size: 1.3rem;
    line-height: 1.25em;
    text-align: center;
    background: transparent;
    border-radius: 5px;
    border: 2px solid #012169;
    padding-left: 0;
    overflow: hidden;
    transform: none;
}
    
ul.sec-layer__innerlinklist p.txtbox span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
    
}


/******************************************
*
Title Parts
*
******************************************/

/*帯付タイトルベース*/
h3.basedTtl {
    width: 100%;
    height: 60px;
    color: #FFF;
    font-size: 3.0rem;
    font-weight: 700;
    line-height: 60px;
    background-color: #012169;
    border: none;
    margin-bottom: 35px;
    padding: 0 0 0 20px;
}

/*センター合わせ*/
h4.centerTtl {
    color: #012169;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.5em;
    text-align: center;
    margin-bottom: 35px;
}

/*線付きタイトル*/
h4.lineTtl{
    width: 100%;
    height: 35px;
    font-size: 2.0rem;
    line-height: 35px;
    border-left: 4px solid #012169;
    margin-bottom: 25px;
    padding-left: 15px;
}

/*検索フォームタイトル*/
h3.search_iconImg{
    width: 100%;
    height: 195px;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.0em;
    text-align: center;
    background:url('../images/product/i_freeword.jpg') top center no-repeat;
    background-size: 150px 130px;
    margin-bottom: 30px;
    padding-top: 160px;
}

#p3 {
    margin: 0 auto 65px auto;
	padding: 25px 0;
	text-align: center;
}


/* for Sp --------------------*/
@media screen and (max-width: 767px) {
    
/*帯付タイトルベース*/
h3.basedTtl {
    width: 100%;
    height: 35px;
    font-size: 2.0rem;
    line-height: 35px;
    margin-bottom: 25px;
    padding: 0 0 0 10px;
}

/*センター合わせ*/
h4.centerTtl {
    font-size: 2.0rem;
    line-height: 1.5em;
    text-align: center;
    margin-bottom: 20px;
}

/*線付きタイトル*/
h4.lineTtl{
    width: 100%;
    height: 26px;
    font-size: 1.6rem;
    line-height: 26px;
    margin-bottom: 12px;
}
    
/*検索フォームタイトル*/
h3.search_iconImg{
    width: 100%;
    height: 150px;
    font-size: 1.8rem;
    line-height: 1.0em;
    background:url('../images/product/i_freeword.jpg') top center no-repeat;
    background-size: 130px 112px;
    margin-bottom: 15px;
    padding-top: 130px;
}
    
#p3 {
    width: 94%;
    max-width: 350px;
    margin: 0 auto 30px auto;
    padding: 15px 0;
    text-align: center;
}   

}


/******************************************
*
link Parts
*
******************************************/

.sec-layer__linkarea {
    width: 1150px;
    margin: 0 auto;
}

.sec-layer__linkarea__box {
    display: flex;
    display: -webkit-flex;
    width: 100%;
    margin-bottom: 60px;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

/*ロングリンク*/
.sec-layer__linkarea__box.longlink li, .sec-layer__linkarea__box.bloglink a, .sec-layer__linkarea__box.quarterlink a {
    background-color: #FFF;
    box-shadow: 0 0 5px rgba(0,0,0,0.3); 
}

.sec-layer__linkarea__box.longlink li {
    width: 100%;
    margin-bottom: 60px;
}

.sec-layer__linkarea__box.longlink dl {
    display: flex;
    display: -webkit-flex;
    width: 100%;
    padding: 20px 20px 20px 30px; 
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

.sec-layer__linkarea__box.longlink dt {
    width: 560px;
}

.sec-layer__linkarea__box.longlink dt h4 {
    display: inline-block;
    color: #012169;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.6em;
    margin-bottom: 35px;
    padding: 0 5px 10px 5px; 
    border-bottom: 2px solid #EA7600;
}

.sec-layer__linkarea__box.longlink dt > p {
    font-size: 16px;
    line-height: 1.9em;
    margin-bottom: 40px;
    padding-right: 40px;
}

.sec-layer__linkarea__box.longlink dd {
    width: 540px;
}

.sec-layer__linkarea__box.longlink dd img {
    width: 100%;
}


/*記事用リンク*/
.sec-layer__linkarea__box.bloglink li {
    width: 100%;
    margin-bottom: 20px;
}

.sec-layer__linkarea__box.bloglink a {
    display: flex;
    display: -webkit-flex;
    width: 100%;
    text-decoration: none;
    padding: 15px;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

.sec-layer__linkarea__box.bloglink .imgarea {
    width: 140px;
    height: 140px;
}

.sec-layer__linkarea__box.bloglink .imgarea img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.sec-layer__linkarea__box.bloglink .txtarea {
    width: calc(100% - 175px);
    padding-top: 40px;
}

.sec-layer__linkarea__box.bloglink .txtarea time, .sec-layer__linkarea__box.bloglink .txtarea p.orgTxt {
    display: block;
    width: 100%;
    color: #EA7600;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.0em;
    margin-bottom: 10px;
}

.sec-layer__linkarea__box.bloglink .txtarea p.blogTtl {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5em;
}


/*四分割*/
.sec-layer__linkarea__box.quarterlink li {
    width: 270px;
    margin-bottom: 25px;
}

.sec-layer__linkarea__box.quarterlink::after {
    content: '';
    width: 270px;
}

.sec-layer__linkarea__box.quarterlink.after_box2::after {
    content: '';
    width: 563px;
}

.sec-layer__linkarea__box.quarterlink a {
    display: block;
    width: 100%;
    height: 270px;
    padding: 15px;
}

.sec-layer__linkarea__box.quarterlink p {
    position: relative;
    width: 100%;
    height: 58px;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3em;
    text-align: center;
    margin-bottom: 10px;
}

.sec-layer__linkarea__box.quarterlink p span {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
}

.sec-layer__linkarea__box.quarterlink .imgarea {
    width: 100%;
}

.sec-layer__linkarea__box.quarterlink .imgarea img {
    width: 100%;
}


a.i_arrow {
    display: block;
    position: relative;
    width: 210px;
    height: 19px;
	font-size: 18px;
    font-weight: 700;
    line-height: 19px;
    margin: 0 auto 100px auto;
}

a.i_arrow::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 5px;
    width: 19px;
    height: 19px;
	background:url('../images/icon/arrow.png') right top no-repeat;
    background-size: contain;
    z-index: 1;
    transition: all 0.2s;
}

a.i_arrow:hover::after {
    right: 0;
}


/* for Sp --------------------*/
@media screen and (max-width: 767px) {
    
.sec-layer__linkarea {
    width: 100%;
}

.sec-layer__linkarea__box {
    width: 100%;
    margin-bottom: 30px;
}

/*記事用リンク*/
.sec-layer__linkarea__box.longlink li, .sec-layer__linkarea__box.bloglink a, .sec-layer__linkarea__box.quarterlink a {
    box-shadow: 0 0 4px rgba(0,0,0,0.3); 
}

.sec-layer__linkarea__box.longlink li {
    width: 100%;
    margin-bottom: 20px; 
}

.sec-layer__linkarea__box.longlink dl {
    flex-wrap: wrap-reverse;
    padding: 10px;
}

.sec-layer__linkarea__box.longlink dt {
    width: 100%;
}

.sec-layer__linkarea__box.longlink dt h4 {
    font-size: 16px;
    line-height: 1.6em;
    margin-bottom: 10px;
    padding: 0 5px 5px 5px; 
}

.sec-layer__linkarea__box.longlink dt > p {
    font-size: 12px;
    line-height: 1.6em;
    margin-bottom: 15px;
    padding: 0;
}

.sec-layer__linkarea__box.longlink dd {
    width: 100%;
    margin-bottom: 15px;
}


/*記事用リンク*/
.sec-layer__linkarea__box.bloglink li {
    width: 100%;
    margin-bottom: 20px;
}

.sec-layer__linkarea__box.bloglink a {
    width: 100%;
    padding: 10px;
}

.sec-layer__linkarea__box.bloglink .imgarea {
    width: 80px;
    height: 80px;
}

.sec-layer__linkarea__box.bloglink .txtarea {
    width: calc(100% - 90px);
    padding-top: 8px;
}

.sec-layer__linkarea__box.bloglink .txtarea time, .sec-layer__linkarea__box.bloglink .txtarea p.orgTxt {
    width: 100%;
    font-size: 1.2rem;
    line-height: 1.0em;
    margin-bottom: 5px;
}

.sec-layer__linkarea__box.bloglink .txtarea p.blogTtl {
    font-size: 1.4rem;
    line-height: 1.3em;
    letter-spacing: 0;
}


/*四分割*/
.sec-layer__linkarea__box.quarterlink li {
    width: 47.5%;
    margin-bottom: 20px;
}

.sec-layer__linkarea__box.quarterlink::after {
    content: '';
    width: 47.5%;
}

.sec-layer__linkarea__box.quarterlink.after_box2::after {
    content: '';
    width: 47.5%;
}

.sec-layer__linkarea__box.quarterlink a {
    display: block;
    width: 100%;
    height: auto;
    padding: 10px;
}

.sec-layer__linkarea__box.quarterlink p {
    width: 100%;
    height: 30px;
    font-size: 1.4rem;
    line-height: 1.3em;
    letter-spacing: 0;
    text-align: center;
    margin-bottom: 10px;
}

.sec-layer__linkarea__box.quarterlink p span {
    display: inline-block;
    vertical-align: middle;
}

.sec-layer__linkarea__box.quarterlink .imgarea {
    width: 100%;
}
    
.sec-layer__linkarea__box.quarterlink .imgarea img {
    width: 100%;
}
    
a.i_arrow {
    width: 170px;
    height: 15px;
    font-size: 15px;
    line-height: 14px;
    margin: 0 auto 50px auto;
}

a.i_arrow::after {
    right: 0;
    width: 15px;
    height: 15px;
    background:url('../images/icon/arrow.png') right top no-repeat;
    background-size: contain;
}
    
}