@charset "UTF-8";

.sub-mv {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.sub-mv-bg {
    width: 100%;
    height: 100%;
}

.sub-mv-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 50%;
    display: block;
}

.site-header {
    background: rgba(11, 20, 32, 0.4);
}

.about-title,
.greeting-title {
    font-family: 'Zen Old Mincho', serif;
    font-size: 1.8rem;

    font-weight: 400;
    letter-spacing: 0.25em;

    color: #333333;
    padding-bottom: 28px;

    margin-bottom: 28px;

    position: relative;
    display: inline-block;
}

.about-title::after,
.greeting-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;

    width: 120px;

    height: 1.5px;

    background-color: #333333;
}

.philosophy-section {
    padding: 100px 0;
    overflow: hidden;
}

.philosophy-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-left: calc((100vw - 1200px) / 2 + 40px);
}

.philosophy-content {
    flex: 1;
    max-width: 600px;
    padding-right: 100px;
    padding-left: 60px;
}

.philosophy-text p {
    font-size: 0.9rem;
    line-height: 2.2;
    letter-spacing: 0.06em;
    color: #333333;
    margin-bottom: 1.6em;
}

.philosophy-text p:last-child {
    margin-bottom: 0;
}

.philosophy-img {
    flex: 1;
    height: 520px;
}

.philosophy-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.company-section {
    background-color: #ffffff;
    padding: 100px 0;
    width: 100%;
}

.company-inner {
    display: flex;
    align-items: flex-start;
    width: 100%;
    margin: 0;
    padding: 0 40px 0 0;
    box-sizing: border-box;
}

.company-img {
    flex: 0 0 40vw;
    height: 480px;
    overflow: hidden;
}

.company-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    transform-origin: center;
    display: block;
}

.company-content {
    flex: 1;
    max-width: 480px;
    margin-left: 100px;
    box-sizing: border-box;
}

.company-dl {
    width: 100%;
    padding-top: 6px;
}

.company-row {
    display: flex;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid #d1d5db;
    font-size: 0.9rem;
}

.company-row:first-child {
    border-top: 1px solid #d1d5db;
}

.company-row dt {
    width: 120px;
    font-weight: 500;
    color: #555555;
    flex-shrink: 0;
}

.company-row dd {
    color: #333333;
    line-height: 1.8;
    flex-grow: 1;
}

.president-section {
    position: relative;
    padding: 100px 0;
    background: url('images/rugby-field.jpg') no-repeat center center / cover;
    color: #ffffff;
    overflow: hidden;
}

.president-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 20, 32, 0.88);
    z-index: 1;
}

.president-container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: flex-start;
    gap: 80px;
}

.president-left {
    flex: 0 0 380px;
}

.president-img-box {
    width: 100%;
    margin-bottom: 30px;
    overflow: hidden;
}

.president-img-box img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transform: translateX(3%) scale(1.12);
    transform-origin: center;
}

.company-name {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: #d0d7de;
    margin-bottom: 10px;
}

.president-name {
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: #ffffff;
    padding-top: 4px;
    margin-bottom: 26px;
    line-height: 1.4;
}

.president-name .name-highlight {
    font-size: 1.6rem;
    font-weight: 500;
    margin-left: 10px;
}

.president-history {
    list-style: none;
    padding: 0;
    margin: 0;
}

.president-history li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.82rem;
    line-height: 1.9;
    color: #e2e8ee;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.president-history li::before {
    content: '';
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    margin-top: 0.72em;
    border-radius: 50%;
    background-color: currentColor;
}

.president-right-box {
    flex: 1;
    background-color: #ffffff;
    color: #333333;
    padding: 50px 48px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 530px;
}

.greeting-text p {
    font-size: 0.88rem;
    line-height: 2.2;
    letter-spacing: 0.06em;
    color: #444444;
    margin-bottom: 1.8em;
}

.greeting-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1180px) {
    .philosophy-inner {
        padding-left: 40px;
    }
}

@media (max-width: 900px) {
    .philosophy-inner {
        flex-direction: column;
        padding-left: 24px;
        padding-right: 24px;
        gap: 32px;
    }

    .philosophy-content {
        max-width: 100%;
        width: 100%;
        padding-right: 0;
        padding-left: 0;
        box-sizing: border-box;
    }

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

    .company-inner {
        flex-direction: column;
        padding: 0 24px;
    }

    .company-img {
        width: 100%;
        flex: none;
        height: 320px;
    }

    .company-content {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-top: 32px;
    }

    .president-container {
        flex-direction: column;
        padding: 0 24px;
        gap: 40px;
    }

    .president-left {
        width: 100%;
        flex: none;
    }

    .president-right-box {
        padding: 32px 24px;
        max-width: none;
    }
}

@media (max-width: 768px) {

    .site-header {
        background: rgba(0, 0, 0, 0.28);
    }

    .ac-overlay-svg text {
        font-size: 34px;
        letter-spacing: 3px;
    }

    .about-title,
    .greeting-title {
        font-size: 1.25rem;

        padding-bottom: 24px;
        margin-bottom: 28px;
    }

    .about-title::after,
    .greeting-title::after {
        height: 1px;
    }

    .company-content {
        order: 1;
        margin-top: 0;
    }

    .company-content .about-title {
        padding-bottom: 24px;
        margin-bottom: 28px;
    }

    .company-dl {
        padding-top: 12px;
    }

    .company-row dd a,
    .company-row dd a:visited {
        color: #333333;
        text-decoration: none;
    }

    .company-img {
        order: 2;
        margin-top: 32px;
        height: 320px;
    }

    .philosophy-img {
        height: 320px;
    }

    .philosophy-text p,
    .company-row,
    .president-history li,
    .greeting-text p {
        font-size: 0.9rem;
        letter-spacing: 0.08em;
    }

    .philosophy-text p,
    .greeting-text p {
        line-height: 2;
    }

    .company-row,
    .company-row dd {
        line-height: 2;
    }

    .president-history li {
        line-height: 2;
    }

    .president-name {
        font-size: 0.9rem;
    }

    .president-name .name-highlight {
        font-size: 1.25rem;
    }

    .president-container {
        padding-left: 40px;
        padding-right: 40px;
    }

    .sub-mv {
        height: 240px;
    }

    .philosophy-section,
    .company-section,
    .president-section {
        padding: 60px 0;
    }

    .philosophy-section {
        padding-bottom: 0;
    }

    .philosophy-img,
    .company-img {
        width: 100%;
        height: 320px;
    }
}
