/* MAINVISUAL */
.main-visual{
    background: url(../img/img-mainvisual.png) no-repeat center right;
    background-size: cover;
    padding: 120px 0;
    height: 100vh;
    display: flex;
    align-items: center;
}

.main-visual-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.main-visual-content {
    text-align: left;
}


.main-visual-scroll {
    position: absolute;
    right: 19.72%;
    bottom: 0;
    z-index: 10;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: opacity 0.3s ease;
    user-select: none;
}

.scroll-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 16px;
    line-height: 56px;
    color: #747474;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.scroll-track {
    width: 1px;
    height: 144px;
    background-color: #DFDFDF;
    position: relative;
    overflow: hidden;
}

.scroll-thumb {
    width: 1.5px;
    height: 144px;
    background-color: #7A192A;
    position: absolute;
    left: -0.25px;
    top: 0;
    animation: elasticus 2s ease-in-out infinite;
}

@keyframes elasticus {
    0% {
        transform-origin: 0% 0%;
        transform: scale(1, 0);
    }
    50% {
        transform-origin: 0% 0%;
        transform: scale(1, 1);
    }
    50.1% {
        transform-origin: 0% 100%;
        transform: scale(1, 1);
    }
    100% {
        transform-origin: 0% 100%;
        transform: scale(1, 0);
    }
}

.main-visual-title-jp {
    font-size: 36px;
    font-weight: 300;
    line-height: 56px;
    color: #2C2C2C;
    margin-bottom: 32px;
}

.main-visual-title-jp span{
    font-weight: 500;
    font-size:48px
}

@media (max-width: 768px) {
    .main-visual-title-jp span{
    font-weight: 500;
    font-size:28px;
}
}

.main-visual-title-en {
    font-size: 24px;
    font-weight: 300;
    line-height: 36px;
    color: #434343;
    margin-bottom: 44px;
}

.main-visual-news {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    background-color: #fff;
    max-width: 490px;
    padding: 20px 24px;
    text-decoration: none;
    color: #434343;
}

.main-visual-news:hover {
    color: #7A192A;
}

.main-visual-news .news-date {
    font-weight: 300;
    font-size: 12px;
    line-height: 20px;
    min-width: max-content;
}

.main-visual-news .news-category {
    background-color: #EDEDED;
    padding: 2px 4px;
    font-size: 10px;
    line-height: 18px;
    font-weight: 300;
}

.main-visual-news .news-title {
    font-weight: 300;
    font-size: 12px;
    line-height: 20px;
}

@media (max-width: 1024px) {
    .main-visual-scroll {
        position: absolute;
        right: 10%;
        bottom: 0;
        z-index: 10;
    }
}


@media (max-width: 768px) {
    .main-visual {
        background: url(../img/img-mainvisual.png) no-repeat center center;
        background-size: cover;
        padding: 80px 0;
    }
    
    .main-visual-container {
        padding: 0 20px;
    }
    
    .main-visual-title-jp {
        font-size: 20px;
        line-height: 32px;
        margin-bottom: 16px;
    }
    
    .main-visual-title-en {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 28px;
    }
    
    .main-visual-news {
        flex-wrap: wrap;
        gap: 4px 8px;
        max-width: 244px;
        padding: 13px 16px;
    }
    
    .main-visual-news .news-date{
        font-size: 12px;
    }

    .main-visual-news .news-category {
        font-size: 10px;
        line-height: 18px;
        min-width: 90px;
    }
    
    .main-visual-news .news-title {
        font-size: 12px;
        flex: 0 0 100%;
    }
    .main-visual-scroll {
        position: absolute;
        right: 16px;
        bottom: 0;
        z-index: 10;
    }
}


/* VISION */
.vision-section {
    background-color: #fff;
    color: #2C2C2C;
    padding: 154px 24px 80px;
}

.vision-container {
    max-width: 1024px;
    margin: 0 auto;
}

.vision-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 80px;
    gap: 60px;
}

.vision-description {
    flex: 1;
    max-width: 642px;
}

.vision-description p {
    font-size: 14px;
    line-height: 24px;
    color: #2C2C2C;
    font-weight: 300;
}

/* カード部分 */
.vision-cards {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    align-items: stretch;
}

.vision-card {
    background: #ffffff;
    color: #2C2C2C;
    border: 1px solid #B9B9B9;
    padding: 16px 34px 20px;
    border-radius: 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.vision-card::after {
    content:url('../img/img-vision-arrow.svg');
    position: absolute;
    right: -26px;
    top: 50%;
    transform:translateY(-50%);
}

.vision-cards .vision-card:nth-of-type(3)::after {
    content:'';
    position: absolute;
    right: -24px;
    top: 50%;
    transform:translateY(-50%);
}

.vision-card h3 {
    font-size: 18px;
    line-height: 30px;
    font-weight: 300;
    margin-bottom: 14px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #B9B9B9;
}

.vision-card ul {
    list-style: none;
    flex: 1;
}

.vision-card li {
    font-size: 12px;
    line-height: 20px;
    position: relative;
    padding-left: 12px;
    font-weight: 400;
}

.vision-card.-last li {
    margin-bottom: 0;
    padding-left: 0;
}

.vision-card li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: #2C2C2C;
    font-weight: bold;
}

.vision-card.-last li::before {
    content: "";
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .vision-section {
        padding: 60px 20px;
    }
    
    .vision-header {
        flex-direction: column;
        gap: 72px;
        margin-bottom: 72px;
        text-align: left;
    }
    
    .vision-description p {
        font-size: 14px;
        line-height: 24px;
    }
    
    .vision-cards {
        flex-direction: column;
        gap: 72px;
    }
    
    .vision-card {
        width: 100%;
        min-height: auto;
        padding: 18px 40px;
        min-height: 174px;
    }

    .vision-card::after {
            content: url(../img/img-vision-arrow-sp.svg);
            position: absolute;
            right: auto;
            top: auto;
            transform: translateX(-50%);
            bottom: -60px;
            left: 50%;
    }
    
    .vision-card h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .vision-card ul {
        margin: 0 auto;
    }

    .vision-card li {
        font-size: 12px;
        line-height: 20px;
    }
}

/* Serviceセクション */
.service-section {
    background-color: #fff;
    color: #2C2C2C;
    padding: 80px 24px;
}

.service-container {
    max-width: 1024px;
    margin: 0 auto;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 80px;
    gap: 60px;
}

.service-description {
    flex: 1;
    max-width: 642px;
    margin-top: 8px;
}

.service-description p {
    font-size: 14px;
    line-height: 24px;
    color: #2C2C2C;
    font-weight: 300;
}

.service-block{
    display: flex;
    flex-direction: column;
    gap:80px;
}

.service-block li img{
    width: 100%;
    height: auto;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .service-section {
        padding: 60px 20px;
    }
    
    .service-header {
        flex-direction: column;
        gap: 24px;
        margin-bottom: 64px;
        text-align: left;
    }

    .service-description {
        max-width: none;
        margin-top: 0;
    }

    .service-block li{
        margin:0 auto;
    }

    .service-block li img{
        max-width: 345px;
        width: 100%;
        height: auto;
    }
}

/* PHOTOLINE */
.photo-line-section {
    padding: 20px 0 0;
    overflow: hidden;
}

.photo-line-container {
    margin: 0 auto;
        position: relative;
}

.photo-line-text{
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    width: 100%;
    flex-direction: row;
    animation: photoScrollText 20s linear infinite;
    gap: 32px;
}

.photo-line-container{
    text-align: center;
        width: 100%;
}

.photo-line-container p img{
    width: 100%;
}

.photo-line-wrapper {
    display: flex;
    animation: photoScroll 30s linear infinite both;
    width: 100%;
    gap:32px;
}

.photo-line-content {
    display: flex;
    gap: 32px;
    padding: 80px 0;
    flex-shrink: 0;
}

.photo-line-image {
    height: auto;
    max-width: 100%;
    flex: 1 1 276px;
    box-shadow: 20px 36.24px 53.014px 0 #E9E9E9;
}

.photo-line-content .photo-line-image:nth-of-type(odd){
    margin-bottom:24px;
}

.photo-line-content .photo-line-image:nth-of-type(even){
    margin-top:24px;
}

@keyframes photoScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200%));
    }
}

@keyframes photoScrollText {
    0% {
        transform:translateX(0);
    }
    100% {
        transform:translateX(-50%);
    }
}

@media (max-width: 768px) {
    .photo-line-section{
        padding: 0;
    }
    .photo-line-content{
        padding: 48px 0 120px;
        gap:20px;
    }

    .photo-line-text{
        top: 30%;
    }

    .photo-line-text img{
        width: 900px;
        height: auto;
    }

    .photo-line-image {
        height: auto;
        max-width: 172px;
        flex: 1 1 172px;
        box-shadow: 12.486px 22.625px 33.098px 0 #E9E9E9;
    }

.photo-line-content .photo-line-image:nth-of-type(odd){
    margin-bottom:16px;
}

.photo-line-content .photo-line-image:nth-of-type(even){
    margin-top:16px;
}

}

/* NEWS */
.news-section {
    background-color: #fff;
    color: #2C2C2C;
    padding: 80px 24px 130px;
}

.news-container {
    max-width: 1024px;
    margin: 0 auto;
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.news-header {
    flex-shrink: 0;
    width: 338px;
}

.news-link {
    margin-top: 30px;
    color: #2c2c2c;
    text-decoration: none;
    font-size: 16px;
    line-height: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.news-link-sp {
    margin-top: 8px;
    color: #2c2c2c;
    text-decoration: none;
    font-size: 16px;
    line-height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    position: relative;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.news-link .arrow,
.news-link-sp .arrow {
    display: inline-block;
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
    background-image: url("../img/img-btn-arrow.svg");
}

.news-link:hover .arrow,
.news-link-sp:hover .arrow {
    background: url("../img/img-btn-arrow-red.svg") no-repeat center / contain;
}

.news-link:hover,
.news-link-sp:hover{
    color: #7A192A;
}

@media (max-width: 768px) {
    .news-link{
        display: none;
    }
}

.news-link-sp{
    display: none;
}

@media (max-width: 768px) {
.news-link-sp{
    display: flex;
}
}


/* ニュース一覧 */
.news-list {
    flex: 1;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    border-bottom: 1px solid #B9B9B9;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #434343;
}

.news-item:hover {
    color: #7A192A;
    cursor: pointer;
}

.news-date {
    font-size: 14px;
    font-weight: 300;
    min-width: 80px;
    flex-shrink: 0;
}

.news-category {
    background-color: #EDEDED;
    color: #434343;
    padding: 0px 4px;
    font-size: 12px;
    min-width: 88px;
    text-align: center;
    line-height: 20px;
    font-weight: 300;
}

.news-title {
    font-size: 14px;
    font-weight: 300;
    flex: 1;
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .news-header {
        width: 256px;
    }
}

@media (max-width: 924px) {
    .news-container {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 60px 0;
    }
    
    .news-container {
        flex-direction: column;
        gap: 64px;
        padding: 0 24px;
    }
    
    .news-header {
        width: 100%;
    }

    .news-link {
        font-size: 13px;
    }
    
    .news-list {
        width: 100%;
    }
    
    .news-item {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 16px 24px;
        padding: 24px;
    }

    .news-date,
    .news-category {
        flex: 0 0 auto;
    }
    
    .news-date {
        font-size: 12px;
        line-height: 20px;
        min-width: auto;
    }
    
    .news-category {
        font-size: 12px;
        line-height: 20px;
        padding: 0px 2px;
        font-weight: 200;
        text-align: center;
        min-width: 90px;
        max-width: 90px;
    }
    
    .news-title {
        flex: 0 0 100%;
        font-size: 12px;
        line-height: 20px;
        width: 100%;
        font-weight: 300;
    }
}


/* Aboutセクション */
.about-section {
    background-color: #fff;
    color: #2C2C2C;
    padding: 80px 24px 80px;
}

.about-container {
    max-width: 1024px;
    margin: 0 auto;
}

.about-header {
    margin-bottom: 60px;
}

/* 企業情報テーブル */
.about-info {
    margin-bottom: 80px;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
}

@media (max-width: 768px) {
    .about-section {
        padding: 80px 20px 90px;
    }
    .about-info {
        margin-bottom: 0;
    }
}

.company-table {
    width: 100%;
    display: flex;
}

.company-table-sublist{
    width: 100%;
}

.company-table-sublist dl{
    border:none!important;
    gap: 16px!important;
    padding-bottom: 4px!important;
}

.company-table-sublist dt{
    max-width: 112px!important;
}

.company-table-head {
    background: #fff;
    font-weight: 300;
    font-size: 18px;
    padding:2px 40px 0 52px;
    line-height: 28px;
    color: #2C2C2C;
    flex-shrink: 0;
    border-right: 1px solid #B9B9B9;
    margin-right: 40px;
}

.company-table dl{
    border-bottom: 1px solid #B9B9B9;
    padding-bottom: 24px;
    display: flex;
    gap:16px;
}

.company-table dt{
    max-width: 238px;
    width: 100%;
}

.company-table-content{
    display: flex;
    flex-direction: column;
    gap: 32px;
    font-size: 14px;
    line-height: 24px;
    flex: 1;
    padding-top: 4px;
    position: relative;
}

.company-table-content dl:first-of-type::before{
    content: '';
    width: 1.5px;
    height: 34px;
    position: absolute;
    top: 0;
    left: -41.5px;
    background: #7A192A;
}

@media (max-width: 768px) {
    .company-table-content dl:first-of-type::before{
        left: -25.5px;
    }
}

.company-table-content dd{
    padding-right: 0;
}

@media (max-width: 924px) {
    .company-table dt{
        max-width: 160px;
    }
}

@media (max-width: 768px) {
    .company-table-head{
        font-size: 12px;
        padding: 6px 0px 0 0px;
    }

    .company-table-content{
        gap: 16px;
    }

.company-table dl{
    padding-bottom: 12px;
    gap:16px;
    }

    .company-table dt{
        max-width: 90px;
    }

    .company-table dt,
    .company-table dd{
        font-size:10px;
        line-height: 14px;
    }

    .company-table dd{
        padding-right: 0;
    }
    .company-table-sublist dl{
        border:none!important;
        gap: 16px!important;
        padding-bottom: 0!important;
    }

    .company-table-sublist dt{
        max-width: 82px!important;
    }
}

.company-table-content a{
    text-decoration: underline;
    color: #2C2C2C;
}

.company-table-content a:hover{
    text-decoration: none;
}

/* 役員紹介 */
.executives-table {
    max-width: 970px;
    width: 100%;
    display: flex;
}

.executives-table-head {
    background: #fff;
    font-weight: 300;
    font-size: 18px;
    padding:82px 40px 0 52px;
    line-height: 28px;
    color: #2C2C2C;
    flex-shrink: 0;
    border-right: 1px solid #B9B9B9;
    margin-right: 40px;
}

.company-table-head,
.executives-table-head,
.access-table-head,
.history-table-head{
    position: relative;
    width: 165px;
    text-align: right;
}

@media (max-width: 768px) {
    .company-table-head,
    .executives-table-head,
    .access-table-head,
    .history-table-head{
        width: 66px;
        margin-right: 24px;
        text-align: left;
}
}

.company-table-head::after,
.executives-table-head::after,
.history-table-head::after,
.access-table-head::after{
    content: '';
    width: 8px;
    height: 1px;
    position: absolute;
    right: 14px;
    display: block;
    top: 18px;
    background: #B9B9B9;
}

@media (max-width: 768px) {
.company-table-head::after,
.executives-table-head::after,
.history-table-head::after,
.access-table-head::after{
    content: '';
    width: 4px;
    height: 1px;
    position: absolute;
    right: 8px;
    display: block;
    top: 20px;
    background: #B9B9B9;
    }
}

.executives-table-head::after{
    top:98px;
}

@media (max-width: 768px) {
    .executives-table-head::after{
        top:102px;
    }
}


.executives-table-content{
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-size: 14px;
    line-height: 24px;
    flex: 1;
    padding-top: 82px;
    position: relative;
}

.executives-table-content figure:first-of-type::before{
    content: '';
    width: 1.5px;
    height: 34px;
    position: absolute;
    top: 82px;
    left: -41.5px;
    background: #7A192A;
}

@media (max-width: 768px) {
    .executives-table-content figure:first-of-type::before{
        left: -25.5px;
    }
}

.executives-table-content figure{
    display: flex;
    gap:24px;
    font-size: 14px;
    line-height: 24px;
}

.executives-table-content dd{
    padding-right: 24px;
}

@media (max-width: 768px) {
    .executives-table-head{
        font-size: 12px;
        padding: 88px 0 0 0;
    }
    .executives-table-content{
        padding-top: 88px;
        gap:12px;
    }
    .executives-table-content figcaption{
        font-size: 10px;
        line-height: 14px;
    }
    .executives-table-content img{
        width: 68px;
        height: 68px;
    }
    .executives-section h3 {
        font-size: 20px;
        margin-bottom: 30px;
    }
    
    .executives-list {
        gap: 25px;
    }
    
    .executive-item {
        gap: 15px;
    }
    
    .executive-photo {
        width: 70px;
        height: 70px;
    }
    
    .executive-info h4 {
        font-size: 15px;
    }
    
    .executive-info p {
        font-size: 13px;
    }
}

/* ACCESS */

.access-table {
    max-width: 970px;
    width: 100%;
    display: flex;
}

.access-table-head {
    background: #fff;
    font-weight: 300;
    font-size: 18px;
    padding:146px 40px 0 52px;
    line-height: 28px;
    color: #2C2C2C;
    flex-shrink: 0;
    border-right: 1px solid #B9B9B9;
    margin-right: 40px;
}

.access-table-head::after{
    top:160px;
}


.access-table dl{
    padding-bottom: 64px;
    display: flex;
    gap: 24px 44px;
    flex-wrap: wrap;
}

.access-table dt,
.access-table dl dd:nth-of-type(1){
    flex: 0 0 auto;
}

@media (max-width: 924px) {
    .access-table dl dd:nth-of-type(1){
        width: 100%;
        font-size: 10px;
        line-height: 18px;
    }
}

.access-table dl dd:nth-of-type(2){
    flex: 0 0 100%;
}

.access-table-address {
    display: flex;
    gap:24px;
}

.access-table-address a{
    background: #fff;
    color: #2C2C2C;
    border: 1px solid #B9B9B9;
    border-radius: 32px;
    padding: 4px;
    font-weight: 200;
    max-width: 108px;
    width: 100%;
    font-size: 12px;
    transition: all 0.3s ease;
    line-height: 20px;
    display: block;
    text-align: center;
    text-decoration: none;
}

.access-table-address a:hover{
    color: #fff;
    border: 1px solid #2C2C2C;
    background-color: #2C2C2C;
}

.access-table-content{
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-size: 14px;
    line-height: 24px;
    flex: 1;
    padding-top: 150px;
    position: relative;
}

.access-table-content .access-table-address:first-of-type::before{
    content: '';
    width: 1.5px;
    height: 34px;
    position: absolute;
    top: 142px;
    left: -41.5px;
    background: #7A192A;
}

@media (max-width: 768px) {
    .access-table-content .access-table-address:first-of-type::before{
        left: -25.5px;
    }
}

@media (max-width: 924px) {
    .access-table dt{
        max-width: 160px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 20px;
    }

    .about-header {
        margin-bottom: 40px;
    }

    .access-table-head {
        font-weight: 300;
        font-size: 12px;
        padding:150px 0 0 0;
        line-height: 20px;
        margin-right: 24px;
    }

    .access-table-content{
        gap:32px;
    }

    .access-table dt{
        max-width: max-content;
        border-right: 1px solid #B9B9B9;
        padding-right:16px;
    }

    .access-table-address {
        align-items: flex-end;
        font-size: 10px;
        line-height: 18px;
        max-width: 268px;
        width: 100%;
        justify-content: space-between;
    }
    .access-table-address a{
        font-size: 10px;
        line-height: 18px;
        padding: 0 4px;
        max-width: 80px;
    }

    .access-table dl{
        gap:0;
    }

    .access-table dl dd:nth-of-type(1){
        width: calc(100% - 60px);
        padding: 0 8px;
    }

    .access-table dl dd:nth-of-type(2){
        margin-top: 24px;
    }
}


/* HISTORY */
.history-table {
    max-width: 970px;
    width: 100%;
    display: flex;
}

.history-table-head {
    background: #fff;
    font-weight: 300;
    font-size: 18px;
    padding:10px 40px 0 52px;
    line-height: 28px;
    color: #2C2C2C;
    flex-shrink: 0;
    border-right: 1px solid #B9B9B9;
    margin-right: 40px;
}

.history-table-content{
    display: flex;
    flex-direction: column;
    padding-top: 10px;
    position: relative;
}

.history-table-content::before{
    content: '';
    width: 1.5px;
    height: 34px;
    position: absolute;
    top: 6px;
    left: -41.5px;
    background: #7A192A;
}

@media (max-width: 768px) {
    .history-table-content::before{
        left: -25.5px;
    }
}

.history-table-content img{
    width: 100%;
}

@media (max-width: 768px) {
    .history-table-head {
        font-size: 12px;
        padding:10px 18px 0 0;
        line-height: 20px;
        text-align: right;
        margin-right: 24px;
    }

    .history-table-content{
        width: 100%;
    }
}