section {
    margin-bottom: 60px;
}

h2 {
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--c-blue);
}

h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #004086;
    margin-bottom: 65px;
}

/* Page Title */
.page-title ul {
    display: flex;
    justify-content: center;
    gap: 24px;
    color: var(--c-blue);
    font-weight: 700;
    font-size: 1.5rem;
    margin-top: 30px;
}

/* Rinen Section */
#rinen .philosophy {
    margin: 63px 0;
    text-align: center;
}

#rinen .philosophy h3 {
    text-align: center;
    margin-bottom: 20px;
}

#rinen .philosophy p {
    font-size: 1.3rem;
    color: var(--c-blue);
    font-weight: 700;
    line-height: 200%;
}

#rinen .philosophy p>span {
    font-size: 1.5rem;
}

#rinen .text {
    font-size: 1.1rem;
}

#rinen .org-chart {
    display: block;
    max-width: 320px;
    margin: 0 auto;
}

#rinen .org-chart-pc {
    display: none;
}

#rinen .org-chart,
#rinen .org-chart-pc {
    margin: 40px auto;
    text-align: center;
    width: 100%;
}

#rinen .org-chart img,
#rinen .org-chart-pc img {
    margin: 0 auto;
}

/* Gaiyo Section */
#gaiyo h2 {
    margin-bottom: 30px;
}

#gaiyo dl {
    margin: 0;
    padding: 0;
}

#gaiyo .row {
    display: flex;
    margin: 0;
}

#gaiyo .row dt,
#gaiyo .row dd {
    margin: 0;
    padding: 8px 12px;
    box-sizing: border-box;
}

#gaiyo .row dt {
    flex: 3;
    border-top: 2px solid #004086;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 24px;
    color: var(--c-blue);
}

#gaiyo .row dd {
    flex: 7;
    border-top: 2px solid #C5C5C5;
}

#gaiyo .row:last-child dt {
    border-bottom: 2px solid #004086;
}

#gaiyo .row:last-child dd {
    border-bottom: 2px solid #C5C5C5;
}

/* Business Section */
#business dl {
    margin: 0;
    padding: 0;
}

#business .row {
    display: flex;
    margin: 0;
}

#business .row dt,
#business .row dd {
    margin: 0;
    padding: 8px 12px;
    box-sizing: border-box;
}

#business .row dt br,
#business .row dd br {
    display: none;
}

#business table,
#business>div {
    margin-top: 2.5rem;
}

#business .row dt {
    flex: 3;
    border-bottom: 2px solid #004086;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 24px;
    color: var(--c-blue);
}

#business .row dt::before {
    content: "■";
    color: #004086;
    margin-right: 10px;
}

#business .row dd {
    flex: 7;
    border-bottom: 2px solid #004086;
}

/* History Section */
#histry dl {
    margin: 0;
    padding: 0;
}

#histry .row {
    display: flex;
    margin: 0;
}

#histry .row dt,
#histry .row dd {
    margin: 0;
    padding: 8px 12px;
    box-sizing: border-box;
}

#histry .row dt {
    flex: 3;
    border-top: 2px solid #004086;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 24px;
    color: var(--c-blue);
}

#histry .row dd {
    flex: 7;
    border-top: 2px solid #C5C5C5;
}

#histry .row:last-child dt {
    border-bottom: 2px solid #004086;
}

#histry .row:last-child dd {
    border-bottom: 2px solid #C5C5C5;
}

/* Access Section */
#access {
    margin-bottom: 120px;
}

#access .img-flex {
    display: flex;
    gap: 10px;
}

#access .map iframe {
    aspect-ratio: 1/0.5;
}

#access .access {
    margin-top: 30px;
}

#access .access div {
    margin-top: 30px;
}

#access .access div h4 {
    position: relative;
    padding-left: 30px;
}

#access .access div h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
}

#access .access div:first-of-type h4::before {
    background-image: url('../img/icon_car.png');
}

#access .access div:last-of-type h4::before {
    background-image: url('../img/icon_bus.png');
}

#access .access div ul {
    list-style: disc;
    padding-left: 1.5em;
}


/* Media Queries */
@media (min-width: 769px) {
    #rinen .org-chart {
        display: none !important;
    }

    #rinen .org-chart-pc {
        display: block !important;
    }
}

@media (max-width: 768px) {

    /* Page Title Responsive */
    .page-title ul {
        display: block;
        margin: 10px 30px !important;
    }

    .page-title ul li::before {
        content: "> ";
    }

    /* Gaiyo Responsive */
    #gaiyo .row {
        display: flex;
        border: none;
        margin: 0;
        padding: 0;
        flex-direction: column;
        align-items: flex-start;
    }

    #gaiyo dt {
        width: 100%;
        padding: 12px 16px;
        font-weight: 700;
        font-size: 1.1rem;
        padding-left: 0 !important;
        color: var(--c-blue);
    }

    #gaiyo dt br {
        display: inline !important;
    }

    #gaiyo dd {
        border: none !important;
        padding: 12px 16px;
        width: 100%;
    }

    #gaiyo .row:last-child dt {
        border-bottom: none !important;
    }

    #gaiyo .row:last-child dd {
        border-bottom: 2px solid #004086 !important;
    }

    /* Business Responsive */
    #business .row {
        display: flex;
        border: none;
        margin: 0;
        padding: 0;
        flex-direction: column;
        align-items: flex-start;
    }

    #business dt {
        width: 100%;
        padding: 12px 16px;
        font-weight: 700;
        font-size: 1.1rem;
        padding-left: 0 !important;
        color: var(--c-blue);
    }

    #business dt br {
        display: inline !important;
    }

    #business dd {
        border: none !important;
        padding: 12px 16px;
        width: 100%;
    }

    /* History Responsive */
    #histry .row {
        display: flex;
        border: none;
        margin: 0;
        padding: 0;
        flex-direction: column;
        align-items: flex-start;
    }

    #histry dt {
        width: 100%;
        padding: 12px 16px;
        font-weight: 700;
        font-size: 1.1rem;
        padding-left: 0 !important;
        color: var(--c-blue);
    }

    #histry dt br {
        display: inline !important;
    }

    #histry dd {
        border: none !important;
        padding: 12px 16px;
        width: 100%;
    }

    #histry .row:last-child dt {
        border-bottom: none !important;
    }

    #histry .row:last-child dd {
        border-bottom: 2px solid #004086 !important;
    }


    /* Rinen Responsive */
    #rinen .philosophy {
        margin-top: 30px !important;
        text-align: left;
    }

    /* Access Responsive */
    #access .map iframe {
        aspect-ratio: 1/1;
    }

    #access .img-flex {
        flex-direction: column;
    }
}
