body {
    margin: 0 0;    
    font-family: 'Lucida Grande', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
}

.max-width-1500 {
    max-width: 1500px;
    margin: 0 auto;
}

.lang, .top-menu.lang.gray {
    display: none; /* Default Lang display: none; */
}

/* Very Small Screen Mobile */
@media (max-width:321px) {
    .tagline-text, .tagline-text-trim1 {
        font-size: 16px;
        margin-left: 16px;
        margin-right: 16px;
        margin-top: 16px;
    }
    
    .language-select {
        margin-top: -5.5em;
        display: block;
    }
    
    .language-select img {
        display: block;
        margin-bottom: 12px;
    }
}

/* Small Screen Mobile */
@media (max-width:767px) {
    .top-menu {
        font-size: 16px;
        font-weight: 400;
        /* padding-left: 0.5em; */
        padding-top: 0.5em;
        vertical-align: bottom;
        /* margin-bottom: 8px; */
    }
    
    .top-menu ul {
        padding-inline-start: 0;
        flex-direction: column;
        display: inline-flex;
    }
    
    .top-menu ul li {
        margin-left: 0;
    }

    .logo img {
        margin: 16px;
    }
    
    .box-blue, .box-white, .box-white-overlay {
        margin-top: 1em;
        font-size: 18px;
        margin-left: 16px;
        margin-right: 16px;
        width: 80%;
    }
    
    .CC-caption {
        font-size: 14px;
    }
    
    .box-white-33 {
        margin-top: 0;
        font-size: 18px;
        margin-left: 0;
        margin-right: 0;
        display: block;
        width: auto;
        padding: 70px;
        font-weight: 300;
    }

    .box-white-33 a {
        font-size: 20px;
    }

    .box-text-white33 {
        margin-top: 0;
        font-size: 18px;
        margin-left: 0;
        margin-right: 0;
        display: block;
        width: auto;
        font-weight: 300;
        position: relative;
    }

    .square-box {
        display: block;
        height: 100vw;
        width: auto;
    }

    .square-box-43 {
        display: block;
        height: 75vw;
        width: auto;
    }

    .square-box-1609 {
        display: block;
        height: 280px;
        width: auto;
    }
    
    .square-box-set-max {
        display: block;
        height: 280px;
        width: auto;
    }

    .square-box a, .square-box-43 a, .square-box-1609 a, .square-box-set-max a, .box-text-white33 a {
        font-size: 20px;
    }
}

@media (min-width:321px) and (max-width:767px) {
    .tagline-text {
        font-size: 18px;
        margin-left: 18px;
        margin-right: 18px;
        margin-top: 1em;
    }

    .tagline-text-trim1 {
        font-size: 18px;
        margin-left: 18px;
        margin-right: 18px;
        margin-top: 1em;
    }

    .language-select {
        display: inline-flex;
        margin-top: -3em;
    }
}

@media (min-width:767px) and (max-width:1200px) {
    .square-box a, .square-box-43 a, .square-box-1609 a, .square-box-set-max a, .box-text-white33 a {
        font-size: 20px;
    }
    
    .tagline-text, .tagline-text-trim1 {
        font-size: 24px;
        margin-left: 1em;
        margin-right: 1em;
        margin-top: 1em;
    }
    
    .square-box-set-max {
        display: table-cell;
        height: 38vh;
        width: 33.3vw;
    }
}

@media (min-width:1200px) {
    .square-box a, .square-box-43 a, .square-box-1609 a, .square-box-set-max a, .box-text-white33 a {
        font-size: 40px;
    }

    .tagline-text, .tagline-text-trim1 {
        font-size: 32px;
        margin-left: 1em;
        margin-right: 1em;
        margin-top: 2em;
    }
    
    .square-box-set-max {
        display: table-cell;
        height: 63vh;
        width: 33.3vw;
    }
}

/* General Mobile, Tablet and small PC */
@media (min-width:767px) {
    .top-menu {
        font-size: 18px;
        font-weight: 500;
    }
    
    .top-menu ul {
        padding-inline-start: 0;
        flex-direction: row;
        display: inline-block;
    }
    
    .top-menu ul li {
        margin-right: 2em;
    }

    .logo img {
        margin: 2.5em;
    }

    .language-select {
        display: inline-flex;
        margin-top: -4em;
    }

    .link-button {
        margin-left: 1.5em;
        margin-right: 1.5em;
    }

    .box-blue, .box-white, .box-white-overlay {
        font-size: 20px;
        width: 14em;
        margin: 1em;
    }
        
    .box-white-overlay {
        bottom: calc(24em / 5);
    }

    .square-box {
        display: table-cell;
        height: 33.3vw;
        width: 33.3vw;
    }

    .square-box-43 {
        display: table-cell;
        height: 24.975vw;
        width: 33.3vw;
    }
    
    .square-box-1609 {
        display: table-cell;
        height: 280px;
        width: 500px;
    }
}

.tagline-text, .tagline-text-trim1 {
    font-weight: 600;
}

a {
    color: white;
    text-decoration: none;
}

.underline {
    text-decoration: underline;
}

.white {
    color: white;
}

.header-container {
    background-color: white;
}

.top-menu a {
    color: #015196;
    text-decoration: none;
}

.top-menu ul li {
    display: inline;
}

.ul, menu, dir {
    margin-bottom: 0;
}

.language-select {
    float: right;
}

.language-select img {
    margin-right: 1em;
    width: 44px;
}

.logo, .top-menu {
    display: inline-flex;
}

.logo img {
    position: relative;
    width: 85px; /* Before: 100px */
    height: 85px;  /* Before: 100px */
}

.tagline-text, .tagline-text-trim1 {
    color: white;
    position: absolute;
    top: 0;
}

.shadow-black {
    text-shadow: 4px 4px 8px black,
        -4px 4px 8px black,
        4px -4px 8px black,
        -4px -4px 8px black;
}

.shadow-blue {
    text-shadow: 4px 4px 8px #009fe8,
        -4px 4px 8px #009fe8,
        4px -4px 8px #009fe8,
        -4px -4px 8px #009fe8;
}

.main-container {
    width: 100%;
    position: relative;
    /*background-image: url('top-image/03.png');
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
    */
}

.main-container-max-width {
    width: 100%;
    position: relative;
    max-width: 1500px;
}

.main-image img {
    object-fit: cover;
    width: 100%;
    height: auto;
}

.box-blue {
    position: relative;
    color: white;
    font-weight: 300;
    border: solid 1px white;
    padding: 1em;
    display: inline-table;
    text-align: left;
    background-color: #015196;
}

.box-white, .box-white-overlay, .box-white-33 {
    position: relative;
    color: #595959;
    font-weight: 600;
    border: solid 1px #595959;
    padding: 1em;
    display: inline-table;
    text-align: center;
    background-color: rgba(255,255,255,0.8);
}

.box-white a, .box-white-overlay a, .box-white-33 a {
    color: #595959;
}

.CC-caption {
    color: white;
    position: relative;
    bottom: 6em;
    text-align: right;
    margin: 0 3em;
}

footer {
    height: 3em;
    background-color: white;
    margin-top: 3em;
    text-align: center;
    /*padding: 1em 0;
    position: fixed; */
    bottom: 0;
    width: 100%;
}

.gray a {
    color: #595959;
}

.box-white-33 {
    position: relative;
    color: #595959;
    font-weight: 600;
    border: solid 1px #595959;
    padding: 8em 5em;
    display: table-cell;
    text-align: center;
    background-color: rgba(255,255,255,0.8);
    width: 21%;
    margin: 0 0;
}

.link-button {
    margin: 0;
    margin-top: 12px;
}

/* Square Images */
.object-fit-img1 {
    background-image: url("top-image/square1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

.object-fit-img2 {
    background-image: url("top-image/square4.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

.object-fit-img3 {
    background-image: url("top-image/square3.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

/* 4:3 Images */
.object-fit-img1-43 {
    background-image: url("top-image/square1-43.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

.object-fit-img2-43 {
    background-image: url("top-image/square4-43.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

.object-fit-img3-43 {
    background-image: url("top-image/square3-43.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

/* 16:9 Images */
.object-fit-img1-1609 {
    background-image: url("top-image/button1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.object-fit-img2-1609 {
    background-image: url("top-image/button2.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.object-fit-img3-1609 {
    background-image: url("top-image/button3.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

/* Version1.0 Square Images */
.object-fit-img1-V2 {
    background-image: url("top-image/button1-square.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 30%;
}

.object-fit-img2-V2 {
    background-image: url("top-image/button2-square.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 40%;
}

.object-fit-img3-V2 {
    background-image: url("top-image/button3-square.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 20%;
}

.box-text-white33 {
    position: relative;
    font-weight: 600;
    border: solid 1px white;
    padding: 8em 5em;
    display: table-cell;
    width: 21%;
    margin: 0 0;
    text-align: center;
} 

.square-box a, .square-box-43 a, .square-box-1609 a, .square-box-set-max a, .box-text-white33 a {
    font-size: 20px;
    font-weight: 800;
    margin: 1em;
}

.square-box, .square-box-43, .square-box-1609, .square-box-set-max {
    margin-top: 0;
    font-size: 18px;
    margin-left: 0;
    margin-right: 0;
    font-weight: 300;
    border: solid 2px white;
    position: relative;
    vertical-align: middle;
    text-align: center;
}

.link-button .bg-mask {
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0);
    max-height: 500px;
}

.div-link, .div-link-43 {
    position: relative;
    z-index: 1;
}

.div-link a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90%;
    z-index: 2;
}

.div-link-43 a {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 2em);
    height: calc(100% - 2em);
    /*height: calc(100% - 4em); */
    z-index: 2;
}

.square-box a, .square-box-43 a, .square-box-1609 a, .square-box-set-max a {
    display: block;
    /* padding-top: 10%; */
}

/* About Us */
@media (max-width:767px) {
    .content-container {
        margin: 0 16px;
    }
    
    .photo-and-title-text {
        margin: 2em 0;
    }
}

@media (min-width:767px) {
    .content-container {
        margin: 0 2.5em;
    }
    
    .photo-and-title-text {
        margin: 0 2em;
    }
}

.aboutus-content-title {
    font-size: 24px;
    font-weight: 800;
    color: #009fe8;
}

.aboutus-corporateProfile dt {
    font-weight: 800;
    float: left;
}

.aboutus-corporateProfile dd {
    padding-left: 15em; /* Increased from 10em to 15em for larger gap */
}

.content-container hr {
    margin: 1.5em 0 2em 0;
}

.content-container p {
    margin: 1em 0 3em 0;
}

.photo-and-title {
    
}

.photo-and-title-text {
    display: inline-block;
}

.photo-and-title-name {
    font-size: 130%;
    font-weight: 800;
}

.photo-and-title-title {
    font-size: 120%;
    font-weight: 400;
}
@media (max-width: 767px) {
    .aboutus-corporateProfile dt {
        float: none;
        display: block;
        margin-bottom: 0.5em; /* Space between label and value */
    }
    .aboutus-corporateProfile dd {
        padding-left: 0; /* Remove padding since no float */
        display: block;
        margin-bottom: 1em; /* Space between pairs */
    }
}