/* 企業情報 */
/* いらない要素を非表示にする */
.date-tags {
    display: none;
}

/* テーブルの下線のみ表示 */
table {
    border-collapse: collapse;
    width: 100%;
}

table th,
table td {
    border: none;
    border-bottom: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

table th {
    border-bottom: 2px solid #333;
    font-weight: bold;
}

/* 最後の行の下線を非表示にする場合 */
table tr:last-child td {
    border-bottom: none;
}

/* 幅とか調整 */
.content-in {
    justify-content: center;
}

.wrap {
    width: 100%;
}

.main {
    padding: 0px !important;
    overflow: hidden;
}


.breadcrumb {
    background-color: var(--white);
}

.entry-content {
    background-color: var(--white);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
}

.content {
    margin-top: 0px;
}

.footer {
    margin-top: 0px;
}

.article {
    margin-bottom: 0px !important;
}

.article h2 {
    background: none;
}

.article h3 {
    border: none;
}

.article p{
    margin-bottom: 0px;
}


/* オリジナル */
.entry-header {
    background-color: color-mix(in srgb, var(--green-1) 65%, transparent) !important;
    position: absolute;
    left: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 45%;
}

.entry-title {
    font-weight: bold;
    color: var(--white);
    margin-top: 0px;
    text-align: center;
    padding-right: 15%;
    
}

.small-firstview-img {
    margin-top: 0px;
    overflow: hidden;
    width: 100%;
}

.small-firstview-img img {
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.align-center {
    display: flex;
    align-items: center;
}

.philosophy-header {
    position: relative;
}

.philosophy-header-fr {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.philosophy-header-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: var(--gray-1);
    font-family: 'Impact', sans-serif;
}

.philosophy-label {
    writing-mode: vertical-rl;
}

.message-label {
    writing-mode: vertical-rl;
}


.message-header {
    position: relative;
}

.message-header-fr {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.message-header-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: var(--gray-1);
    font-family: 'Impact', sans-serif;
}

.about-header {
    position: relative;
}

.about-header-fr {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.about-header-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: var(--gray-1);
    font-family: 'Impact', sans-serif;
}

.philosophy-img img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

.company-table {
    border-collapse: collapse;
}

.company-table table {
    background-color: none !important;
}

.company-table th,
.company-table td {
    border: none;
    border-bottom: 2px solid var(--green-2);
    background-color: white;
}

.company-table tr:last-child {
    border-bottom: 2px solid var(--green-2);
    background-color: white;
}




@media screen and (min-width: 1024px) {
    .philosophy {
        display: flex;
    }
    
    
    
    .message {
        display: flex;
        flex-direction: row-reverse;
    }
    
    .message-title {
        writing-mode: vertical-rl;
    }
    
    .message-label {
        writing-mode: vertical-rl;
    }
    
    .message-img-desc {
        writing-mode: vertical-rl;
    }
    

    .small-firstview-img {
        height: 380px;
    }

    .small-firstview-img img {
        height: 380px;
    }

    .spacer {
        height: 100px !important;
    }

    .entry-header {
        height: 200px;
        top: 252px;
    }

    .entry-title {
        font-size: 48px;
    }

    .not-full-width {
        max-width: 1200px;
    }

    .philosophy-header {
        width: 1000px;
        height: 122px;
    }

    .philosophy-header h2 {
        font-size: 64px;
        font-weight: bold;
        padding: 0px;
        margin-bottom: 10px;
    }

    .philosophy-header-bg {
        font-size: 100px;
        font-weight: 900;
        letter-spacing: 0.05em;
        opacity: 0.1;
        line-height: normal;
    }
    

    .philosophy {
        width: 1000px;
        height: 365px;
    }

    .philosophy h2 {
        padding: 0px;
        margin: 0px;
        width: 20px;
        font-size: 16px;
    }

    .philosophy h3 {
        padding: 0px;
        margin: 0px;
        width: 70px;
        font-size: 48px;
    }

    .philosophy-img {
        width: 200px;
        height: 100%;
    }

    

    .philosophy p {
        padding: 0px;
        margin: 0px;
        width: 710px;
        font-size: 16px;
    }

    .philosophy-desc strong{
        font-size: 18px;
    }

    .message-header {
        width: 1000px;
        height: 122px;
    }

    .message-header h2 {
        font-size: 64px;
        font-weight: bold;
        padding: 0px;
        margin-bottom: 10px;
    }

    .message-header-bg {
        font-size: 100px;
        font-weight: 900;
        letter-spacing: 0.05em;
        opacity: 0.1;
        line-height: normal;
    }

    .message {
        width: 1000px;
        height: 525px;
    }

    .message h2 {
        padding: 0px;
        margin: 0px;
        width: 20px;
        font-size: 16px;
    }

    .message h3 {
        padding: 0px;
        margin: 0px;
        width: 70px;
        font-size: 48px;
    }

    .message-img {
        width: 200px;
        height: 410px;
    }

    .message-img img {
        align-self: flex-end;
        margin-top: 255px;
    }

    .message .message-img-desc {
        writing-mode: vertical-rl;
        font-size: 16px;
        width: 20px;
    }

    .message .message-desc {
        padding: 0px;
        margin: 0px;
        width: 690px;
        font-size: 16px;
        padding-right: 20px;
    }

    .message .message-desc strong{
        font-size: 18px;
    }

    .about-header {
        width: 1000px;
        height: 122px;
    }

    .about-header h2 {
        font-size: 64px;
        font-weight: bold;
        padding: 0px;
        margin-bottom: 10px;
    }

    .about-header-bg {
        font-size: 100px;
        font-weight: 900;
        letter-spacing: 0.05em;
        opacity: 0.1;
        line-height: normal;
    }

}

@media screen and (max-width: 1023px) {
    .small-firstview-img {
        height: 130px;
    }

    .small-firstview-img img {
        height: 130px;
    }

    .spacer {
        height: 30px !important;
        margin-bottom: 0px;
    }

    .entry-header {
        height: 50px;
        top: 102px;
    }

    .entry-title {
        font-size: 16px;
        margin-bottom: 0px;
    }

    .not-full-width {
        min-width: 343px;
        width: 80%;
    }

    .philosophy-header {
        width: 343px;
        height: 58px;
    }

    .philosophy-header h2 {
        font-size: 32px;
        font-weight: bold;
        padding: 0px;
        margin-bottom: 5px;
    }

    .philosophy-header-bg {
        font-size: 48px;
        font-weight: 900;
        letter-spacing: 0.05em;
        opacity: 0.1;
        line-height: normal;
    }

    .philosophy {
        width: 343px;
        height: 600px;
        position: relative;
    }

    .philosophy-label {
        position: absolute;
        top: 0;
        left: 0;
        width: 54px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .philosophy h3 {
        font-size: 24px;
        padding: 0px;
        height: 200px;
    }

    .philosophy-img {
        position: absolute;
        top: 0;
        right: 20px;
        width: 270px;
        height: 200px;
    }

    .philosophy-desc {
        position: absolute;
        top: 210px;
        right: 0;
        width: 343px;
        height: 400px;
    }

    .philosophy p{
        font-size: 12px;
        padding-left: 3px !important;
        padding-right: 3px !important;
    }

    .message-header {
        width: 343px;
        height: 58px;
    }

    .message-header h2 {
        font-size: 32px;
        font-weight: bold;
        padding: 0px;
        margin-bottom: 5px;
        width: 343px;
    }

    .message-header-bg {
        font-size: 48px;
        font-weight: 900;
        letter-spacing: 0.05em;
        opacity: 0.1;
        line-height: normal;
    }

    .message {
        width: 343px;
        height: 800px;
        position: relative;
    }

    .message-label {
        position: absolute;
        top: 0;
        right: 0;
        width: 54px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .message h3 {
        font-size: 24px;
        padding: 0px;
        height: 250px;
    }

    .message-img {
        position: absolute;
        top: 0;
        left: 20px;
        width: 270px;
        height: 250px;
    }

    .message-img img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    }

    .message-desc {
        width: 343px;
        height: 550px;
        position: absolute;
        top: 260px;
    }

    .message p{
        font-size: 12px;
        padding-left: 3px !important;
        padding-right: 3px !important;
    }

    .about-header {
        width: 343px;
        height: 58px;
    }

    .about-header h2 {
        font-size: 32px;
        font-weight: bold;
        padding: 0px;
        margin-bottom: 5px;
        width: 343px;
    }

    .about-header-bg {
        font-size: 48px;
        font-weight: 900;
        letter-spacing: 0.05em;
        opacity: 0.1;
        line-height: normal;
    }


    .pc-only {
        display: none;
    }

}
