@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP');
body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #323538;
    overflow-x: hidden;
    max-width: 100vw;
}

/* .header-top img {
    object-fit: cover;
    height: 150px;
} */

.l-container {
    /* max-width: auto; */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 30px 16px 15px;
}
/*ヘッダー*/
header {
    position:absolute;
    z-index: 2;
    width: 100%;
    color: #f9f9f9;
}

header .container {
    width: 100%;
    max-width: auto;
    /* margin: 0 auto; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

header .sticky {
    position: fixed;
    width: 100%;
    max-width: 1960px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 65px;
    background-color: #ffffff;
    color:#323538;
    z-index: 100;
    transition: .6s;
}

@media (max-width: 768px) {
    header .sticky {
        position: fixed;
        width: 100%;
        max-width: 1960px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 15px;
        background-color: #ffffff;
        color:#323538;
        z-index: 100;
        transition: .6s;
    }
}

header .logo {
    /* font-size: 24px;
    font-weight: 500;
    margin-left: 30px; */
}

@media (max-width: 768px) {
    header .logo {
        font-size: initial;
        font-weight: initial;
        margin-left: initial;
    }
}

header .logo img {
    width: 160px;
    height: 55px;
    /* object-fit: cover; */
}

@media (max-width: 768px) {
    header .logo img {
        width: 150px;
    }
}

header ul {
    display: flex;  
    background-color: transparent;  
}

header li {
    margin-left: 48px;
    font-weight: 500;
}

header a {
    color: #323538;
    transition: .3s;
}

header ul li a:hover {
    color: #F0434C;
}

/*フッター*/
/* footer {
    background-color: #f9f9f9;
    font-size: 10px;
    text-align: center;
    padding: 16px 0;
} */

/* フッター全体 */
footer {
    background-color: #ffffff;
    padding: 40px 20px;
    font-size: 14px;
}

/* コンテナ */
footer .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap; /* 要素が収まりきらない場合、折り返す */
    justify-content: space-between; /* 横に均等配置 */
    align-items: center; /* 縦方向のセンタリング */
}

/* ロゴとキャッチフレーズ */
.footer-logo {
    flex: 1; /* レイアウト比率 */
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-logo img {
    height: 55px;
    width: 165px;
    /* object-fit: cover; */
    /* margin-left: 70px; */
}


@media (max-width: 768px) {
    .footer-logo img {
        /* margin-left: 20px; */
    }
}


.footer-logo p {
    font-size: 16px;
    font-weight: bold;
}

/* ナビゲーションリンク */
.footer-nav {
    flex: 2;
    text-align: center; /* 真ん中に配置 */
}
.footer-nav a {
    margin: 0 15px;
    color: black;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap; /* 長いリンクが折り返されないようにする */
}
.footer-nav a:hover {
    color: #F0434C; /* リンクホバー時の色変更 */
}

/* SNSアイコン */
.footer-sns {
    flex: 1;
    display: flex;
    gap: 10px;
}
.footer-sns a {
    display: inline-block;
    color: black;
}
.footer-sns img {
    height: 24px;
    transition: opacity 0.3s;
}
.footer-sns img:hover {
    opacity: 0.7;
}

/* 著作権表示とリンク */
.footer-bottom {
    width: 100%; /* ボトムエリアは全幅にする */
    border-top: 1px solid black;
    padding-top: 20px;
    margin-top: 20px;
    text-align: center; /* 中央揃え */
}
.footer-bottom p {
    color: black;
    margin: 10px 0;
}
.footer-bottom a {
    color: black;
    text-decoration: none;
    margin: 0 5px;
}
.footer-bottom a:hover {
    color: #F0434C;
}

@media (max-width: 768px) {
    footer .container {
        flex-direction: column;
        align-items: center;
    }

    footer .footer-nav {
        display: none;
        justify-content: center;
        margin: 10px 0;
    }

    footer .footer-sns {
        margin: 10px 0;
    }

    footer .footer-bottom {
        margin: 10px 0;
    }
}

/*共通*/
.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .container {
        margin-top: 20px;
    }

}



.section {
    padding:100px 0 0 0;
}

.en {
    font-size: 40px;
    font-weight: 500;
    color:#F0434C;
    margin-bottom: 30px;
}
.privacy-en {
    font-size: 30px;
    font-weight: 500;
    color:#F0434C;
    margin-bottom: 30px;
}

.text {
    font-size: 14px;
    line-height: 2;
}


.button {
    display: inline-block;
    border:solid 1px #eeeeee;
    background-color: #ffffff;
    padding: 16px 40px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    transition: .3s;
}

.button:hover {
    border-color:#F0434C;
}

.row {
    display: flex;
    justify-content: space-between;
}

/*メインビジュアル*/
#main-visual {
    position: relative;
    height: 90vh;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    overflow: hidden;
}

#main-visual video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

@media (max-width: 768px) {
    #main-visual {
        overflow: hidden;
        
      }
    
      #main-visual video {
        object-fit: cover;
        object-position: 85% center;
        width: 100%;
        height: 100%;
        /* transform: translateX(15%);  */
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
      }
}

@media (max-width: 375px) {
    #main-visual video {
      object-position: 87% center;
    }
  }
  
  @media (min-width: 376px) and (max-width: 430px) {
    #main-visual video {
      object-position: 85% center;
    }
  }
  
  @media (min-width: 431px) {
    #main-visual video {
      object-position: 90% center;
    }
  }

#main-visual .box {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    color: #ffffff;
    opacity: 0; /* ← 最初は非表示 */
    transition: opacity 1.2s ease;
}

#main-visual .box.show {
    opacity: 1; /* フェードイン */
}

#main-visual .box.hide {
    opacity: 0; /* フェードアウト */
}

@media (max-width: 768px) {
   
}


/* #main-visual .heading.show {
    opacity: 1;
    transform: translateY(0);
} */

#main-visual .heading {
    font-style: italic;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #323538;
    /* opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out; */
}


#main-visual h1 {
    font-style: italic;
    color: #323538;
    font-size: 38px;
    font-weight: 700;
}

#main-visual .mainvisual-p {
    font-style: italic;
    color: #323538;
    font-size: 38px;
    font-weight: 700;
    margin-top: 20px;
}

@media (max-width: 768px) {
    #main-visual .mainvisual-p {
        font-style: italic;
        color: #323538;
        font-size: 18px;
        font-weight: 700;
        margin-top: 20px;
    }
}

#top-about {
    position: relative;
    overflow: hidden;
}
/* #top-about::before {
    content:'MARKETING';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    font-size: 260px;
    letter-spacing: -6px;
    color:#f9f9f9;
    font-weight: 900;
    z-index: -1;
} */

#top-about h2{
    font-size: 30px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 40px;
}


#top-about .text {
    font-size: 16px;
    margin-bottom: 40px;
}

#privacy {
    position: relative;
    overflow: hidden;
}

#privacy h2{
    font-size: 30px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 40px;
}

#privacy .text {
    font-size: 16px;
    margin-bottom: 40px;
}

#top-service {
    background-color: #f4f4f4;
    /* background-color: #F0434C; */
    border-radius: 20px;
    color: #ffffff;
}

/* #top-service h2 {
    color: #323538;
} */

#top-service .text {
    color: #323538;
    margin-bottom: 60px;
}

#top-service .row {
    margin-bottom: 30px;
}
#top-service .col {
    width: 28%;
    /* background-color: #F0434C; */
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
}
/* #top-service img {
    height: 450px;
    border-radius: 16px;
    margin-bottom: 20px;
} */

.arrow-icon {
    position: absolute;
    bottom: 10px; /* 画像の下部に配置 */
    right: 10px; /* 画像の右端に配置 */
    width: 20px;
    height: 20px;
    border-top: 3px solid white;
    border-right: 3px solid white;
    transform: rotate(45deg); /* 右矢印の形にする */
    transition: transform 0.3s ease;
}

.image-container:hover .arrow-icon {
    transform: rotate(45deg) translate(5px, 0); /* ホバー時に右へ移動 */
}


.col .icon-arrow-circle-01 {
    z-index: 1;
    bottom: 10px; /* 画像の下部に配置 */
    right: 10px; /* 画像の右端に配置 */
    width: 4rem;
    height: 4rem;
    border: 1px solid #ffffff;
    border-radius: 100%;
    position: absolute;

}

/* .col .icon-arrow-circle-01 {
    position: absolute;
    right: var(--s3);
    bottom: var(--s3);
    z-index: 1;
} */

.icon-arrow-circle-01::before {
    content: "";
    width: 20px;
    height: 15px;
    background: url(/assets/images/top/arrow-01-white-right.svg) no-repeat center / 100% auto;
    position: absolute;
    top: 40%;
    right: 35%;
    opacity: 1; /* 初期状態は非表示 */
    transform-origin: center;
    transition: none; /* アニメーションがない通常状態 */
}

.zoom:hover .icon-arrow-circle-01::before {
    animation: scrollDisappearReappear 1s linear 1; /* 1回だけアニメーションを実行 */
}

/* アニメーション定義 */
@keyframes scrollDisappearReappear {
    0% {
        left: 0; /* 初期位置（左端） */
        opacity: 1; /* 表示状態 */
    }
    50% {
        left: 50px; /* 右外側に移動 */
        opacity: 0; /* 非表示になる */
    }
    51% {
        left: 0; /* 左外側に戻る準備 */
        opacity: 0; /* 非表示のまま */
    }
    100% {
        left: 20px; /* 再び左端に戻る */
        opacity: 1; /* 表示状態 */
    }
}


.image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px; /* 画像の角を丸くする */
}

.image-container img {
    width: 100%;
    height: 400px;
    display: block;
    border-radius: 10px; /* 角を丸くする */
}

.overlay-content {
    width: 80%;
    position: absolute;
    top: 10px; /* 画像の上部に配置 */
    left: 50%;
    transform: translateX(-50%); /* 水平中央揃え */
    text-align: center;
    color: white;
    margin: 0;
}

.overlay-content .pop {
    color: white;
    font-size: 30px;
}

.zoom {
    transition: transform 0.3s ease;
}

.zoom:hover {
    transform: scale(1.1); /* 拡大倍率 */
}


.overlay-content h2 {
    /* color: #323538; */
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 5px; /* 下に少し余白を追加 */
    /* text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7); */
}

.overlay-content p {
    color: white;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 150px;
    /* text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);  */
}

.image-title {
    position: absolute;
    top: 10px; /* 画像の上部に配置 */
    left: 50%;
    transform: translateX(-50%); /* 水平中央揃え */
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7); /* 文字の視認性を高める影 */
    margin: 0;
}

#top-service h3 {
    font-weight: 500;
    margin-bottom: 16px;
}
#top-service .text2 {
    font-size: 13px;
    text-align: left;
    line-height: 1.6;
}

#top-service .button_box {
    text-align: center;
    color: #323538;
}

#top-works {
    background-color: #f9f9f9;
}
#top-works h2 {
    font-size: 30px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 40px;
}

#top-works .text {
    font-size: 13px;
    margin-bottom: 40px;
}

#top-works .row {
    align-items: center;
}

#top-works .col {
    width: 48%;
}

#top-works img {
    border-radius: 16px;
}

#top-contact h2 {
    font-size: 30px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 40px;
}

#top-contact .text {
    font-size: 13px;
    margin-bottom: 40px;
}

#top-contact .row {
    align-items: center;
}

#top-contact .col {
    width: 48%;
}

#top-contact img {
    border-radius: 16px;
}

/* .en-news {
    font-size: 40px;
    font-weight: 500;
    color:#156ac9;
} */

#top-news .news-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    /* display: flex;
    justify-content: space-between;
    flex-wrap: wrap; */
}

/* #top-news .news-container .news-col:first-child {
    width: 40%;
}

#top-news .news-container .news-col:last-child {
    width: 56%;
} */

#top-news .news-container .news-col h2 {
    font-size: 40px;
    font-weight: 500;
    color:#F0434C;
}

#top-news .news-container .news-col .news-heading {
    font-size: 14px;
    font-weight: 400;
}

#top-news .news-container .news-col  li {
    border-bottom: solid 1px lightgray;
    font-size: 15px;
}

#top-news .news-container .news-col li a {
    padding: 20px 0;
}

#top-news .news-container .news-col li span {
    font-weight: 500;
    display: block;
    margin-bottom: 10px;
}

.container .company-col{
    margin-bottom: 40px;
}

.container .company-col h2 {
    font-size: 40px;
    font-weight: 500;
    color:#F0434C;
}

.container .company-col .company-heading {
    font-size: 14px;
    font-weight: 400;
}

@media screen and (max-width: 767px) {
    header {
        position:fixed;
        background-color: #ffffff;
    }
    header nav {
        display: none;
    }
    #main-visual .box {
        left: 6%;
    }
    #main-visual .heading {
        font-size: 16px;
    }
    #main-visual h1 {
        font-size: 18px;
    }
    #top-about::before {
        font-size: 80px;
    }
    #top-about h2 {
        font-size: 18px;
    }
    .en {
        font-size:30px;
    }
    .section {
        padding: 30px 0;
    }
    .row {
        flex-wrap: wrap;
    }
    .col {
        width: 100% !important;
    }
    #top-service .row {
        gap: 20px 0;
    }
    #top-works h2 {
        font-size: 20px;
    }
    #top-works .row {
        gap: 30px 0;
    }
    #top-contact h2 {
        font-size: 20px;
    }
    #top-contact .row {
        gap: 30px 0;
        flex-direction: column-reverse;
    } 
}

@media only screen and (min-width: 961px) {
    header .sticky {
        position: fixed;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 30px 16px 15px;
        background-color: #ffffff;
        color:#323538;
        z-index: 100;
        transition: .6s;
    }
    /* #top-news .news-container {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    #top-news .news-container .news-col:first-child {
        width: 40%;
    }
    
    #top-news .news-container .news-col:last-child {
        width: 56%;
    } */
}

/*=========================================
#hamburger
=========================================*/
.hamburger {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 150;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.hamburger.is-active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(135deg);
}

.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-135deg);
}

.hamburger span {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 2px;
    background-color: #333333;
    transition: transform .3s;
}

.hamburger.is-active span {
    background-color: #333333;
}

.hamburger span:nth-child(1) {
    top: 30%;
}

.hamburger span:nth-child(2) {
    top: 60%;
}

.hamburger span:nth-child(3) {
    top: 90%;
}

/*=========================================
#drawer
=========================================*/
.drawer {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 130;
    width: 100%;
    height: 100vh;
    background-color: #f9f9f9;
    transition: opacity .3s, visibility .3s;
}

.drawer.is-active {
    visibility: visible;
    opacity: 1;
}

.drawer-inner {
    /* display: flex; */
    justify-content: center;
    align-items: center;
    height: 100%;
    /* padding: 0 20px; */
}

.drawer__list {
    display: flex;
    flex-direction: column;
    margin-top: 50px;
}

.drawer__list li {
    font-size: 20px;
    margin-left: 50px;
    margin-bottom: 30px;
}


.drawer__list li a {
    /* font-size: 20px; */
    margin-top: 10px;
}

.drawer__link {
    color: black;
}

.sp_nav {
    margin: 16px 15px;
}
.sp_logo_img{
    margin-top: 10px;
    width: 150px;
}


/* スマートフォンのみ表示 */
.sp-show {
    display: none;
}

@media (max-width: 768px) {
    .sp-show {
        display: block;
    }
}


#company dl {
    display: flex;
    flex-wrap: wrap;
    /* font-size: 24px; */
}

#company dt {
    width: 15%;
    font-weight: bold;
    padding: 15px 0px;
    border-bottom: 1px solid #F0434C;
}

#company dd {
    width: 85%;
    padding: 15px 0px 15px 80px;
    border-bottom: 1px solid #ccc;
    word-wrap: break-word;
    letter-spacing: 3px;
}

/* .underline {
    text-decoration: underline;
} */