﻿@charset "utf-8";

body.main,
body.main footer{
    background: #1C1D1B;
}

body.main header:after{
    content:'';
    width: 100%;
    height: 180px;
    background: #1C1D1B;
    background: linear-gradient(180deg,rgba(28, 29, 27, 1) 0%, rgba(28, 29, 27, 0) 100%);
    position: absolute;
    left: 0;
    top:0;
    z-index: -1;
}
.main-visual {
    background: url(../../images/translate/main_img.jpg?20250819) center top no-repeat;
    position: relative;
        height: 962px;
    z-index: -1;
}
.main-visual:before{
    content:'';
    width: 100%;
    height: 100%;
    background: rgba(47,47,47,0.9);
    position: absolute;
    left: 0;
    top:0;
}
.main-visual:after{
    content:'';
    width: 100%;
    height: 180px;
    background: #1C1D1B;
    background: linear-gradient(0deg,rgba(28, 29, 27, 1) 0%, rgba(28, 29, 27, 0) 100%);
    position: absolute;
    left: 0;
    bottom:0;
}
.main-wrap {
    margin: 0 auto;
}
.visual-wrap {
    flex-wrap: wrap;
    align-items: center;
    z-index: 1;
    display: flex;
    flex-direction: row;
    align-content: flex-start;
    justify-content: space-between;
    top: 282px;
}
.visual-wrap p {
    border-bottom: none;
}
.main-thumb{

}
.main-thumb ul{
    display: flex;
    gap: 54px;
}
.main-thumb ul li img{
    box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.5);
}

.main-thumb ul li:first-child{
    margin-top:-62px;
    animation-duration: 2s;
    animation-name: slide-01;
}
.main-thumb ul li:nth-child(2){
    margin-top:158px;
    animation-duration: 2s;
    animation-name: slide-02;
}
.main-thumb ul li:nth-child(3){
    margin-top:44px;
    animation-duration: 2s;
    animation-name: slide-03;
}


@keyframes slide-01 {
  from {
    margin-top: 0;
  }

  to {
    margin-top:-62px;
  }
}
@keyframes slide-02 {
  from {
    margin-top: 0;
  }

  to {
    margin-top:158px;
  }
}
@keyframes slide-03 {
  from {
    margin-top: 0;
  }

  to {
    margin-top:44px;
  }
}
.main-flat {
    align-items: flex-end;
    padding: 0;
}
.main-flat > div {
    background: none;
    width: 143px;
    height: auto;
    border-radius: 15px;
    box-shadow: none;
    margin: 0;
}
.main-flat > div h2 {
    color: #fff;
    font-size: 20px;
}

.main-flat > div h2:before {
    width: auto;
    background: url(../../images/translate/con01.png?20250819) center center no-repeat;
    background-color: none;
        height: 122px;
    margin: 0 0 5px 0;
}
.main-flat > div:nth-child(2) h2:before{
	background:url(../../images/translate/con02.png?20250819) center center no-repeat;
}
.main-flat > div:nth-child(3) h2:before{
	background:url(../../images/translate/con03.png?20250819) center center no-repeat;
}
.main-flat > div:nth-child(4) h2:before{
	background:url(../../images/translate/con04.png?20250819) center center no-repeat;
}
.main-flat > div.main-chair{
    width: 648px;
        margin: 80px 0 0 0;
}
.main-flat > div.main-chair a{
display: flex;
    background: #65699a;
    color: #fff;
    align-items: center;
    position: relative;
}
.main-flat > div.main-chair a:after{
    content: '>';
    display: flex;
    width: 45px;
    height: 260px;
    background: #32344d;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    position: absolute;
    right: 0;
}
.main-flat > div.main-chair a p{
        padding: 0 0 0 65px;
    line-height: 1.5;
    font-size: 22px;
}
.main-card{
    gap:40px;
    margin: 284px 0;
    position: relative;
}
.main-card > div {
    margin: 0;
    float: none;
    height: 342px;
}
.main-card > div.main-committees{
    background: url(../../images/translate/back01.jpg?20250819) no-repeat;
}
.main-card > div.main-function {
    background: url(../../images/translate/back02.jpg?20250819) no-repeat;
    margin-right: 0;
    margin-left: 0;
}
.main-card > div.main-greeting {
    background: url(../../images/translate/back03.jpg?20250819) no-repeat;
    margin-right: 0;
    margin-left: 0;
}
.main-card > div h2:after{
    content:none;
}
.main-card > div a{
    display:flex;
    height: 100%;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 0 46px 0 25px;
    position: relative;
}
.main-card > div h2 {
    margin: 0 0 40px 0;
}
.main-card > div.main-greeting h2 {
    margin: 0;
}
.main-card > div p {
    margin: 0;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.main-card > div a:after {
    content: '>';
    display: flex;
    width: 45px;
    height: 100%;
    background: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
    font-size: 26px;
    right: 0;
    position: absolute;
    top: 0;
    color: #fff;
}
body.main footer .footer-addr address,
body.main footer .footer-addr .copy {
    color: #fff;
}
body.main footer {
    border-top: 1px solid #616160;
}
.txt-water{
    font-size: 177px;
    color: #222321;
    font-weight: 800;
    position: absolute;
    left: 50%;
    top: 0;
}
.txt-water.nd1{
    position: absolute;
    left: 50%;
    top: 0;
}
.txt-water.nd2{
    position: absolute;
    top: -235px;
    height: auto;
    left: 0;
}
.txt-water.nd3{
    position: absolute;
    top: 374px;
    left: 0;
    height: auto;
}
.txt-water.nd2 br{
    display: none;
}

@media (max-width: 1300px) {
    .main-thumb {
        width: 50%;
    }
    .main-thumb img{
        width: 100%;
    }
    .main-thumb ul {
        gap: 5%;
    }
}
@media (max-width: 1020px) {

    .main-thumb{
        display: none;
    }
    .visual-wrap h1 {
        width: 100%;
    }
    .main-visual {
        height: 500px;
        display: flex;
            background-position: center;
        background-size: 250%;
    }
    .visual-wrap {
        flex-wrap: wrap;
        align-items: center;
        flex-direction: row;
        align-content: center;
        justify-content: space-between;
        top: auto;
    }
    body.main header:after {
        height: 65px;
    }
    .main-flat > div.main-chair {
        width: 100%;
        margin: 0 0 10px 0;
    }
    .main-wrap section {
        padding: 0 25px;
    }
    .main-flat > div.main-chair a{
        height: 120px;
    }
    .main-flat > div.main-chair a p {
        padding: 0 0 0 20px;
        line-height: 1.4;
        font-size: 15px;
        font-weight: 300;
                position: relative;
        z-index: 1;
    }
    .main-flat > div.main-chair a:after {
        width: 24px;
        height: 120px;
        font-size: 14px;
    }
    .main-flat > div.main-chair a img{
        height: 120px;
                margin-left: -10px;
        z-index: 0;
    }
    .main-flat > div {
        width: 19%;
        margin-bottom: 10px;
    }
    .main-flat > div h2:before {
        background-size: 100% !important;
        height: 85px;
        border-radius: 0;
        aspect-ratio: 1 / 1;
    }
    .main-flat > div h2 {
        font-size: 12px;

    }
    .main-card {
        gap: 40px;
        margin:175px 0 20px 0;
    }
    .main-card > div {
        margin: 0;
        float: none;
        height: 172px;
        margin-bottom: 28px;
                background-size: 100% !important;
    }
    .main-card > div a {
        padding: 0 23px 0 15px;
    }
    .main-card > div a:after {
        width: 23px;
        height: 100%;
        font-size: 16px;
    }
    .main-card > div h2 {
        margin: 0 0 20px 0;
        padding: 0;
    }
    .main-card > div p {
        padding:0 20px 0 0;
        word-break: keep-all;
        height: 61px;
    }
    .txt-water {
        font-size: 89px;
    }
    .txt-water.nd1 {
        left: 25px;
        top: -97px;
        width: auto;
    }
    .txt-water.nd2 {
        top: -178px;
        left: 25px;
        line-height: 78px;
    }
    .txt-water.nd2 br{
        display: block;
    }
    .txt-water.nd3 {
        position: relative;
        bottom: auto;
        left: auto;
        height: auto;
        top: auto;
        letter-spacing: -11px;
    }

}