/*
Theme Name: 株式会社 Ray コーポレートサイト
Theme URI:https://ray.working-space.jp/
Author: 株式会社 For f
Author URI: https://www.forf.jp/
Description:
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-theme, responsive, real-estate, local-business
Text Domain:https://ray.working-space.jp/
*/

/*-------------------------*/
/*--------ヘッディング-------*/
/*-------------------------*/
.top_page_heading_img{
    max-width: 1280px;
    margin: 0 auto;

}
.top_page_heading_text{
    max-width: 1080px;
    background-color: rgba(214, 214, 214, 0.9);
    z-index:1;
    text-align: center;
    position: relative;
    margin: 0 auto;
    margin-top: -160px;
    height: 384px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 60px;
    border-radius: 10px;
    box-sizing: border-box;
}
.top_page_heading_img{
    height: 480px;
    border-radius: 10px;
}
.top_page_heading_img img{
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}
.top_page_heading_text h2{
    font-size: 30px;
    margin-bottom: 40px;
    font-weight: 500;
    width:  100%;
}
.top_page_heading_text p{
    font-size: 14px;
    margin-bottom: 80px;
    width:  100%;
}
@media(max-width:768px){
    .top_page_heading_wrapper{
        margin-top: 40px;
    }
    .top_page_heading_img{
        width: 95vw;
    }
    .top_page_heading_text{
        max-width: 880px;
        z-index:1;
        text-align: center;
        position: relative;
        margin: 0 auto;
        margin-top: -240px;
        height: 384px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        padding: 20px;
        width: 80vw;
        box-sizing: content-box;
    }
    .top_page_heading_img{
        height: 580px;
    }
    .top_page_heading_img img{
        height: 100%;
    }
    .top_page_heading_text h2{
        font-size: 25px;
        margin-bottom: 10px;
        width:100%;
    }
    .top_page_heading_text p{
        font-size: 14px;
        margin-bottom: 80px;
    }
}
/*-------------------------*/
/*-------サービス-------*/
/*-------------------------*/
.service_flex_content_wrapper{
    max-width: 1100px;
    margin: 0 auto;
    margin-top: 120px;
}
.service_flex_content{
    display: flex;
    align-items: center;
    justify-content: center;
	max-width: 1080px;
    margin: 0 auto;
}
.service_heading_text {
    text-align: center;
    margin-bottom: 40px;
}
.service_heading_text p{
    font-size: 30px;
}
.service_flex{
    text-align: center;
    width: calc(100% / 3);
    min-height: 384px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
}
.service_flex h3,
.service_flex p{
    color: #ffffff;
}
.service_flex h3{
    font-size: 20px;
    margin-bottom: 10px;
}
.service_flex p{
    font-weight: 500;
    font-size: 16px;
    min-height: 140px;
    display: flex;
    align-items: center;
}
.service_flex01{
    background-color: #343434;
    border-radius: 10px 0 0 10px;
}
.service_flex02{
    background-color: #4A4A4A;
    border-radius: 0;
}
.service_flex03{
    background-color:#6C6C6C;
    border-radius: 0 10px 10px 0 ;
}
.service_btn_area {
    display: flex;
    justify-content: center;
    /* text-align: end; */
    width: 50%;
    /* margin-left: auto; */
    /* position: relative; */
    /* bottom: -55px; */
    /* right: 20px; */
}
.service_btn_area i{
    width: 60px;
    height: 60px;
    border: 0.5px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    font-size: 20px;
    color: #ffffff;
    background-color: #898989;
}
.service_btn_area a{
    text-decoration: none;
}
@media(max-width:768px){
    .service_flex_content_wrapper{
        margin-top: 100px;
    }
    .service_flex_content{
        flex-wrap: wrap;
    }
    .service_flex{
        width: 100%;
        border-radius: 0;
    }
    .service_btn_area i{
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}

/*-------------------------*/
/*-------アバウト-------*/
/*-------------------------*/
.about_flex_content_wrapper{
    max-width: 1280px;
    margin: 0 auto;
    margin-top: 120px;
}
.about_flex_content{
    display: flex;
    min-height: 380px;
}
.about_heading_text{
    text-align: center;
    margin-bottom: 40px;
}
.about_heading_text p{
    font-size: 30px;
    font-size: 500;
}
.about_flex{
    width: 50%;
}
.about_flex img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px 0 0 10px;
}
.about_flex01{
    border-radius: 10px 0 0 10px;
}
.about_flex02{
    background-color: #414141;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    border-radius: 0 10px 10px 0;
}
.about_flex02 p{
    color: #ffffff;
}
.about_flex02 p.about_flex_about_flex_p_heading{
    font-size: 20px;
    margin-bottom: 40px;
}
.about_flex02 p.about_flex_about_flex_p_list{
    font-size: 16px;
    margin-bottom: 40px;
}
.about_btn_area {
    text-align: end;
    display: flex;
    justify-content: end;
    text-align: end;
    width: 50%;
    margin-left: auto;
    position: relative;
    bottom: -10px;
    right: 20px;
}
.about_btn_area i{
    width: 60px;
    height: 60px;
    border: 0.5px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    font-size: 20px;
    color: #ffffff;
    background-color: #898989;
}
.about_btn_area a{
    text-decoration: none;
}
@media(max-width:768px){
    .about_flex_content_wrapper{
        margin-top: 100px;
    }
    .about_flex_content{
        display: flex;
        min-height: 600px;

        flex-wrap: wrap;
    }
    .about_flex{
        width: 100%;
        border-radius:0;
        min-height: 300px;
    }
    .about_flex img{
        border-radius:0;
    }
    .about_btn_area i{
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    .about_flex02 p.about_flex_about_flex_p_heading{
        margin-bottom: 20px;
    }
    .about_flex02 p.about_flex_about_flex_p_list{
        margin-bottom: 20px;
    }
}

/*-------------------------*/
/*-------コンタクト-------*/
/*-------------------------*/
.contact_wrapper{
    max-width: 1280px;
    margin: 0 auto;
    margin-top: 120px;
}
.contact_content{
    text-align: center;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    background-color: #626262;
    flex-direction: column;
    border-radius: 10px;
}
.contact_heading{
    text-align: center;
}
.contact_heading h5{
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 40px;
}
.contact_text p{
    font-size: 16px;
    color: #ffffff;
}
.contact_btn_flex_content{
    display: flex;
    gap:10px;
    margin-top: 20px;
}
.contact_btn_flex a{
    background-color: #202020;
    text-decoration: none;
    display: block;
    min-width: 180px;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 16px;
    border-radius: 10px;
    color: #ffffff;
}
@media(max-width:768px){
    .contact_wrapper{
        margin-top: 100px;
    }
    .contact_content{
        text-align: center;
        min-height: 420px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        background-color: #626262;
        flex-direction: column;
        border-radius: 0;
        padding: 20px;
    }
    .contact_heading{
        text-align: center;
    }
    .contact_heading h5{
        font-size: 30px;
        font-weight: 500;
        margin-bottom: 40px;
    }
    .contact_text p{
        font-size: 16px;
        color: #ffffff;
    }
    .contact_btn_flex_content{
        display: flex;
        gap:10px;
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .contact_btn_flex a{
        width: 280px;
        padding-top: 20px;
        padding-bottom: 20px;
        font-size: 18px;
        border-radius: 10px;
    }
}

/*---記事---*/
.content-area-toppage {
    background-color: #D8D8D8;
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
    margin-top: 120px;
    border-radius: 10px;
    padding: 20px;
    box-sizing: border-box;
    padding-bottom: 60px;
}
.content-area-toppage h4{
	font-size: 30px;
    margin-bottom: 40px;
    font-weight: 500;
    width:  100%;
	margin-top:40px;
}
.post-list-flex {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.post-flex-content {
    flex: 1 1 calc(33.333% - 10px);
    box-sizing: border-box;
    border: 1px solid #ddd;
    padding: 10px;
	aspect-ratio:16/9;
	border-radius:10px;
}
.post-thumbnail img {
    max-width: 100%;
    height: auto;
    display: block;
	border-radius:10px;
}
.post-thumbnail {
    position: relative;
    overflow: hidden;
}
.post-thumbnail {
    position: relative;
    overflow: hidden;
	width:100%;
}
.post-thumbnail::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.4s ease;
    border-radius: 10px;
    pointer-events: none;
    z-index: 1;
}
.post-thumbnail:hover::before {
    background-color: rgba(0, 0, 0, 0.4);
}
.overlay-title {
    position: absolute;
    left: 50%;
    bottom: -20px;
    transform: translate(-50%, 50%);
    opacity: 0;
    color: white;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 1rem;
    white-space: nowrap;
    transition: all 0.4s ease;
    z-index: 2;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
}
.post-thumbnail:hover .overlay-title {
    bottom: 50%;
    transform: translate(-50%, 50%);
    opacity: 1;
}
.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}
@media(max-width:768px){
.content-area-toppage {
    max-width: 1280px;
    margin-top: 80px;
	padding:20px;
	padding-bottom:60px;
	border-radius:0;
}
.content-area-toppage h4{
	font-size: 30px;
    margin-bottom: 20px;
}
.post-list-flex {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.post-flex-content {
    flex: auto;
    box-sizing: border-box;
    border: 1px solid #ddd;
    padding: 10px;
	aspect-ratio:16/9;
	border-radius:10px;
}
.post-thumbnail img {
    max-width: 100%;
    height: auto;
    display: block;
	border-radius:10px;
}
.post-thumbnail {
    position: relative;
    overflow: hidden;
}
.post-thumbnail {
    position: relative;
    overflow: hidden;
	width:100%;
}
}
.about_flex01 img {
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.about_flex01 img:hover {
    filter: grayscale(0%);
}
.top_page_heading_img img {
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.top_page_heading_img img:hover {
    filter: grayscale(0%);
}
.about_flex01 img {
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}
.about_flex_content_wrapper:hover .about_flex01 img {
    filter: grayscale(0%);
}
.contact_btn_flex a{
	transition: background-color 0.5s ease, color 0.5s ease;
}
.contact_btn_flex a:hover {
    background-color: #ffffff;
    color: #000000;
    transition: background-color 0.5s ease, color 0.5s ease;
}