@charset "utf-8";


/* 代表あいさつ　Message
-------------------------------------------*/

.message-top {
    display: flex;
    flex-direction: row-reverse;
    gap: 0;
    height: 90dvh;
    max-height: 1800px;
    margin-bottom: min(10dvh, 120px);
}

.top-item {
    height: 100%;
    flex-shrink: 0;
    width: 50%;
    max-width: 580px;
    padding-top: 150px;
    padding-left: 20px;
}


.message-main-img {
    width: 50%;
    overflow: hidden;
    flex-shrink: 1;
    border-radius: 0 0 0 120px;
}

.message-main-img img {
    object-fit: cover;
    object-position: left top;
}

.name {
    font-size: min(calc(90vw / 11.6), 2rem);
    font-weight: 600;
    line-height: normal;
}

.name span {
    display: block;
    font-size: .6em;
    font-weight: 400;
}



.message-copy {
    margin-bottom: min(10dvh, 120px);
    margin-left: 2%;
    font-size: min(calc(70vw / 11.6), 1.8rem);
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: .15em;
    text-align: center;
}

.message-item {
    display: flex;
    flex-direction: row-reverse;
    height: fit-content; 
    margin-bottom: 80px;
}

.message-text {
    flex-shrink: 0;
    width: min(55%,500px);
    padding: 0 2% 7% 40px;
}

.message-text p {
    margin-bottom: 20px;
}

.message-img {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.message-img img {
    object-fit: cover;
    object-position: right top;
}




/* 経営理念 Philosophy
-------------------------------------------*/

#philosophy.wrapper {
    max-width: 1200px;
    scroll-margin-top: 80px;
}

#philosophy .section-title {
    text-align: center;
}

.philosophy-container {
    margin: 0 20px;
    padding: 50px;
    border-radius: 60px;
    background: linear-gradient(240deg, #C1E5F5, #C9E3BC);
}

.philosophy-logo {
    display: block;
    width: 150px;
    margin-left: auto;
}

.philosophy-text {
    padding: 0 50px 90px;
    font-size: min(calc(50vw / 11.6), 1.4rem);
}

.philosophy-copy {
    margin: 40px 0;
    font-size: min(calc(80vw / 11.6), 2.2rem);
    font-weight: 600;
    letter-spacing: .2em;
    white-space: nowrap;

}


/* 会社概要　Overview
-------------------------------------------*/

#overview {
    scroll-margin-top: 80px;
}

#overview .section-title {
    text-align: center;
}


.overview-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 0 20px;
    border-spacing: 0;
    text-align: left;
}

.overview-table th,td {
    padding: 20px 0 20px 3%;
    border-top: 1px solid var(--black);
}

.overview-table tr:last-child th,
.overview-table tr:last-child td {
    border-bottom: 1px solid var(--black);
}

.overview-table th {
    width: 23%;
    min-width: 100px;
} 

.homepage {
    text-decoration: underline 1px;
    text-underline-offset: 2px;
}




@media screen and (max-width: 1160px) {
.message-img {
    border-radius: 0 20px 20px 0;
}

}



@media screen and (max-width: 767px) {


/* 代表あいさつ　Message
-------------------------------------------*/

.message-top {
    flex-direction: column;
    height: unset;
}

.message-main-img {
    align-self: flex-end;
    width: 90%;
    border-radius: 0 0 0 60px;
}

.top-item {
    width: 100%;
    max-width: unset;
    padding: 20px;
}

.top-text {
    margin-left: 5%;
}



.message-item {
    flex-direction: column;
    margin-bottom: 60px;

}

.message-text {
    width: 100%;
    max-width: 470px;
    margin: 0 auto;
    padding: 0 20px;

}

.message-img {
    width: 95%;
}




/* 経営理念 Philosophy
-------------------------------------------*/

#philosophy.wrapper {
    scroll-margin-top: 60px;
}

.philosophy-container {
    padding: 70px 10%;
    margin-bottom: 60px;
}

.philosophy-logo {
    margin: 0 auto;
}

.philosophy-text {
    padding: 0;
}


/* 会社概要　Overview
-------------------------------------------*/


#overview {
    scroll-margin-top: 60px;
}

.overview-table {
    margin: 0 auto 60px;
}


}





@media screen and (max-width: 400px) {

.br-message {
    display: none;
}

}