/* ===== CSS Variables ===== */
:root {
    /* Colors */
    --white: #ffffff;
    --black: #000000;
    --licorice: #1a1a1a;

    /* Typography */
    --font-family-zen_old_mincho: 'Zen Old Mincho', serif;
    --font-family-noto_sans_jp: 'Noto Sans JP', sans-serif;

    /* Font Sizes */
    --font-size-xs: 12px;
    --font-size-s: 14px;
    --font-size-m: 16px;
    --font-size-l: 18px;
    --font-size-xl: 24px;
    --font-size-xxl: 32px;
    --font-size-xxxl: 48px;

    /* Breakpoints */
    --breakpoint-mobile: 768px;
    --breakpoint-tablet: 1024px;
    --breakpoint-desktop: 1200px;

    /* Spacing */
    --section-padding: 50px;
    --container-max-width: 1200px;
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-noto_sans_jp);
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
}

/* ===== Typography ===== */
.zenoldmincho-medium-black-16px {
    font-family: var(--font-family-zen_old_mincho);
    font-size: var(--font-size-m);
    font-weight: 500;
    color: var(--black);
}

.zenoldmincho-medium-black-32px {
    font-family: var(--font-family-zen_old_mincho);
    font-size: var(--font-size-xxl);
    font-weight: 500;
    color: var(--black);
}

.zenoldmincho-normal-black-16px {
    font-family: var(--font-family-zen_old_mincho);
    font-size: var(--font-size-m);
    font-weight: 400;
    color: var(--black);
}

.zenoldmincho-bold-black-14px {
    font-family: var(--font-family-zen_old_mincho);
    font-size: var(--font-size-s);
    font-weight: 700;
    color: var(--black);
}

.notosansjp-light-licorice-16px {
    font-family: var(--font-family-noto_sans_jp);
    font-size: var(--font-size-m);
    font-weight: 300;
    color: var(--licorice);
}

.notosansjp-light-black-18px {
    font-family: var(--font-family-noto_sans_jp);
    font-size: var(--font-size-l);
    font-weight: 300;
    color: var(--black);
}

.notosansjp-normal-black-14px {
    font-family: var(--font-family-noto_sans_jp);
    font-size: var(--font-size-s);
    font-weight: 400;
    color: var(--black);
}

.notosansjp-light-black-14px {
    font-family: var(--font-family-noto_sans_jp);
    font-size: var(--font-size-s);
    font-weight: 300;
    color: var(--black);
}

/* ===== Utility Classes ===== */
.valign-text-middle {
    display: flex;
    align-items: center;
}


.x1 {
    width: 40px;
    height: 40px;
}

.vector-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.vector,
.vector-1,
.vector-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/*▼共通************************************************************************************/
/* ===== Header Styles ===== */
.header {
    /*position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
    transition: all 0.3s ease;
    height: 80px;
    z-index: 1000;
    position: relative;
}

.header-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.header_logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header_logo img {
    max-height: 70px;
    width: auto;
}


/* ===== Hamburger Menu ===== */
.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background-color: var(--black);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== Mobile Navigation ===== */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1002;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: flex-end;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.close-menu {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--black);
}

.mobile-nav-list {
    list-style: none;
    padding: 20px 0;
}

.mobile-nav-list li {
    border-bottom: 1px solid #eee;
}

.mobile-nav-list a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--black);
    font-size: var(--font-size-m);
    transition: background-color 0.3s ease;
}

.mobile-nav-list a:hover {
    background-color: #f5f5f5;
}

/* ===== Footer ===== */
.footer {
    background-color: #f5f5f5;
    padding: 60px 0 40px;
    margin-top: 60px;
}

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.footer_access_title {
    margin-bottom: 20px;
}

.footer_access_map {
    width: 100%;
    height: 200px;
    background-color: #ddd;
    margin-bottom: 20px;
}

.footer_access_map iframe {
    width: 100%;
    height: 100%;
}

.footer_nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
    list-style: none;
}

.footer_nav a {
    color: #000;
    text-decoration: none;
}

.footer_nav_item-9 {
    padding: 10px 0;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}


/*▲ここまで共通************************************************************************************/

/* ===== Main Content ===== */
.desktop {
    margin-top: -80px;
    width: 100%;
}

/* ===== Section Container ===== */
.section-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Hero Section ===== */
.main-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* 初期状態：黒背景を表示 */
    background-color: var(--black);
}

/* 黒背景のオーバーレイ（初期表示） */
.main-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--black);
    z-index: 1;
    animation: blackBackgroundFadeOut 0.5s ease 3s forwards;
}

/* 背景画像をフェードイン */
.main-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(../img/toppage/mainImg.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0;
    animation: mainImgFadeIn 1s ease 3s forwards;
}

.copy {
    text-align: center;
    z-index: 2;
    color: var(--white);
    position: relative;
}

.title-1 {
    font-family: var(--font-family-zen_old_mincho);
    font-size: var(--font-size-xxxl);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 20px;
    /* GPUアクセラレーションを有効化 */
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* 初期状態：非表示 */
    opacity: 0;
    transform: translateZ(0) scale(0.5);
    -webkit-transform: translateZ(0) scale(0.5);
    /* アニメーション：4方向から中央に集まり、その後下に移動 */
    animation: copyFloatIn 3.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.text-1-2 {
    font-family: var(--font-family-zen_old_mincho);
    font-size: 40px;
    font-weight: 500;
    /* GPUアクセラレーションを有効化 */
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* 初期状態：非表示 */
    opacity: 0;
    transform: translateZ(0) scale(0.5);
    -webkit-transform: translateZ(0) scale(0.5);
    /* アニメーション：0.5秒遅延で同じ動き */
    animation: copyFloatIn 3.5s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

/* ===== Content Sections ===== */
.desktop-item,
.products,
.job,
.brand {
    width: 100%;
    padding: var(--section-padding) 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.desktop-item.fade-in,
.products.fade-in,
.job.fade-in,
.brand.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.products-img {
    width: 100%;
    height: auto;
    padding: 150px 0 110px;
    background-image: url("../img/toppage/productsImg.jpg");
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.products-img.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.title-3 {
    z-index: 1;
    text-align: center;
}

.text-container {
    color: var(--white);
}

.text-9,
.text-8,
.text-7 {
    margin-bottom: 10px;
    writing-mode: vertical-rl;
}

/* ===== Section Titles ===== */
.title-2,
.title,
.title-4 {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
    /*writing-mode: vertical-rl;*/
}

.text-2-2,
.text-10,
.text-2-1,
.text-33 {
    font-size: var(--font-size-m);
    font-weight: 500;
    color: var(--black);
    margin: 0;
}

.title_copy,
.title_copy-1,
.title_copy-2,
.title_copy-3,
.title_copy-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.text-3,
.text-4,
.text-11,
.text-12,
.text-21,
.text-22,
.text-26,
.text-27,
.text-34,
.text-35 {
    font-size: var(--font-size-xxl);
    font-weight: 500;
    color: var(--black);
    margin: 0;
    line-height: 1.2;
}

/* ===== Section Content ===== */
.text {
    max-width: 800px;
    margin: 0 auto 40px;
}

.text-5,
.text_label,
.text-23,
.text-28,
.name-1 {
    margin-bottom: 30px;
    line-height: 1.8;
}

/* ===== Buttons ===== */
.btn-more,
.btn-more-view {
    text-align: center;
    margin: 1em 0 0;
}

.btn-more a,
.btn-more-view a {
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    padding-right: 60px;
    font-family: 'Zen Old Mincho', serif;
    font-size: var(--font-size-m);
    font-weight: 500;
    color: var(--black);
    text-decoration: none;
}

.btn-more a:hover,
.btn-more-view a:hover {
    transform: translateX(5px);
}

.btn-more a:after,
.btn-more-view a:after {
    content: "";
    height: 1px;
    width: 50px;
    background: #000;
    position: absolute;
    right: 0;
    top: 50%;
}


/* ===== Image Elements ===== */
.image-2,
.rectangle-1,
.chat-gpt-image-2025820-10_30_22-1 {
    max-width: 100%;
    height: auto;
    margin: 0;
    display: block;
}


/* 特定の画像の配置調整 */
.rectangle-1 {
    margin-top: 20px;
}

.chat-gpt-image-2025820-10_30_22-1 {
    margin: 20px auto;
}

.image-4 {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.rectangle {
    max-width: 200px;
    height: auto;
}

/* ===== Slide Wraps ===== */
.slide-wrap,
.slide-wrap-1 {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 70px 0;
    flex-wrap: wrap;
}

.item,
.item-1 {
    text-align: center;
    max-width: 250px;
}

.image-3,
.image,
.image-1 {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.details-2,
.details-1 {
    text-align: center;
}

.text-2 {
    margin-bottom: 8px;
}

/* ===== Brand List ===== */
.brand_list {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 70px 0;
    flex-wrap: wrap;
}

.brand_name {
    text-align: center;
    max-width: 200px;
}

.rectangle-5,
.rectangle-5-1 {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    object-fit: cover;
}


/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

/* main-img アニメーション */
@keyframes copyFloatIn {

    /* 開始: 非表示状態 */
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    /* 出現: 拡大しながら浮かび上がる */
    65% {
        opacity: 1;
        transform: scale(1);
    }

    75% {
        opacity: 1;
        transform: scale(1);
    }

    /* 下に移動 */
    100% {
        opacity: 1;
        transform: scale(1) translateY(20px);
    }
}

@keyframes blackBackgroundFadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes mainImgFadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* ===== Responsive Design ===== */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --section-padding: 40px;
    }

    .header-container {
        padding: 0 15px;
    }

    .section-container {
        padding: 0 15px;
    }

    .title-1 {
        font-size: 36px;
    }

    .text-1-2 {
        font-size: 32px;
    }

    .slide-wrap,
    .slide-wrap-1 {
        gap: 20px;
    }

    .brand_list {
        gap: 30px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 30px;
    }

    .hamburger-menu {
        display: flex;
    }

    .header-container {
        padding: 0 15px;
    }

    .section-container {
        padding: 0 15px;
    }

    .main-img {
        height: 70vh;
        min-height: 500px;
    }

    .title-1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .text-1-2 {
        font-size: 24px;
    }

    /* モバイルでのタイトルレイアウト調整 */
    .title-2,
    .title,
    .title-4 {
        gap: 20px;
    }

    .title_copy,
    .title_copy-1,
    .title_copy-2,
    .title_copy-3,
    .title_copy-4 {
        font-size: 20px;
        gap: 8px;
    }

    .text-3,
    .text-4,
    .text-11,
    .text-12,
    .text-21,
    .text-22,
    .text-26,
    .text-27,
    .text-34,
    .text-35 {
        font-size: 20px;
    }

    .slide-wrap,
    .slide-wrap-1 {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .item,
    .item-1 {
        max-width: 100%;
    }

    .image-4 {
        flex-direction: column;
        align-items: center;
    }

    .brand_list {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .footer_nav {
        grid-template-columns: 1fr;
    }

    .asano_woman_line_art_v2-1 {
        margin: 40px auto;
    }
}

/* ===== Print Styles ===== */
@media print {

    .header,
    .hamburger-menu,
    .mobile-nav {
        display: none;
    }

    .desktop {
        margin-top: 0;
    }

    .main-img {
        height: auto;
        min-height: auto;
    }
}

/*変更
************************************************************************************/
#products,
#works {
    background: #F9F9F9;
}

.titleBox {
    margin-bottom: 40px;
    width: 100%;
    display: flex;
}

.titleBox.center {
    justify-content: center;
}

.titleBox .title_inner {
    font-family: var(--font-family-zen_old_mincho);
    display: flex;
    gap: 30px;
}

.titleBox .contents_name {
    font-size: var(--font-size-m);
    font-weight: 500;
    color: var(--black);
    margin: 0;
}

.titleBox .contents_copy {
    font-size: var(--font-size-xxl);
    font-weight: 500;
    color: var(--black);
    margin: 0;
    line-height: 1.2;
}

.titleBox.white .contents_name,
.titleBox.white .contents_copy {
    color: #FFF !important;
}

.titleBox .title_image {
    margin-left: auto;
}

.titleBox .title_image img {
    max-height: 250px;
    width: auto;
}

@media screen and (max-width: 768px) {
    .titleBox {
        display: block;
        justify-content: center;
    }

    .titleBox .title_inner {
        justify-content: center;
        margin-bottom: 40px;
    }

    .titleBox .title_image {
        margin: 40px auto 0;
        text-align: center;
    }

    .titleBox .title_image img {
        max-height: auto;
        width: auto;
        max-width: 80%;
        height: auto;
    }
}

.swiper-wrapper a {
    text-decoration: none;
}

.swiper-wrapper .image {
    overflow: hidden;
    color: #FFF;
    position: relative;
    margin-bottom: 20px;
}

.swiper-wrapper .image:before {
    content: "";
    display: block;
    padding-top: 68%;
}

.swiper-wrapper .image img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.swiper-wrapper .image .nologo {
    display: block;
    text-align: center;
    width: 100%;
    z-index: 100;
    color: #000;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: var(--font-size-l);
    font-family: var(--font-family-zen_old_mincho);
    font-weight: bold;
}

.swiper-slide {
    background: #FFF;
}

.swiper-slide a {
    color: #000;
    text-decoration: none;
}

.item-card__info {
    padding: 1em;
}

#works .item-card__info,
#brands .item-card__info {
    text-align: center;
}

#brands .item-card__info {
    font-size: var(--font-size-s);
}

.item-card__brand {
    font-family: 'Zen Old Mincho', serif;
    font-size: 14px;
    display: inline-block;
    margin-right: 1em;
}

.item-card__category {
    font-family: 'Zen Old Mincho', serif;
    font-size: 14px;
    padding: 2px 5px;
    border: 1px solid #ccc;
    display: inline-block;
}

.item-card__name {
    font-weight: 400;
}

.swiper {
    padding: 0 60px;
}

.swiper-wrapper {
    padding: 0 0 50px;
    /*overflow: hidden;*/
}

.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: var(--swiper-navigation-top-offset, 50%);
    width: calc(var(--swiper-navigation-size)/ 44 * 27);
    height: var(--swiper-navigation-size);
    margin-top: calc(0px - (var(--swiper-navigation-size)/ 2));
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--swiper-navigation-color, var(--swiper-theme-color));
    color: #000;
}

.swiper-pagination-bullet-active {
    opacity: var(--swiper-pagination-bullet-opacity, 1);
    background: var(--swiper-pagination-color, var(--swiper-theme-color));
    background: #000;
}

.swiper-button-prev,
.swiper-rtl .swiper-button-next {
    left: var(--swiper-navigation-sides-offset, 10px);
    right: auto;
}

.swiper-button-next,
.swiper-rtl .swiper-button-prev {
    right: var(--swiper-navigation-sides-offset, 10px);
    left: auto;
}


/*toppage
************************************************************************************/
.instagram{
    padding: 40px 0;
    text-align: center;
}
/* Gray Background Wrapper */
.gray-background {
    background-color: #f1f1f1;
    padding: 50px 0;
}

/* News Topics Section */
.news-topics-section {
    max-width: 1150px;
    margin-inline: auto;
}

.news-topics-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.news-topics-title {
    text-align: center;
}

ul.news-list li a {
    color: #000;
}

/* Column Section */
.column-section {
    text-align: center;
    padding: 40px 0;
    /* 上下のpadding */
    overflow: hidden;
    /* カルーセルがはみ出ないように */
}

.column-card {
    text-align: center;
    height: 100%;
    /* 高さを揃える */
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background: #FFF;
}

.column-card .image {
    border: 1px solid #ccc;
    aspect-ratio: 1 / 1;
    margin: 0;
    overflow: hidden;
}

.column-card .image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin: auto;
    display: block;
}

.column-card__info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.column-card__info time {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.column-card__info h3 {
    margin-bottom: 15px;
    flex-grow: 1;
}

.column-card__info a {
    color: #555;
}

.section-footer {
    margin-top: 40px;
}