/* ============================= */
/* トップページ */
/* ============================= */
/* About */
.top_about h2 {
    font-family: "Zen Old Mincho", serif;
    font-size: 18px;
    margin-bottom: 30px
}
.top_about p {
    font-family: "Zen Old Mincho", serif;
    font-size: 14px;
    line-height: 2.1;
    margin-bottom: 20px;
}
/* Service */
.top_service {
    margin-bottom: 60px;
    padding: 30px 0;
    background-color: #f5f5f5;
    overflow: hidden;
}
.top_service_inner {
    margin-bottom: 30px;
    padding: 0 20px;
}
.top_service h2 {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    margin-bottom: 30px;
}
.top_service h3 {
    font-family: "Zen Old Mincho", serif;
    font-size: 18px;
    margin-bottom: 20px;
}
.top_service p {
    font-family: "Zen Old Mincho", serif;
    font-size: 14px;
    line-height: 2.1;
    margin-bottom: 20px;
}
.top_service_list .top_service_list_inner {
    margin-bottom: 30px;
}
.top_service_list .top_service_list_inner01 {
    margin-bottom: 60px;
}
.top_service_list .top_service_list_inner .top_service_image {
    width: 85%;
    height: auto;
    aspect-ratio: 16 / 9;
}
.top_service_list .top_service_list_inner01 .top_service_image {
    margin-left: auto;
}
.top_service_list .top_service_list_inner02 .top_service_image {
    margin-right: auto;
}
.top_service_list .top_service_list_inner .top_service_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.top_service .top_service_list .top_service_content {
    position: relative;
    width: 75%;
    background-color: #fff;
    margin-top: -30px;
    padding: 30px 20px;
    z-index: 2;
}
.top_service_list .top_service_list_inner02 .top_service_content {
    margin-left: auto;
}
.top_service .top_service_list .top_service_content h3 {
    font-size: 18px;
}
.top_service .top_service_list .top_service_content h3 span {
    font-family: "Old Standard TT", serif;
    display: inline-block;
    margin-right: 10px;
    font-size: 42px;
    color: #e8a838;
}
.top_service .top_service_list .top_service_content p {
    font-size: 14px;
}
.top_service .top_service_list .top_service_content p.top_service_content_title {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.6;
}

/* Brand */
.top_brand h2 {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    margin-bottom: 30px;
}
.top_brand h3 {
    font-family: "Playfair Display", serif;
    font-size: 18px;
    margin-bottom: 20px;
}
.top_brand p {
    font-family: "Playfair Display", serif;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
}
.top_brand_image_box {
    position: relative;
    margin-bottom: 20px;
}
.top_brand_image_box .top_brand_image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}
.top_brand_image_box .top_brand_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.top_brand_image_box .top_brand_logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30%;
    height: auto;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
}
.top_brand_image_box .top_brand_logo img {
    width: 100%;
    padding: 10px;
}

/* Gallery */
.auto-scroll-gallery {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0 0 60px;
    background: #fff;
}

/* スライドトラック */
.gallery-track {
    display: flex;
    width: fit-content;
    gap: 30px;
    /* 以下を追加 */
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
}

/* ギャラリーアイテム */
.gallery-item {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* 以下を追加 */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* 以下を追加 */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
}



/* News */
.top_news_list h2 {
    font-family: "Playfair Display", serif;
    font-size: 24px;
}
.top_news_list ul {
    margin-top: 30px;
    margin-bottom: 15px;
}
.top_news_list ul li a {
    /*border-top: solid 1px #000;*/
    border-top: solid 0.5px transparent;  /* 透明にして見えなくする */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    color: #082037;
}
.top_news_list ul li:last-child {
    /*border-bottom: solid 1px #000;*/
    border-bottom: solid 0.5px transparent;  /* 透明にして見えなくする */
}
.top_news_list ul li a .top_news_list_inner {
    width: calc( 100% - 30px );
}
.top_news_list ul li a .top_news_list_inner span {
    font-size: 10px;
    font-weight: bold;
    margin-bottom: 7px;
}
.top_news_list ul li a .top_news_list_inner p {
    font-family: "Playfair Display", serif;
    font-size: 14px;
    line-height: 1.4;
}
.top_news_list span.link_arrow {
    background-color: #1a3559;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 15px;
    border-radius: 3px;
}
.link_box {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 12px;
    color: #000;
}
.link_box a {
    display: flex;
    align-items: center;
    color: #000;
}
.link_box a i {
    color: #fff;
}
.link_box span.link_arrow {
    font-size: 16px;
    margin-left: 10px;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 15px;
    border-radius: 3px;
}

/* アニメーション用の初期状態 */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-down {
    opacity: 0;
    transform: translateY(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-down.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-left {
    opacity: 0;
}

.fade-left.is-visible {
    opacity: 1;
    animation: fadeInLeft 0.8s ease forwards;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-right {
    opacity: 0;
}

.fade-right.is-visible {
    opacity: 1;
    animation: fadeInRight 0.8s ease forwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.fade-in.is-visible {
    opacity: 1;
}

/* ニュースリストの線アニメーション */
.top_news_list ul li a {
    position: relative;
}

.top_news_list ul li a::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 0;
    height: 0.5px;
    background: #000;
    transition: width 0.8s ease;
}

.top_news_list ul li a.is-visible::before {
    width: 100%;
}

.top_news_list ul li:last-child {
    position: relative;
}

.top_news_list ul li:last-child::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 0.5px;
    background: #000;
    transition: width 0.8s ease;
}

.top_news_list ul li:last-child.is-visible::after {
    width: 100%;
}

/* 遅延アニメーション用 */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}



















